Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / faq / msgpgs.html
CommitLineData
86530b38
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
2<HTML>
3<HEAD>
4<TITLE>MHonArc FAQ: Message Pages</TITLE></HEAD>
5<BODY>
6
7<!--X-NavButtons-Start-->
8<p align=center>
9[<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>]
10</p>
11<!--X-NavButtons-End-->
12
13<!-- ===================================================================== -->
14<hr>
15<H2><a name="messagepages">Message Pages</a></H2>
16
17<!--X-TOC-Start-->
18<ul>
19<li><a href="#msgorder">Can I change the order the message resources are printed?</a></li>
20<li><a href="#msghead">How can I change how message headers gets formatted?</a></li>
21<li><a href="#msgbody">How can I change how message body data gets formatted?</a></li>
22<li><a href="#headnbody">Can I have the message header come after the body?</a></li>
23<li><a href="#msgbody">Can I make changes to message formatting on existing archived messages?</a></li>
24<li><a href="#msgcomms">What are those "&lt;!--X-... -->"?</a></li>
25<li><a href="#commslegal">Are those "&lt;!--X-... -->" legal comments?</a></li>
26</ul>
27<!--X-TOC-End-->
28
29<!-- ??????????????????????????????????????????????????????????????? -->
30<hr noshade size=1>
31<table border=0>
32<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
33<h3><b><a name="msgorder">Can I change the order the message resources are printed?</a></b></h3>
34</td></tr></table>
35
36<p>No. However, with the exceptions of the message header and body
37(but see next questions), those resource can be defined
38anyway you like. For example, I can change the TOPLINKS resource
39to look like the BOTLINKS resource. Or, I can change the
40default meaning of the resource so it really outputs something
41else entirely. If you look at the documentation, the resources
42are just defined by HTML markup and resource variables. Many
43of the resource variables can be used within any resource.
44</p>
45
46<!-- ??????????????????????????????????????????????????????????????? -->
47<hr noshade size=1>
48<table border=0>
49<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
50<h3><b><a name="msghead">How can I change how message headers gets formatted?</a></b></h3>
51</td></tr></table>
52
53<p>There are several resources for controlling how message headers
54are converted into HTML. You can exclude fields and style fields
55with your own HTML markup. For example, here are resources that
56cause message headers to be formatted with a table:
57</p>
58<pre>
59<b>&lt;FIELDSBEG></b>
60&lt;table>
61&lt;tbody>
62<b>&lt;/FIELDSBEG></b>
63<b>&lt;LABELBEG></b>
64&lt;tr>
65&lt;td align="right" valign="top">
66<b>&lt;/LABELBEG></b>
67<b>&lt;LABELEND></b>
68&lt;/td>
69<b>&lt;/LABELEND></b>
70<b>&lt;FLDBEG></b>
71&lt;td align="left">
72<b>&lt;/FLDBEG></b>
73<b>&lt;FLDEND></b>
74&lt;/td>
75&lt;/tr>
76<b>&lt;/FLDEND></b>
77<b>&lt;FIELDSEND></b>
78&lt;/tbody>
79&lt;/table>
80<b>&lt;/FIELDSEND></b>
81</pre>
82
83<p>You can also control the order message fields are displayed:
84</p>
85<pre>
86<b>&lt;FIELDORDER></b>
87from
88subject
89date
90-extra-
91<b>&lt;/FIELDORDER></b>
92</pre>
93<p>The "-extra-" signifies all other message fields in alphabetic
94order.
95</p>
96
97<p>You can also exclude specific message fields:
98</p>
99<pre>
100<b>&lt;EXCS></b>
101x-
102precendence
103<b>&lt;/EXCS></b>
104</pre>
105<p>Here, we are exluding all "X-..." fields and the Precendence
106field.
107</p>
108
109<p>Consult the MHonArc documentation for more information
110on how to use the resources shown here and other resources for
111controlling message header formatting.
112</p>
113
114<!-- ??????????????????????????????????????????????????????????????? -->
115<hr noshade size=1>
116<table border=0>
117<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
118<h3><b><a name="msgbody">How can I change how message body data gets formatted?</a></b></h3>
119</td></tr></table>
120
121<p>Message body conversion are controlled by content-type filters.
122See the <a href="mime.html">MIME</a> section of this FAQ for
123more information.
124</p>
125
126<!-- ??????????????????????????????????????????????????????????????? -->
127<hr noshade size=1>
128<table border=0>
129<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
130<h3><b><a name="headnbody">Can I have the message header come after the body?</a></b></h3>
131</td></tr></table>
132
133<p>In general, no. A limitation of MHonArc is that you cannot change
134the relative order of the resources/message-data in the output (but see
135other questions in this section). MHonArc expects
136a specific order so it can edit archived messages when needed w/o
137using a bunch of logic, and performance degradation (special comment
138declarations are used to mark off the different sections of a message).
139Therefore, you cannot have the body come before the message header.
140The best you can do is suppress the header (via EXCS) and create a
141bogus header via the resource variables available. For example:
142</p>
143<pre>
144<b>&lt;EXCS override></b>
145.
146<b>&lt;/EXCS></b>
147<b>&lt;MSGFOOT></b>
148&lt;ul>
149&lt;li>From: $FROM$
150&lt;li>Subject: $SUBJECTNA$
151&lt;li>Date: $DATE$
152&lt;ul>
153<b>&lt;/MSGFOOT></b>
154</pre>
155
156<!-- ??????????????????????????????????????????????????????????????? -->
157<hr noshade size=1>
158<table border=0>
159<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
160<h3><b><a name="msgbody">Can I make changes to message formatting on existing archived messages?</a></b></h3>
161</td></tr></table>
162
163<p>Yes, mostly. The only thing cannot be changed once converted
164is the message header and message body. All other parts of the
165message page can be changed at any time. To make any changes
166appear on existing archived messages, set the EDITIDX resource.
167The EDITIDX resource tells MHonArc to recreate all archive
168pages.
169</p>
170
171<!-- ??????????????????????????????????????????????????????????????? -->
172<hr noshade size=1>
173<table border=0>
174<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
175<h3><b><a name="msgcomms">What are those "&lt;!--X-... -->"?</a></b></h3>
176</td></tr></table>
177
178<p>If you ever looked at the HTML source of converted messages,
179you will notice a bunch of comment declarations, "&lt;!--X-... -->".
180These comment declarations are used by MHonArc to
181properly edit messages when needed. Therefore, <strong>DO NOT
182MESS WITH THEM</strong>.
183</p>
184
185<!-- ??????????????????????????????????????????????????????????????? -->
186<hr noshade size=1>
187<table border=0>
188<tr valign=top><td><img src="monicon.png" align="bottom" alt=""></td><td>
189<h3><b><a name="commslegal">Are those "&lt;!--X-... -->" legal comments?</a></b></h3>
190</td></tr></table>
191
192<p>Yes.
193</p>
194
195<!-- ===================================================================== -->
196<hr>
197
198<!--X-NavButtons-Start-->
199<p align=center>
200[<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>]
201</p>
202<!--X-NavButtons-End-->
203
204<HR>
205<address>
206$Date: 2001/12/24 14:38:39 $ <br>
207<img align="top" src="monicon.png" alt="">
208<a href="http://www.mhonarc.org/"
209><strong>MHonArc</strong></a><br>
210Copyright &#169; 1997-1999, <a href="http://www.earlhood.com/"
211>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
212>mhonarc@mhonarc.org</a><br>
213</address>
214</BODY>
215</HTML>