Re: mhonarc config from leaf.dragonflybsd.org?

看板DFBSD_docs作者時間21年前 (2004/07/23 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
john slee wrote: > Hi, > > Would you be so kind as to share it? It's one of the nicest such > configs I've seen in quite some time. I had a poke through the cvsweb > interface looking for it, but didn't find it in there :-( Why, thank you. The layout references a number of styles used in http://www.dragonflybsd.org/cvsweb/site/data/stylesheet.css - they are in a separate "mailinglist" section inside that document. MHonArc config follows: <!-- http://www.mhonarc.org/MHonArc/doc/layout.html --> <!-- All the entries in this file describe aspects of --> <!-- what mhonarc does when adding/creating files to --> <!-- the archive. The above URL documents each feature --> <!-- pretty nicely. --> <!-- obfusticate email addresses --> <SPAMMODE> <!-- define listing entry format --> <DefineVar> MY-LISTING-LINK <tr><td class="mlsubject">$SUBJECT$</td> <td class="mlfrom">$FROMNAME$</td> <td class="mldate">$MSGGMTDATE(CUR;%d/%m/%Y %H:%M)$</td></tr> </DefineVar> <DefineVar> MY-FIRST-LISTING-LINK <tr><td class="mlfirstsubject">$SUBJECT$</td> <td class="mlfrom">$FROMNAME$</td> <td class="mldate">$MSGGMTDATE(CUR;%d/%m/%Y %H:%M)$</td></tr> </DefineVar> <DefineVar> MY-INDENT-LINK <tr><td class="mlindentsubject">$SUBJECT$</td> <td class="mlfrom">$FROMNAME$</td> <td class="mldate">$MSGGMTDATE(CUR;%d/%m/%Y %H:%M)$</td></tr> </DefineVar> <DefineVar> MY-CURRENT-LINK <tr><td class="mlsubject">$SUBJECTNA$</td> <td class="mlfrom">$FROMNAME$</td> <td class="mldate">$MSGGMTDATE(CUR;%d/%m/%Y %H:%M)$</td></tr> </DefineVar> <!-- thread entry --> <TLiTxt> $MY-INDENT-LINK$ </TLiTxt> <!-- override default <LI> on tliend --> <TLiEnd> </TLiEnd> <!-- format for pages not part of a thread --> <TSingleTxt> $MY-LISTING-LINK$ </TSingleTxt> <!-- first item in a thread --> <TTopBegin> $MY-FIRST-LISTING-LINK$ </TTopBegin> <!-- override default <LI> on ttopend --> <TTopEnd> </TTopEnd> <!-- override markup for subthread start and end --> <TSubListBeg> </TSubListBeg> <TSubListEnd> </TSubListEnd> <!-- markup for a referenced but missing entry --> <!-- could be something in a different newsgroup --> <!-- <TLiNone> <tr><td class="mlsubject">Message not available</td> <td class="mlfrom"> &nbsp; </td> <td class="mldate"> &nbsp; </td></tr> </TLiNone> --> <!-- leave blank for now; threads originating in other --> <!-- months will trigger blanks --> <TLiNone> </TLiNone> <!-- closing markup for missing entries --> <TLiNoneEnd> </TLiNoneEnd> <!-- markup for a date listing entry --> <LITEMPLATE> $MY-LISTING-LINK$ </LITEMPLATE> <!-- top of thread page layout --> <THead> <a href="../../">All Lists</a> - <a href="$IDXFNAME$">Date Index</a> <hr> <table border="0" width="100%"> <tr> <td class="mlcolumn">Subject</td> <td class="mlcolumn">Author</td> <td class="mlcolumn">Date</td> </tr> </THead> <!-- thread page footer markup --> <TFoot> </table> </TFoot> <!-- top of date page layout --> <ListBegin> <a href="../../">All Lists</a> - <a href="$TIDXFNAME$">Thread Index</a> <hr> <table border="0" width="100%"> <tr> <td class="mlcolumn">Subject</td> <td class="mlcolumn">Author</td> <td class="mlcolumn">Date</td> </tr> </ListBegin> <!-- date page footer markup --> <ListEnd> </TABLE> </ListEnd> <!-- No followups/references shown, since we have the --> <!-- thread slice at bottom --> <FOLREFS> <!-- filename setup to fit with existing system --> <TIDXFNAME> index.html </TIDXFNAME> <IDXFNAME> dateindex.html </IDXFNAME> <!-- make files readable, not executable --> <FILEPERMS> 666 </FILEPERMS> <UMASK> 022 </UMASK> <!-- create vars for page layout --> <DefineVar> MY-HEADER-LINK <html xmlns="" rel="nofollow">http://www.w3.org/1999/xhtml"> <head> <title>$TIDXTITLE$</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link href="../favicon.ico" rel="shortcut icon"/> <link rel="stylesheet" href="/leaf.css" type="text/css"/></head> <body> </DefineVar> <DefineVar> MY-FOOTER-LINK </body> </html> </DefineVar> <!-- The default layout for links at the top of a message page --> <!-- tend to be mashed together - this is an effort to make it --> <!-- less so. --> <DefineVar> MY-BUTTONBAR <br> $BUTTON(PREV)$$BUTTON(NEXT)$&nbsp; $BUTTON(TPREV)$$BUTTON(TNEXT)$&nbsp; [<a href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>] </DefineVar> <!-- all pages need to start with this --> <SSMarkup> $MY-HEADER-LINK$ </SSMarkup> <!-- Since tablecg takes care of HEAD and BODY tags and so on, --> <!-- we need to supress what MHonArc enters. --> <IdxPgBegin> <h1>$TIDXTITLE$</h1> </IdxPgBegin> <TIdxPgBegin> <h1>$TIDXTITLE$</h1> </TIdxPgBegin> <MsgPgBegin> <em>$TIDXTITLE$</em> </MsgPgBegin> <!-- format of bottom of message --> <BotLinks> $MY-BUTTONBAR$ </BotLinks> <!-- links at top of page --> <TopLinks> $MY-BUTTONBAR$ </TopLinks> <!-- no need to indicate when relationships were guessed --> <!-- by subject instead of message-id --> <TSubjectBeg> </TSubjectBeg> <!-- format individual message headers --> <!-- <FIELDSBEG> </FIELDSBEG> <FIELDSEND> </FIELDSEND> <LABELBEG> &nbsp;&nbsp;&nbsp;<SPAN CLASS="mlheaderlabel"> </LABELBEG> <LABELEND> :</SPAN> </LABELEND> <FLDEND> <BR> </FLDEND> --> <FieldsBeg> <table border=0> </FieldsBeg> <LabelBeg> <tr> <td class="mlheaderlabel"> </LabelBeg> <LabelEnd> :</td> </LabelEnd> <FldBeg> <td class="mlheaderfield"> </FldBeg> <FldEnd> </td> </tr> </FldEnd> <FieldsEnd> </table> </FieldsEnd> <!-- controls default stlying of named fields --> <LabelStyles> -default-: </LabelStyles> <!-- some header lines don't need to be visible --> <EXCS> Subject Bestservhost In-reply-to List-help List-owner List-post List-subscribe List-unsubscribe Newsgroups References Sender Xref Envelopefrom Newsfetch User-agent Reply-to Organization </EXCS>
文章代碼(AID): #11076C00 (DFBSD_docs)
文章代碼(AID): #11076C00 (DFBSD_docs)