Message Pages

Can I change the order the message resources are printed?

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.

How can I change how message headers gets formatted?

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:

<td align="right" valign="top">
<td align="left">

You can also control the order message fields are displayed:


The "-extra-" signifies all other message fields in alphabetic order.

You can also exclude specific message fields:


Here, we are exluding all "X-..." fields and the Precendence field.

Consult the MHonArc documentation for more information on how to use the resources shown here and other resources for controlling message header formatting.

How can I change how message body data gets formatted?

Message body conversion are controlled by content-type filters. See the MIME section of this FAQ for more information.

Can I have the message header come after the body?

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:

<EXCS override>
<li>From: $FROM$
<li>Subject: $SUBJECTNA$
<li>Date: $DATE$

Can I make changes to message formatting on existing archived messages?

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.

What are those "<!--X-... -->"?

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, DO NOT MESS WITH THEM.

Are those "<!--X-... -->" legal comments?



98/09/30 23:02:05
Copyright © 1997-1998, Earl Hood, ehood@medusa.acs.uci.edu