MHonArc

 view release on metacpan or  search on metacpan

doc/commontasks.html  view on Meta::CPAN

author.
</p>

<p>The <a href="resources/rmm.html"><tt>-rmm</tt></a> also supports
the ability to specify message number ranges and message-ids.  See
the <a href="resources/rmm.html">RMM</a> reference page for
more information and examples.
</p>


<!-- *************************************************************** -->
<hr>
<h2><a name="layout">Customizing Page Layout</a></h2>

<p>One of the most powerful features of MHonArc is the ability to
customize the layout of pages.  In this section, we give
a quick introduction on how customization can be done.  For more
information, see <cite><a href="layout.html">Page Layout</a></cite>.
</p>

<p>In this introduction, we want to
add a footer at the bottom of each page containing
the following markup:
</p>
<pre class="code">
&lt;hr&gt;
Please visit &lt;a href="http://www.mhonarc.org"&gt;www.mhonarc.org&lt;/a&gt;.
</pre>

<p>Create a new file called 
"<tt>myresource.mrc</tt>" and edit <tt>myresource.mrc</tt> to include
the following:
</p>
<pre class="code">
&lt;!-- Define a custom resource variable representing our link. --&gt;
<b><a href="resources/definevar.html">&lt;DefineVar&gt;</a></b>
MY-FOOTER-LINK
&lt;hr&gt;
Please visit &lt;a href="http://www.mhonarc.org"&gt;www.mhonarc.org&lt;/a&gt;.
<b>&lt;/DefineVar&gt;</b>

&lt;!-- Modify appropriate resources to print our link at the bottom
     of MHonArc generated pages. Notice how the custom resource
     variable defined above can be used to include our link. --&gt;

&lt;!-- Main index pages --&gt;
<b><a href="resources/idxpgend.html">&lt;IdxPgEnd&gt;</a></b>
$MY-FOOTER-LINK$
&lt;/body&gt;
&lt;/html&gt;
<b>&lt;/IdxPgEnd&gt;</b>

&lt;!-- Thread index pages --&gt;
<b><a href="resources/tidxpgend.html">&lt;TIdxPgEnd&gt;</a></b>
$MY-FOOTER-LINK$
&lt;/body&gt;
&lt;/html&gt;
<b>&lt;/TIdxPgEnd&gt;</b>

&lt;!-- Message pages --&gt;
<b><a href="resources/msgpgend.html">&lt;MsgPgEnd&gt;</a></b>
$MY-FOOTER-LINK$
&lt;/body&gt;
&lt;/html&gt;
<b>&lt;/MsgPgEnd&gt;</b>
</pre>

<p>The file you created is formally called a
<a href="resources/rcfile.html">resource file</a>.  A resource file
is a plain text file containing resource settings affecting the
behavior of MHonArc.  In this case, the resource defined above tells
MHonArc to include our custom footer on all pages.
</p>
<p>To inform MHonArc about your resource file, you must
specify it when invoking <tt>mhonarc</tt>:
</p>
<table border=1 width="100%"><tr><td><pre class="shell">
prompt&gt; <b>mhonarc <a class="shell" href="resources/rcfile.html">-rcfile</a> myresource.mrc</b> ...
</pre></td></tr></table>

<!-- *************************************************************** -->
<HR>
<!--X-NavButtons-Start-->
<table width="100%">
<tr valign="top">
<td align="left"><nobr><a href="quickstart.html"><img src="prev.png"border=0 alt="[Prev]"></a>&nbsp;&nbsp;&nbsp;</nobr></td><td align="center" width="99%"><a href="mhonarc.html"><img src="up.png" border=0 alt="[TOC]"></a><a href="faq/faq.html"><img s...
<!--X-NavButtons-End-->

<!-- *************************************************************** -->
<hr>
<address>
$Date: 2005/05/13 00:00:35 $ <br>
<img align="top" src="monicon.png" alt="">
<a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br>
Copyright &#169; 1997-2005 <a href="http://www.mhonarc.org/~ehood/"
>Earl Hood</a>, <a href="mailto:mhonarc&#37;40mhonarc.org"
>mhonarc<!--
-->&#64;<!--
-->mhonarc.org</a><br>
</address>

</BODY>
</HTML>



( run in 1.194 second using v1.01-cache-2.11-cpan-df04353d9ac )