Hi all
Just converted my HyperMail setup to MHonArc, and I must say MHonArc is a
brilliant piece of work. Just a brief question: is there any public
repository of 'styles' (i.e. complete resource files) ? Would be useful. The
thing appended is a fairly minimalistic resource that I would like to
contribute (can be put in the distribution if interested). It is very simple,
and actually based on the example in the distribution's documentation.
Incidentally, is there a way to set 'custom resources' ? I manage a number of
mailing lists, each with there own name and home page, which I like to
include in the lay-out. I solved it by using the C-preprocessor, but maybe
there are cleverer ways. Anyway, regards,
Philip
<!-- MHonArc resource file
$Id: mhonarc-template.mrc,v 1.3 1999/07/01 12:03:59 lijnzaad Exp lijnzaad $
This is a resource file for the MHonArc mailing list archiver. It was
adapted from the example file listed in MHonArc's doc/resources/rcfile.html
documentation. See there for more info. Usually you only have to change
where there is CHANGE-comment; replace the strings LIST_NAME and
ABOUT_URL with something suitable. A nifty way of doing this is to use
/lib/cpp -P -DABOUT_URL=http://abc -DLIST_NAME=xyz thisfile > rcfile.mrc
Philip lijnzaad(_at_)ebi(_dot_)ac(_dot_)uk, 1 July 99.
-->
<SORT>
<TITLE>
LIST_NAME by date
</TITLE>
<TTITLE>
LIST_NAME by thread
</TTITLE>
<!--=== Thread Index Page Customizations ==================================-->
<THEAD>
<p>
<address>
$NUMOFMSG$ messages. Last updated: $LOCALDATE$<br>
</address>
<p>
<strong>
<a href="$IDXFNAME$">index by date</a>
<a href=ABOUT_URL>about LIST_NAME</a>
</strong>
<p>
<hr>
<ul>
</THEAD>
<TFOOT>
</ul>
<p> <hr>
<strong>
<a href="$IDXFNAME$">index by date</a>
<a href=ABOUT_URL>about LIST_NAME</a>
</strong>
<p>
</TFOOT>
<!--=== Index Page Customizations =========================================-->
<LISTBEGIN>
<p>
<address>
$NUMOFMSG$ messages. Last updated: $LOCALDATE$<br>
</address>
<p>
<strong>
<a href="$TIDXFNAME$">index by thread</a>
<a href=ABOUT_URL>about LIST_NAME</a>
</strong>
<p>
<hr>
<ul>
</LISTBEGIN> <!-- /listbegin and the following ul used to be transposed, PL -->
<LITEMPLATE>
<li>
<strong>$SUBJECT:40$</strong> <!-- ($NUMFOLUP$) --> <em>$FROMNAME$</em><br>
</li>
</LITEMPLATE>
<LISTEND>
</ul> <!-- /ul and the following LISTEND used to be transposed, PL -->
<p> <hr>
<strong>
<a href="$TIDXFNAME$">index by thread</a>
<a href=ABOUT_URL>about LIST_NAME</a>
</strong>
<p>
</LISTEND>
<!--=== Message Customizations ============================================-->
<!-- the buttons: -->
<!-- active: -->
<TPREVBUTTON chop>
[ <A HREF="$MSG(TPREV)$">prev in thread</A> ]
</TPREVBUTTON>
<TNEXTBUTTON chop>
[ <A HREF="$MSG(TNEXT)$">next in thread</A> ]
</TNEXTBUTTON>
<!-- inactive: -->
<TPREVBUTTONIA chop>
[ no prev in thread ]
</TPREVBUTTONIA>
<TNEXTBUTTONIA chop>
[ no next in thread ]
</TNEXTBUTTONIA>
<!-- same for the by date buttons: -->
<PREVBUTTON chop>
[ <A HREF="$MSG(PREV)$">prev by date</A> ]
</PREVBUTTON>
<NEXTBUTTON chop>
[ <A HREF="$MSG(NEXT)$">next by date</A> ]
</NEXTBUTTON>
<PREVBUTTONIA chop>
[ no prev by date ]
</PREVBUTTONIA>
<NEXTBUTTONIA chop>
[ no next by date ]
</NEXTBUTTONIA>
<!-- finally, give layout of these buttons for each message: -->
<TOPLINKS>
<HR>
$BUTTON(TPREV)$ $BUTTON(TNEXT)$
$BUTTON(PREV)$ $BUTTON(NEXT)$
[ <A HREF="$TIDXFNAME$#$MSGNUM$">index by thread</A> ]
[ <A HREF="$IDXFNAME$#$MSGNUM$">index by date</A> ]
[ <A HREF=ABOUT_URL>about</A> ]
<HR>
</TOPLINKS>
<BOTLINKS>
$BUTTON(TPREV)$ $BUTTON(TNEXT)$
$BUTTON(PREV)$ $BUTTON(NEXT)$
[ <A HREF="$TIDXFNAME$#$MSGNUM$">index by thread</A> ]
[ <A HREF="$IDXFNAME$#$MSGNUM$">index by date</A> ]
[ <A HREF=ABOUT_URL>about</A> ]
</BOTLINKS>
<!-- exclude following headers: -->
<EXCS override>
apparently
errors-to
followup
forward
lines
message-id
mime-
nntp-
originator
path
precedence
received
replied
return-path
status
via
x-
to
sender
content-
subject
</EXCS>
<LABELSTYLES>
-default-
from:strong
</LABELSTYLES>
<FIELDSTYLES>
-default-
subject:strong
from:strong
to:strong
keywords:em
newsgroups:strong
</FIELDSTYLES>
<FIELDORDER>
from
date
-extra-
</FIELDORDER>
<MSGHEAD override>
<!-- empty -->
</MSGHEAD>
<MSGFOOT override>
<!-- empty -->
</MSGFOOT>
--
DISARRAY ('dis-u-Ræ) n. Data structure that looks like an array, but isn't.
-----------------------------------------------------------------------------
Philip Lijnzaad, lijnzaad(_at_)ebi(_dot_)ac(_dot_)uk | European Bioinformatics
Institute
+44 (0)1223 49 4639 | Wellcome Trust Genome Campus, Hinxton
+44 (0)1223 49 4468 (fax) | Cambridgeshire CB10 1SD, GREAT BRITAIN
PGP fingerprint: E1 03 BF 80 94 61 B6 FC 50 3D 1F 64 40 75 FB 53