<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> <HTML> <HEAD> <TITLE>MHonArc FAQ: Message Pages</TITLE></HEAD> <BODY> <!--X-NavButtons-Start--> <p align=center> [<a href="indexpgs.html">Prev</a>][<a href="threads.html">Next</a>][<a href="faq.html">TOC</a>][<a href="http://www.mhonarc.org/">Home</a>] </p> <!--X-NavButtons-End--> <!-- ===================================================================== --> <hr> <H2><a name="messagepages">Message Pages</a></H2> <!--X-TOC-Start--> <ul> <li><a href="#msgorder">Can I change the order the message resources are printed?</a></li> <li><a href="#msghead">How can I change how message headers gets formatted?</a></li> <li><a href="#msgbody">How can I change how message body data gets formatted?</a></li> <li><a href="#headnbody">Can I have the message header come after the body?</a></li> <li><a href="#msgbody">Can I make changes to message formatting on existing archived messages?</a></li> <li><a href="#msgcomms">What are those "<!--X-... -->"?</a></li> <li><a href="#commslegal">Are those "<!--X-... -->" legal comments?</a></li> </ul> <!--X-TOC-End--> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="msgorder">Can I change the order the message resources are printed?</a></b></h3> </td></tr></table> <p>No. However, with the exceptions of the message header and body (but see next questions), those resource can be defined anyway you like. For example, I can change the TOPLINKS resource to look like the BOTLINKS resource. Or, I can change the default meaning of the resource so it really outputs something else entirely. If you look at the documentation, the resources are just defined by HTML markup and resource variables. Many of the resource variables can be used within any resource. </p> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="msghead">How can I change how message headers gets formatted?</a></b></h3> </td></tr></table> <p>There are several resources for controlling how message headers are converted into HTML. You can exclude fields and style fields with your own HTML markup. For example, here are resources that cause message headers to be formatted with a table: </p> <pre> <b><FIELDSBEG></b> <table> <tbody> <b></FIELDSBEG></b> <b><LABELBEG></b> <tr> <td align="right" valign="top"> <b></LABELBEG></b> <b><LABELEND></b> </td> <b></LABELEND></b> <b><FLDBEG></b> <td align="left"> <b></FLDBEG></b> <b><FLDEND></b> </td> </tr> <b></FLDEND></b> <b><FIELDSEND></b> </tbody> </table> <b></FIELDSEND></b> </pre> <p>You can also control the order message fields are displayed: </p> <pre> <b><FIELDORDER></b> from subject date -extra- <b></FIELDORDER></b> </pre> <p>The "-extra-" signifies all other message fields in alphabetic order. </p> <p>You can also exclude specific message fields: </p> <pre> <b><EXCS></b> x- precendence <b></EXCS></b> </pre> <p>Here, we are exluding all "X-..." fields and the Precendence field. </p> <p>Consult the MHonArc documentation for more information on how to use the resources shown here and other resources for controlling message header formatting. </p> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="msgbody">How can I change how message body data gets formatted?</a></b></h3> </td></tr></table> <p>Message body conversion are controlled by content-type filters. See the <a href="mime.html">MIME</a> section of this FAQ for more information. </p> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="headnbody">Can I have the message header come after the body?</a></b></h3> </td></tr></table> <p>In general, no. A limitation of MHonArc is that you cannot change the relative order of the resources/message-data in the output (but see other questions in this section). MHonArc expects a specific order so it can edit archived messages when needed w/o using a bunch of logic, and performance degradation (special comment declarations are used to mark off the different sections of a message). Therefore, you cannot have the body come before the message header. The best you can do is suppress the header (via EXCS) and create a bogus header via the resource variables available. For example: </p> <pre> <b><EXCS override></b> . <b></EXCS></b> <b><MSGFOOT></b> <ul> <li>From: $FROM$ <li>Subject: $SUBJECTNA$ <li>Date: $DATE$ <ul> <b></MSGFOOT></b> </pre> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="msgbody">Can I make changes to message formatting on existing archived messages?</a></b></h3> </td></tr></table> <p>Yes, mostly. The only thing cannot be changed once converted is the message header and message body. All other parts of the message page can be changed at any time. To make any changes appear on existing archived messages, set the EDITIDX resource. The EDITIDX resource tells MHonArc to recreate all archive pages. </p> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="msgcomms">What are those "<!--X-... -->"?</a></b></h3> </td></tr></table> <p>If you ever looked at the HTML source of converted messages, you will notice a bunch of comment declarations, "<!--X-... -->". These comment declarations are used by MHonArc to properly edit messages when needed. Therefore, <strong>DO NOT MESS WITH THEM</strong>. </p> <!-- ??????????????????????????????????????????????????????????????? --> <hr noshade size=1> <table border=0> <tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td> <h3><b><a name="commslegal">Are those "<!--X-... -->" legal comments?</a></b></h3> </td></tr></table> <p>Yes. </p> <!-- ===================================================================== --> <hr> <!--X-NavButtons-Start--> <p align=center> [<a href="indexpgs.html">Prev</a>][<a href="threads.html">Next</a>][<a href="faq.html">TOC</a>][<a href="http://www.mhonarc.org/">Home</a>] </p> <!--X-NavButtons-End--> <HR> <address> $Date: 2001/12/24 14:38:39 $ <br> <img align="top" src="monicon.png" alt=""> <a href="http://www.mhonarc.org/" ><strong>MHonArc</strong></a><br> Copyright © 1997-1999, <a href="http://www.earlhood.com/" >Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org" >mhonarc@mhonarc.org</a><br> </address> </BODY> </HTML>