When I was working on this, for TinyList I decided to do it the simple
way. TLpost.py checks to see if the file (listname).archive exists. If
it does, it APPENDS the message to the file. Simple. Another script
creates a menu of available archives. CLick a name, up comes a third
script that reads the file and turns it into a web page.
Another way would be a simple ssi include of the file in a html page.
This means creating a page for each such archive, and offering it in a
menu page, more manual work, but it's doable. To to this way in
majordomo, create the alias (listname)-archive and it should feed to the
declared file, '(listname).archive'. This alias should append the
message to the file. The associated html page must preserve layout, and
the <pre> tag is the simple solution. Alas, some clients send a
paragraph all on one line, depending on the receiving client to word
wrap it. The solution is to do the ssi include inside a FORM, in a text
area, with wordwrap set to hard. THE FORM HAS NO ACTION OR SUBMIT
BUTTON, the only element is the textarea.
Of course, all fo this is done for you by TL with a few scripts. Would
you like to see the result?
The only drawback is that this approach is not confidential, it's all
RIGHT THERE ON DISPLAY and all the world can read it, email addresses
included. AS it is not possible in advance to know what one may want to
go back and check at a later time, it is neccarry to store everything,
and so it does. Supressing email address display is a thought, but it
would increase server burden A LOT to sort through the file each time it
is accessed, if the archives.are popular.
Miles Fidelman wrote:
> On Mon, 20 Jan 2003, Bob Bish wrote:
>>and/or how can a web archive be created for majordomo lists?
> check out Wilma (ftp://ftp.hpc.uh.edu/pub/wilma/wilma.tgz) - it's a
> collection of perl cgi scripts that glue together MhonArc (formats email
> into HTML), Glimpse (a search engine) and some GUI code - putting it all
> into a nice, easy to install, friendly to use archive tool
Kirk D Bailey
"Thou Art Free." - Eris