threads.html
". However, a
different name may be specified with the M2H_TIDXFNAME
environment variable,
the TIDXFNAME
resource element, or the -tidxfname
command-line option.
M2H_TTITLE
environment variable,
the TTITLE
resource element, or the -ttitle
command-line option. The text for
the title is placed in the HTML TITLE
element of the index page, and the text also
occurs at the very top of the body in a H1
element.
TREVERSE
resource may be set to have the thread
listing from newest thread to oldest thread.
HTML markup can be added to the thread index page by defining the THEAD
and
TFOOT
Resource File elements. Usage of THEAD
and TFOOT
is discussed later in
this section.
MHonArc uses HTML unorder lists for formatting the thread index list. Nested list
markup is used to show the threads. Since threads can become very large, the
TLEVELS
resource can be used to limit the number of nested lists allowed. The
default nesting level is 3.
Customization over the thread index list format is more restrictive than the main
index. All thread index entries are contained in the HTML LI
element, which is
contained in an UL
element. The entry text itself can be customized via the TLITXT
Resource File element. Usage of TLITXT
is discussed later in this section.
THEAD
resource element specifies text to be inserted before the thread index
listing. The text can be any valid HTML markup. Plus, MHonArc defines the
following variables you may use which get expanded at run-time:
$CURDATE$
$DOCURL$
$GMTDATE$
$IDXFNAME$
$IDXTITLE$
$LOCALDATE$
$NUMOFMSG$
$PROG$
$VERSION$
THEAD
default value is the following:
<THEAD> <UL> <LI><A HREF="$IDXFNAME$">Main Index</A></LI> </UL> <HR> </THEAD>
TLITXT
specifies the markup to use for each entry in the thread index. Only
markup that is legal within the HTML LI
element should be used. When you
define the contents for the TLITXT
resource element, you may use the following
variables defined by MHonArc (see Resource Variables on the usage of variables):
$A_ATTR$
NAME
and HREF
attributes to use in an anchor to link to the archived
message. The NAME
attribute links the messages to the index page.
$A_HREF$
HREF
attribute to use in an anchor to link to the archived message.
$A_NAME$
NAME
attributes to use in an anchor for messages to link to the index
page.
$DATE$
$ICON$
$ICONURL$
$NUMFOLUP$
$FROM$
From:
field of the message.
$FROMADDR$
From:
field of the message.
$FROMNAME$
From:
field of the message. If no
English name is found, the username specified in the e-mail address is
used.
$MSGNUM$
$ORDNUM$
$SUBJECT$
$SUBJECTNA$
$A_ATTR$
, $A_NAME
, and $SUBJECT$
together in the
TLITXT
element. Since all of these variables contain the NAME
atrribute.
Invalid HTML will be created since multiple anchors will have the same
NAME
identifier.
TLITXT
's default value is the following:
<TLITXT> ($NUMFOLUP$) <STRONG>$SUBJECT:40$</STRONG>, <EM>$FROMNAME$</EM> </TLITXT>
TFOOT
resource element specifies the text to use after the end the thread index
list. The text can be any valid HTML markup. TFOOT
may contain the same
variables as THEAD
.
TFOOT
's default value is nil.