mhonarc-users

Re: Weekly index

2001-08-16 18:36:58
On Thu, 16 Aug 2001 11:06:01 -0700 
Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu> wrote:

You have to use a preprocessing step that is outside of MHonArc.
Many use Procmail to determine which archive messages should go
and then a simple script is used to generate the "meta" index of
all the archives.

I do exactly this at Kanga.Nu via procmail recipes, cronjobs, and a
PHP index generator.  All except the procmail recipes can be found
here:

  ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/

In particular the following file does the automatic index
generation:

  ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/PHP/listroot.php

As seen (for instance) here:

  http://www.kanga.nu/archives/MUD-Dev-L/

My procmail recipes save to MH folders, so the make* scripts under
here:

  ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/scripts/

do the work of building the MHonArc archives off those MH folders,
and:

  ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/scripts/moveQuarters

is run via cron and does the symbolic link swizzling for the various
archiving periods (trivial to change for months, week, or other
periods)..

As for what it all looks like when running, see the various pages
under here:

  http://www.kanga.nu/archives/

With the cannonical example of:

  http://www.kanga.nu/archives/MUD-Dev-L/

If you use the PHP stuff you need PHP4 and the template supports
from PHPLIB.  The main reason for using the PHP aspects are that you
get the ability to reply to archives messages on the web.  

An example of a message, posted via the web-reply feature and then
archived by the above code:

  http://www.kanga.nu/archives/MUD-Dev-L/2001Q3/msg00745.php

-- 
J C Lawrence                                    )\._.,--....,'``.           
---------(*)                                   /,   _.. \   _\  ;`._ ,.
claw(_at_)kanga(_dot_)nu                                 
`._.-(,_..'--(,_..'`-.;.'
http://www.kanga.nu/~claw/                     Oh Freddled Gruntbuggly

<Prev in Thread] Current Thread [Next in Thread>