Nico, Nathan, everyone:

Thanks for your responses!

I realize my question was a little misleading, so I'll try to ask it
differently:

If you use Emacs to browse the web, do you ever fill out "forms" that
have a space for free form comments, sort of what I call web email? 
Those are HTML "textareas" and whatever you do to save those back to the
"web" is what I need to do to edit pages on TWiki (TWiki "pages" consist
of HTML "textareas" within TWiki HTML templates).

I'm trying to find an example and then try it out.

I found http://www.dlink.com/tech/contact/ -- if you look at the bottom
of the page in an ordinary browser you find "Description or Question" in
large bold face type, some other text, and then a large box to enter
your comments.  That is a textarea and what I want to be able to fill
out in Xemacs.  Unfortunately, when I loaded the page in Xemacs, I had a
lot of trouble trying to navigate to that box -- I don't think I ever
did.

My original question can then be phrased as, if I do manage to fill in
that box in Xemacs, what do I do afterward to tell Xemacs I'm done, and
it should "save" (send) the data back to the web?

And, now a new question, how do I navigate to that textarea and open it
for "editing" in Xemacs?  See
http://twiki.org/cgi-bin/view/Support/UsingEmacsToEditTwiki for a
description of how I was able to open a textarea for editing in TWiki,
but I realize this is a little different because TWiki has some CGI and
other magic which occurs before displaying the text box for editing.

PS: If you try to edit the TWiki page cited above, you will not be able
to until some damage that occurred on Friday, May 25, 2001, is fixed. 
(And, then you'd have to register, which is free and easy.)

Thanks,
Randy Kramer



Nico Krzebek wrote:
> 
> (X)Emacs is able to read & write remote files using FTP transparently. The
> only difference is how you enter the your file name. To access a file located
> on another machine (with running FTP server!)
>         /user@host:file
> eg. [EMAIL PROTECTED]:~/public_html/index.html
> You can even use tab completion! (X)Emacs will ask for your password after
> you pressed enter or used tab completion for the first time. It will be
> stored for the rest of your (X)Emacs session.
> 
> I'm not quite sure if you need to load any extra packages for that. The
> XEmacs and GNU-Emacs we have installed here do it all automagically but I've
> heard of a Ange-FTP package for GNU-Emacs. You might need that. You load
> additional packages with M-x load-library <Enter> and then type ange-ftp
> <Enter>.
> 
> Two issues I have not been able to resolve yet are: how to chmod remote files
> and how to use sftp instead of ftp...
> 
> Nico
> 
> On Monday 28 May 2001 22:05, you wrote:
> > Nathan,
> >
> > Thanks for the response.
> >
> > When twiki.org is back up (on SourceForge), I'll tell you how I've done
> > it using vim -- maybe that will give you a clue as to how I might do it
> > in EMACs.
> >
> > (And, if my library has the book, I'll check that out.)
> >
> > Randy Kramer
> >
> > Nathan Owens wrote:
> > > I don't know about emacs itself in terms of editing web pages, but
> > > when I edit web pages, I usually have to FTP them to the web server.
> > >
> > > In emacs, the save command is C-x C-s, as you said, but I've only
> > > saved files locally. You may want to check out the O'Reilly book
> > > _Learning GNU Emacs_. It has a lot of great tips that I've picked up
> > > through reading it.
> > >
> > > Nathan Owens
> > >
> > > >Anybody out there using EMACs to browse the web and edit "textareas"?
> > > >
> > > >I'm a very newbie to EMACs, but wanted to try that -- don't know what
> > > >to do to save my edits.  After I edit, I can choose save (I forget --
> > > >was it <ctrl>x, <ctrl>s?) but that seems to save only as a local
> > > >file.
> > > >
> > > >How do I send the changes back to the web site?
> > >
> > > --
> > > Nathan Owens
> > > Georgia Tech, Atlanta
> > > [EMAIL PROTECTED]
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to