Update of mhonarc/MHonArc/doc
Modified Files:
rcvars.html
Log Message:
[bug #11759]: Modified conversion of HTML header and handling of
$SUBJECT$ and $MSGHFIELD$. For message header conversion, all
fields can have ADDRESSMODIFYCODE (and MAILTOURL) applied except
for a well-defined set (e.g. List-*, Message-Id, etc).
For $SUBJECT$, et. al, ADDRESSMODIFYCODE is applied. MAILTOURL
is not applied unless the new :M modifier is used for the variable.
This way, the default behavior will not cause conflicts if
rcvar used within hyperlinks. If MAILTOURL application is
desired, :M must be specifed.
======================================================================
FILE: mhonarc/MHonArc/doc/rcvars.html
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/doc/rcvars.html?rev=1.30>
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/doc/rcvars.html.diff?r1=1.29&r2=1.30&diff_format=h>
--- rcvars.html 6 Oct 2003 22:04:14 -0000 1.29
+++ rcvars.html 8 Jul 2005 05:27:52 -0000 1.30
@@ -88,5 +88,5 @@
</tr>
</table>
-
+<p> </p>
@@ -100,5 +100,5 @@
<pre class="code">
-$<i>VARIABLE</i>[[:[<i>N</i>][U][J]][(<i>arglist</i>)]]$
+$<i>VARIABLE</i>[[:[<i>N</i>][J][M][U]][(<i>arglist</i>)]]$
^----------^^---------^
^-----------------------^
@@ -125,5 +125,5 @@
</dd>
-<dt><tt class="icode">:[<i>N</i>][U][J]</tt> <em>(optional)</em></dt>
+<dt><tt class="icode">:[<i>N</i>][J][U][M]</tt> <em>(optional)</em></dt>
<dd><p>The optional grouping starting with a colon are variable
modifiers. The definition of each modifier is as follows:
@@ -149,11 +149,4 @@
</tr>
<tr valign="top">
- <td><tt class="icode">U</tt></td>
- <td><p>Treat the text as part of a URL string. MHonArc will escape
- any characters that are considered special in a URL.
- </p>
- </td>
-</tr>
-<tr valign="top">
<td><tt class="icode">J</tt></td>
<td><p>Treat the text as a JavaScript string. MHonArc will escape
@@ -163,4 +156,21 @@
</td>
</tr>
+<tr valign="top">
+ <td><tt class="icode">M</tt></td>
+ <td><p>Enable mailto linking on expanded string. This modifier
+ is only applicable for the following resource variables:
+ <a href="#MSGHFIELD"><tt>$MSGHFIELD$</tt></a>,
+ <a href="#SUBJECT"><tt>$SUBJECT$</tt></a>,
+ <a href="#SUBJECTNA"><tt>$SUBJECTNA$</tt></a>.
+ </p>
+ </td>
+</tr>
+<tr valign="top">
+ <td><tt class="icode">U</tt></td>
+ <td><p>Treat the text as part of a URL string. MHonArc will escape
+ any characters that are considered special in a URL.
+ </p>
+ </td>
+</tr>
</table>
</dd>
@@ -204,5 +214,5 @@
</li>
<li><p>Variables should <STRONG>NOT</STRONG>
- have "<tt class="icode">:<i>N</i>UJ</tt>" modifiers. This will prevent the
+ have "<tt class="icode">:<i>N</i>JMU</tt>" modifiers. This will prevent the
variables from being recognized. MHonArc automatically
treats the replacement value as a part of a URL string, so the
@@ -798,9 +808,9 @@
<td>Message header field value as stored by the
<a href="resources/fieldstore.html">FIELDSTORE</a> resource.
-<i>field-name</i> denotes the name of the field value. If
-<i>field-name</i> is an address field, then the resources
+<i>field-name</i> denotes the name of the field value. The
+following resources are applied to the expanded string:
<a href="resources/addressmodifycode.html">ADDRESSMODIFYCODE</a>,
-<a href="resources/mailto.html">MAILTO</a>,
-<a href="resources/mailtourl.html">MAILTOURL</a>, and
+<a href="resources/mailtourl.html">MAILTOURL</a> (if the
+"<tt class="icode">:M</tt>" modifier is specified), and
<a href="resources/spammode.html">SPAMMODE</a>
apply.
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS