1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>MHonArc v2.5 -- Page Layout</TITLE>
</HEAD>
<!--
<BODY background="ssbg75.jpg"
text="#000000" link="#0000ee" vlink="#551a8b" alink="ff0000">
-->
<BODY>
<!--X-NavButtons-Start-->
<table width="100%">
<tr valign="top">
<td align="left"><nobr><a href="commontasks.html"><img src="prev.gif"border=0 alt="[Prev]"></a> </nobr></td><td align="center" width="99%"><a href="mhonarc.html"><img src="up.gif" border=0 alt="[TOC]"></a><a href="faq/faq.html"><img src="faq.gif" border=0 alt="[FAQ]"></a><a href="app-bugs.html"><img src="bug.gif" border=0 alt="[Bugs]"></a><a href="http://www.mhonarc.org/"><img src="home.gif" border=0 alt="[Home]"></a></td><td align="right"><nobr> <a href="resources.html"><img src="next.gif" border=0 alt="[Next]"></a></nobr></td></tr></table>
<!--X-NavButtons-End-->
<HR>
<!-- ******************************************************************** -->
<H1><a name="pagelayout">Page Layout</a></H1>
<p>The section describes the layout of the pages created by
MHonArc. Each page's layout is controled by
<a href="resources.html">resources</a>
(see Section <a href="resources.html">Resources</a>). Layout
resources can be changed as you see fit to achieve the
appearence you desire for your mail archives.
<!--X-TOC-Start-->
<ul>
<li><a href="#notaion">Notation</a>
<li><a href="#mainidxpg">Main Index Page</a>
<ul>
<li><small><a href="#mainidxlayout">Main index page resource layout</a></small>
</ul>
<li><a href="#threadidxpg">Thread Index Page</a>
<ul>
<li><small><a href="#tidxlayout">Thread index page resource layout</a></small>
</ul>
<li><a href="#msgpg">Message Page</a>
<ul>
<li><small><a href="#msgpglayout">Message page resource layout</a></small>
<li><small><a href="#msgheaderlayout">Converted message header</a></small>
<li><small><a href="#msgbodylayout">Converted message body</a></small>
</ul>
</ul>
<!--X-TOC-End-->
<!-- ******************************************************************** -->
<hr>
<h2><a name="notaion">Notation</a></h2>
<p>To simplify the description of the various pages created
by MHonArc, the following notation is used:
</p>
<dl>
<dt><strong>( )</strong></dt>
<dd>Parentheses denote a <em>group</em> of resources.
</dd>
<dt><strong>|</strong></dt>
<dd>The vertical bar is use within a <em>group</em> to denote
a boolean OR. For example, "<tt>(X | Y | Z)</tt>"
states that either X, Y, or Z may apply.
</dd>
<dt><strong>?</strong></dt>
<dd>Denotes that preceding resource, or group, is
optional.
</dd>
<dt><strong>*</strong></dt>
<dd>Denotes that preceding resource, or group, can
occur zero or more times.
</dd>
<dt><strong>+</strong></dt>
<dd>Denotes that preceding resource, or group, can
occur one or more times.
</dd>
</dl>
<!-- ******************************************************************** -->
<hr>
<h2><a name="mainidxpg">Main Index Page</a></h2>
<p>The main index is normally the default index of an
archive. The main index list messages by date,
subject, author, or message number.
Since date listing is the default, the
main index is commonly referred to as the date index.
</p>
<h3><a name="mainidxlayout">Main index page resource layout</a></h3>
<pre>
<a href="resources/idxpgbegin.html"><b>IDXPGBEGIN</b></a>
<a href="resources/listbegin.html"><b>LISTBEGIN</b></a>
<b>(</b><a href="resources/authorbegin.html"><b>AUTHORBEGIN</b></a> <b>|</b>
<a href="resources/daybegin.html"><b>DAYBEGIN</b></a> <b>|</b>
<a href="resources/subjectbegin.html"><b>SUBJECTBEGIN</b></a><b>)?</b>
<a href="resources/litemplate.html"><b>LITEMPLATE</b></a><b>+</b>
<b>(</b><a href="resources/authorend.html"><b>AUTHOREND</b></a> <b>|</b>
<a href="resources/dayend.html"><b>DAYEND</b></a> <b>|</b>
<a href="resources/subjectend.html"><b>SUBJECTEND</b></a><b>)?</b>
<a href="resources/listend.html"><b>LISTEND</b></a>
<a href="resources/doc.html"><b>DOC</b></a><b>?</b>
<a href="resources/idxpgend.html"><b>IDXPGEND</b></a>
</pre>
<p>Main index pages also contain comment declarations. Some of the
comment declarations are vital markers to allow MHonArc
to properly edit the index during archive updates.
</p>
<!-- ******************************************************************** -->
<hr>
<h2><a name="threadidxpg">Thread Index Page</a></h2>
<p>The thread index list messages by thread. Threads
are based upon <em>In-Reply-To</em> and <em>References</em> fields of
messages and by same <em>Subject</em>s.
</p>
<p>The layout of a thread index page is more complicated
than the main index layout since threading is more
complex.
Also, MHonArc tries to provide the greatest
flexibility for customizing thread listing layout.
</p>
<h3><a name="tidxlayout">Thread index page resource layout</a></h3>
<pre>
<a href="resources/tidxpgbegin.html"><b>TIDXPGBEGIN</b></a>
<a href="resources/thead.html"><b>THEAD</b></a>
<b>((</b><a href="resources/ttopbegin.html"><b>TTOPBEGIN</b></a>
<a href="resources/tsublistbeg.html"><b>TSUBLISTBEG</b></a>
<b>((</b><a href="resources/tlitxt.html"><b>TLITXT</b></a>
<small>[possible subthread listing]</small>
<a href="resources/tliend.html"><b>TLIEND</b></a><b>)|</b>
<b>(</b><a href="resources/tlinone.html"><b>TLINONE</b></a>
<small>[possible subthread listing]</small>
<a href="resources/tlinoneend.html"><b>TLINONEEND</b></a><b>))+</b>
<b>(</b><a href="resources/tsubjectbeg.html"><b>TSUBJECTBEG</b></a>
<b>((</b><a href="resources/tlitxt.html"><b>TLITXT</b></a>
<small>[possible subthread listing]</small>
<a href="resources/tliend.html"><b>TLIEND</b></a><b>)|</b>
<b>(</b><a href="resources/tlinone.html"><b>TLINONE</b></a>
<small>[possible subthread listing]</small>
<a href="resources/tlinoneend.html"><b>TLINONEEND</b></a><b>))+</b>
<a href="resources/tsubjectend.html"><b>TSUBJECTEND</b></a><b>)?</b>
<a href="resources/tsublistend.html"><b>TSUBLISTEND</b></a><b></b>
<a href="resources/ttopend.html"><b>TTOPEND</b></a><b>)</b>
<b>|</b>
<a href="resources/tsingletxt.html"><b>TSINGLETXT</b></a><b>)*</b> <small>[message w/o references or follow-ups]</small>
<a href="resources/tfoot.html"><b>TFOOT</b></a>
<a href="resources/doc.html"><b>DOC</b></a><b>?</b>
<a href="resources/tidxpgend.html"><b>TIDXPGEND</b></a>
</pre>
<p>If the previous is not confusing enough, there are four other resources
for controlling the thread index page layout:
<a href="resources/tcontbegin.html">TCONTBEGIN</a>,
<a href="resources/tcontend.html">TCONTEND</a>,
<a href="resources/tindentbegin.html">TINDENTBEGIN</a>,
<a href="resources/tindentend.html">TINDENTEND</a>.
If the <a href="resources/multipg.html">multiple page resource</a> is
set, it is possible that a thread can span more than one page. These
resources are used to restart a thread that has been clipped due to
a page boundary.
</p>
<!-- ******************************************************************** -->
<hr>
<h2><a name="msgpg">Message Page</a></h2>
<p>The message page contains a single message converted
to HTML and archive navigational links.
</p>
<h3><a name="msgpglayout">Message page resource layout</a></h3>
<pre>
<a href="resources/msgpgbegin.html"><b>MSGPGBEGIN</b></a>
<a href="resources/msghead.html"><b>MSGHEAD</b></a>
<a href="resources/toplinks.html"><b>TOPLINKS</b></a>
<a href="resources/subjectheader.html"><b>SUBJECTHEADER</b></a>
<a href="#msgheaderlayout"><i>Converted message header</i></a>
<a href="resources/headbodysep.html"><b>HEADBODYSEP</b></a>
<a href="#msgbodylayout"><i>Converted message body</i></a>
<a href="resources/msgbodyend.html"><b>MSGBODYEND</b></a>
<b>(</b><a href="resources/folupbegin.html"><b>FOLUPBEGIN</b></a>
<a href="resources/foluplitxt.html"><b>FOLUPLITXT</b></a><b>+</b>
<a href="resources/folupend.html"><b>FOLUPEND</b></a><b>)?</b>
<b>(</b><a href="resources/refsbegin.html"><b>REFSBEGIN</b></a>
<a href="resources/refslitxt.html"><b>REFSLITXT</b></a><b>+</b>
<a href="resources/refsend.html"><b>REFSEND</b></a><b>)?</b>
<a href="resources/botlinks.html"><b>BOTLINKS</b></a>
<a href="resources/msgfoot.html"><b>MSGFOOT</b></a>
<a href="resources/msgpgend.html"><b>MSGPGEND</b></a>
</pre>
<table border=0 cellpadding=4>
<tr valign=top>
<td><strong>NOTE</strong></td>
<td><p>If the <a href="resources/single.html">SINGLE</a> resource
is set, <a href="resources/toplinks.html">TOPLINKS</a>
and <a href="resources/botlinks.html">BOTLINKS</a>
are are not applicable. If the
<a href="resources/folrefs.html">FOLREFS</a> is off,
<a href="resources/folupbegin.html">FOLUPBEGIN</a>,
<a href="resources/foluplitxt.html">FOLUPLITXT</a>,
<a href="resources/folupend.html">FOLUPEND</a>,
<a href="resources/refsbegin.html">REFSBEGIN</a>,
<a href="resources/refslitxt.html">REFSLITXT</a>, and
<a href="resources/refsend.html">REFSEND</a> resources
are not applicable.
</p>
</td>
</tr>
</table>
<p>Message pages also contain comment declarations. Some of the
comment declarations are vital markers to allow MHonArc
to properly edit the message when needed during updates.
</p>
<h3><a name="msgheaderlayout">Converted message header</a></h3>
<p>The format of converted message headers are determined by the
following resource layout:
</p>
<pre>
<a href="resources/fieldsbeg.html">FIELDSBEG</a>
(<a href="resources/labelbeg.html">LABELBEG</a>
<i>label text</i>
<a href="resources/labelend.html">LABELEND</a>
<a href="resources/fldbeg.html">FLDBEG</a>
<i>field text</i>
<a href="resources/fldend.html">FLDEND</a>)*
<a href="resources/fieldsend.html">FIELDSEND</a>
</pre>
<table border=0 cellpadding=4>
<tr valign=top>
<td><strong>NOTE</strong></td>
<td><p>The line breaks above are used to show the sequence order of
the resources and do not indicate any actual line breaks in the final
markup generated.
</p>
</td>
</tr>
</table>
<h3><a name="msgbodylayout">Converted message body</a></h3>
<p>The formatting of message body data is controled by filter routines.
See the <a href="resources/mimefilters.html">MIMEFILTERS</a> resource
page for more information.
</p>
<hr>
<!--X-NavButtons-Start-->
<table width="100%">
<tr valign="top">
<td align="left"><nobr><a href="commontasks.html"><img src="prev.gif"border=0 alt="[Prev]"></a> </nobr></td><td align="center" width="99%"><a href="mhonarc.html"><img src="up.gif" border=0 alt="[TOC]"></a><a href="faq/faq.html"><img src="faq.gif" border=0 alt="[FAQ]"></a><a href="app-bugs.html"><img src="bug.gif" border=0 alt="[Bugs]"></a><a href="http://www.mhonarc.org/"><img src="home.gif" border=0 alt="[Home]"></a></td><td align="right"><nobr> <a href="resources.html"><img src="next.gif" border=0 alt="[Next]"></a></nobr></td></tr></table>
<!--X-NavButtons-End-->
<!-- ******************************************************************** -->
<HR>
<address>
01/10/02 00:18:11<br>
<img align="top" src="monicon.gif" alt="">
<a href="http://www.mhonarc.org"
><strong>MHonArc</strong></a><br>
Copyright © 1997-1999, <a href="http://www.mhonarc.org/~ehood/"
>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org</a><br>
</address>
</BODY>
</HTML>
|