mhonarc-users

-otherindexes

1999-03-06 15:13:23
Hi folks;

Sorry for another newbie question regarding "-otherindexes"...but I have
read the archives and tried everything else I could think of....with no luck.

So here goes...

MHonArc2.3.3
BSDI/Apache
Perl 5.004_04 built for i386-bsdos

My problem seems to be this...at the command line I do the following..

perl5 mha-dbedit -rcfile date.mrc -otherindexes date.mrc -outdir
/usr/home/d2earth/usr/local/etc/httpd/htdocs/lists/sols-webware

Running the above seems to work correctly and the new information is
appended to the ".mhonarc.db" file in the "archive" directory....as shown
below;

@OtherIdxs=(
'date.mrc',
);

$DAYBEG='<tr><td colspan=4><strong>$MSGLOCALDATE$</strong></td></tr>
';
$DAYEND='
';
$IDXNAME='maillist.html';
$IDXPREFIX='mail';
$LIBEG='<UL>
<LI><A HREF="$TIDXFNAME$">Thread Index</A></LI>
</UL>
<HR>
<table border=0>
';
$LIEND='</table>
';
$LITMPL='<tr valign=top>
<td>$MSGLOCALDATE(CUR;%H:%M)$</td>
<td><b>$SUBJECT$</b></td>
<td>$FROMNAME$</td>
<td>$NOTE$</td>
</tr>
';

"date.mrc" is the "sample" resource file that comes with MHonarc.

Now once I tell MHonarc to "upadate" the archive, all this information is
lost...or never accepted...no new "index" pages are created...and the 
".mhonarc.db" no longer has the new information in it.

Sorry if this has been covered somewhere...but I'm stuck in a loop here:)

Thanks for any and all help.

        best regards 
                            -michael

Michael Chopek  <japh(_at_)d2earth(_dot_)com>
Down to Earth Development Ltd - http://www.d2earth.com/
Website & Web Applications Development
Extropia Developers Network  - http://www.extropia.com/

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