| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>MHonArc Resources: MIMEARGS</title> |
| 5 | </head> |
| 6 | <body> |
| 7 | <!--x-rc-nav--> |
| 8 | <table border=0><tr valign="top"> |
| 9 | <td align="left" width="50%">[Prev: <a href="mimealtprefs.html">MIMEALTPREFS</a>]</td><td><nobr>[<a href="../resources.html#mimeargs">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimedecoders.html">MIMEDECODERS</a>]</td></tr></table> |
| 10 | <!--/x-rc-nav--> |
| 11 | <hr> |
| 12 | <h1>MIMEARGS</h1> |
| 13 | |
| 14 | <!-- *************************************************************** --> |
| 15 | <hr> |
| 16 | <h2>Syntax</h2> |
| 17 | |
| 18 | <dl> |
| 19 | |
| 20 | <dt><strong>Envariable</strong></dt> |
| 21 | <dd><p>N/A |
| 22 | </p> |
| 23 | </dd> |
| 24 | |
| 25 | <dt><strong>Element</strong></dt> |
| 26 | <dd><p> |
| 27 | <code><MIMEARGS><br></code> |
| 28 | <var>content-type</var><code>:</code><var>argument-string</var><br> |
| 29 | <var>...</var><br> |
| 30 | <code></MIMEARGS><br></code> |
| 31 | </p> |
| 32 | </dd> |
| 33 | |
| 34 | <dt><strong>Command-line Option</strong></dt> |
| 35 | <dd><p>N/A |
| 36 | </p> |
| 37 | </dd> |
| 38 | |
| 39 | </dl> |
| 40 | |
| 41 | <!-- *************************************************************** --> |
| 42 | <hr> |
| 43 | <h2>Description</h2> |
| 44 | |
| 45 | <P>The MIMEARGS resource may be used to pass optional |
| 46 | arguments to MIME filters to control their behavior. Arguments may |
| 47 | be defined on a per content-type basis, or for a specific filter |
| 48 | itself. The MIMEARGS resource can only be set via the |
| 49 | <CODE>MIMEARGS</CODE> element. |
| 50 | The syntax for each line of the the <CODE>MIMEARGS</CODE> |
| 51 | element is as follows: </P> |
| 52 | |
| 53 | <P><var>content-type</var><CODE>;</CODE><var>argument-string</var> |
| 54 | </P> |
| 55 | |
| 56 | <P>Or, |
| 57 | </P> |
| 58 | |
| 59 | <P><var>filter-name</var><CODE>;</CODE><var>argument-string</var> |
| 60 | </P> |
| 61 | |
| 62 | <P>The format of argument strings is dependent on the filter that |
| 63 | processes <var>content-type</var> or by the specified filter, |
| 64 | <var>filter-name</var>. </P> |
| 65 | |
| 66 | <P>If an argument string is defined for a filter explicitly and for a |
| 67 | content-type that the filter processes, the content-type string will |
| 68 | override the filter string. </P> |
| 69 | |
| 70 | |
| 71 | <!-- *************************************************************** --> |
| 72 | <hr> |
| 73 | <h2>Default Setting</h2> |
| 74 | |
| 75 | <PRE> |
| 76 | <b><MIMEArgs></b> |
| 77 | m2h_external::filter; inline |
| 78 | <b></MIMEArgs></b> |
| 79 | </PRE> |
| 80 | |
| 81 | <!-- *************************************************************** --> |
| 82 | <hr> |
| 83 | <h2>Resource Variables</h2> |
| 84 | |
| 85 | <p>N/A |
| 86 | </p> |
| 87 | |
| 88 | <!-- *************************************************************** --> |
| 89 | <hr> |
| 90 | <h2>Examples</h2> |
| 91 | |
| 92 | <p>The following tells the text/plain filter to italicize quoted text |
| 93 | in a followup. |
| 94 | </p> |
| 95 | |
| 96 | <PRE> |
| 97 | <b><MIMEArgs></b> |
| 98 | m2h_text_plain::filter; quote |
| 99 | <b></MIMEArgs></b> |
| 100 | </PRE> |
| 101 | |
| 102 | <!-- *************************************************************** --> |
| 103 | <hr> |
| 104 | <h2>Version</h2> |
| 105 | |
| 106 | <p>1.2 |
| 107 | </p> |
| 108 | |
| 109 | <!-- *************************************************************** --> |
| 110 | <hr> |
| 111 | <h2>See Also</h2> |
| 112 | |
| 113 | <p> |
| 114 | <a href="mimefilters.html">MIMEFILTERS</a> |
| 115 | </p> |
| 116 | |
| 117 | <!-- *************************************************************** --> |
| 118 | <hr> |
| 119 | <!--x-rc-nav--> |
| 120 | <table border=0><tr valign="top"> |
| 121 | <td align="left" width="50%">[Prev: <a href="mimealtprefs.html">MIMEALTPREFS</a>]</td><td><nobr>[<a href="../resources.html#mimeargs">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimedecoders.html">MIMEDECODERS</a>]</td></tr></table> |
| 122 | <!--/x-rc-nav--> |
| 123 | <hr> |
| 124 | <address> |
| 125 | $Date: 2002/07/27 05:13:10 $ <br> |
| 126 | <img align="top" src="../monicon.png" alt=""> |
| 127 | <a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br> |
| 128 | Copyright © 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org">mhonarc@mhonarc.org</a><br> |
| 129 | </address> |
| 130 | |
| 131 | </body> |
| 132 | </html> |