MHonArc Resource List

DAYBEGIN


Syntax

Envariable

N/A

Element

<DAYBEGIN>
markup ...
</DAYBEGIN>

Command-line Option

N/A


Description

DAYBEGIN defines the beginning markup of a day group in the main index if the SORT reosource is set. A day group is a group of messages all from the same day.

Any message related resource variables available for the DAYBEGIN evaluate based on information from the first message in the group.


Default Setting

Nil.


Resource Variables

VariableValue
$A_ATTR$ The 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$ The HREF attribute to use in an anchor to link to the archived message.
$A_NAME$ The NAME attribute to use in an anchor for messages to link to the index page.
$DATE$ The date of the message.
$DDMMYY$ Message date in dd/mm/yy format.
$FROM$ The complete text in the From: field of the message.
$FROMADDR$ The e-mail address in the From: field of the message.
$FROMNAME$ The human name of the person in the From: field of the message. If no human name is found, the username specified in the e-mail address is used.
$ICON$ The context-type sensistive icon.
$ICONURL$ The URL to the context-type sensistive icon.
$MMDDYY$ Message date in mm/dd/yy format.
$MSGGMTDATE$ GMT date of current message.
$MSGID$ The message-id of the message.
$MSGLOCALDATE$ Local date of current message.
$MSGNUM$ The message number assigned to the message by MHonArc (includes leading zeros).
$NUMFOLUP$ Number of explicit follow-ups to the message.
$ORDNUM$ The current listing number of the message.
$SUBJECT$ The subject text of the message wrapped in an anchor element that hyperlinks to the message.
$SUBJECTNA$ The subject text of the message without the anchor element.
$YYMMDD$ Message date in yy/mm/dd format.

Examples

The following example resource settings cause the main index to be sorted by date. The listing will contain each different day followed by a sub-listing of the messages from that day:

<Sort>
<MsgLocalDateFmt>
%B %d, %Y
</MsgLocalDateFmt>

<DayBegin>
<li><strong>$FROMNAME$</strong>
<ul>
</DayBegin>

<DayEnd>
</li></ul>
</DayEnd>

<LITemplate>
<li>$SUBJECT$, $FROMNAME$</li>
</LITemplate>

Version

2.0


See Also

DAYEND, SORT


97/02/18 16:27:09
MHonArc
Copyright © 1997, Earl Hood, ehood@medusa.acs.uci.edu