mharc-users

Re: mharc on Windows

2002-08-20 11:05:01
--- Greg Matheson <lang(_at_)ms(_dot_)chinmin(_dot_)edu(_dot_)tw> wrote:
This is pretty impressive. It even returns search results a lot
of the time in the javascript-less lynx!

The first search should work, but if you try a new search from the
results page, it will not since some Javascript is used to maintain
some state.

I have a working idea on how the use of javascript can be removed,
but I need to try it out still.  Life would be easier if namazu provided a
template variable for the index name.  I brought this up on the namazu
list quite awhile ago.  I've looked into patching namazu myself, but the
code structure for processing namazue templates requires more work
to support the indexname than should be.

Now to see if I can get some perl scripts to take the place of
procmail :-)

You technically can replace the procmail piece.  Procmail is mainly
used to do the filtering into the raw archives.  The web-archive script
does all the HTML archiving work.

A potential starting point is to look into the mh-month-pack and
mbox-month-pack
scripts.  These were designed to import existing mail for a single list
into the
raw archives.

Note, one really useful program that comes with Procmail is the lockfile
program
for doing semephore-type operations.  If you remove the procmail piece, you
still
need to be careful about synchronization when updating the raw mail
archives.
MHonArc still does its own archive locking (MHArc sets the LOCKMETHOD to
"flock" btw) when updating the HTML archives.

Depending on the properties of your filesystem, you could write your
locking method,
but lockfile is quite robust.  A concern, mainly in the Unix world, is if
you are operating
over NFS, which is known to have reliability issues with file locking,
which I believe lockfile
tries to handle.  The issue around NFS can affect MHonArc's ability in
archive locking.
See the LOCKMETHOD resource doc page for more information.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

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