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">
<hr>
Please visit <a href="http://www.mhonarc.org">www.mhonarc.org</a>.
</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">
<!-- Define a custom resource variable representing our link. -->
<b><a href="resources/definevar.html"><DefineVar></a></b>
MY-FOOTER-LINK
<hr>
Please visit <a href="http://www.mhonarc.org">www.mhonarc.org</a>.
<b></DefineVar></b>
<!-- 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. -->
<!-- Main index pages -->
<b><a href="resources/idxpgend.html"><IdxPgEnd></a></b>
$MY-FOOTER-LINK$
</body>
</html>
<b></IdxPgEnd></b>
<!-- Thread index pages -->
<b><a href="resources/tidxpgend.html"><TIdxPgEnd></a></b>
$MY-FOOTER-LINK$
</body>
</html>
<b></TIdxPgEnd></b>
<!-- Message pages -->
<b><a href="resources/msgpgend.html"><MsgPgEnd></a></b>
$MY-FOOTER-LINK$
</body>
</html>
<b></MsgPgEnd></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> <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> </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 © 1997-2005 <a href="http://www.mhonarc.org/~ehood/"
>Earl Hood</a>, <a href="mailto:mhonarc%40mhonarc.org"
>mhonarc<!--
-->@<!--
-->mhonarc.org</a><br>
</address>
</BODY>
</HTML>
( run in 1.194 second using v1.01-cache-2.11-cpan-df04353d9ac )