http-emacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Http-emacs-dev] Re: simple wiki


From: David Hansen
Subject: [Http-emacs-dev] Re: simple wiki
Date: Mon, 22 Nov 2004 05:13:22 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Sun, 21 Nov 2004 16:02:05 -0500 D. Goel wrote:

> Following my note to you on emacswiki, i have gone ahead and
> reintroduced swc-additional-headers.
>
> I have verified that this alteration has caused no change at all for
> normal wikis like emacswiki, etc, so both http-get and http-post for
> the "regular simple-wiki" remains unaffected.
>
> but now i can also access passwd protected wikis:

You /should/ be able to do this via the URL to:

(add-to-list 
 'swd-wiki-defs-list
 '("ew"
   "http://www.emacswiki.org/cgi-bin/wiki";
   "?action=browse&pwd=SECRET&raw=2&id="    ; <- note the pwd=
   "?action=index&raw=1"
   "?action=rc&raw=1"
   1.1
   swd-usemod-wiki-save
   utf-8))

The login/username is in the post request (Oddmuse doesn't care
if its GET or POST or mixed).

> However, the http-post is not working correctly with this test wiki as
> of yet, as you can verify, (when you try to http-post to a
> passwd-wiki, the page goes blank) and I/we can continue to debug it.

I have a problem when editing BannedContent on the emacswiki.  I
know it did worked once when the list was still small.  I haven't
investigated yet if something changed in the wiki perl script or
if http-post has problems with huge POSTs.

Anyway, url.el is now part of GNU Emacs (at least in CVS, and (i
hope) 21.4 is released 'soon').

So maybe it's not a bad idea to switch to url.el.  We would get
everything "for free":  http, https, authentication, cookies, ...

I haven't done anything for simple-wiki the last month but i
would be glad if we can bring it once again back to life.

Some other thoughts i had:

- maybe we should have a look at
  http://www.emacswiki.org/cgi-bin/community/WikiGateway

  The concept sounds promising but i have no clue if the
  implementation is good.

- There's xml-rpc support for emacs (search on the wiki).  If we
  hack an abstract interface to support different ways to get the
  plain text from the wiki (and save it again) it should be
  possible to support a whole bunch of other wikis and blogging
  sites via xml-rpc.

Well just some ideas... :)  I'm willing to resume the work but
it's a bit boring to do it alone :)

Regards,

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]