MHonArc Resources: MIMEARGS

# MIMEARGS

## Syntax

Envariable

  N/A

Element

  `<MIMEARGS>
  ` content-type`:`argument-string
  ...
  `</MIMEARGS>
  `

Command-line Option

  N/A

## Description

The MIMEARGS resource may be used to pass optional arguments to MIME filters to control their behavior. Arguments may be defined on a per content-type basis, or for a specific filter itself. The MIMEARGS resource can only be set via the `MIMEARGS` element. The syntax for each line of the the `MIMEARGS` element is as follows:

content-type`;`argument-string

Or,

filter-name`;`argument-string

The format of argument strings is dependent on the filter that processes content-type or by the specified filter, filter-name.

If an argument string is defined for a filter explicitly and for a content-type that the filter processes, the content-type string will override the filter string.

NOTE | For backwards compatibility, the values of a MIMEARGS specification can be separated with a colon, "`:`". However, if you use a colon, package qualification of a function must use Perl 4 syntax.

## Default Setting

    <MIMEArgs>
    image/gif;	 inline
    image/jpeg;	 inline
    image/x-xbitmap; inline
    image/x-xbm;	 inline
    </MIMEArgs>

## Resource Variables

N/A

## Examples

The following tells the text/plain filter to italicize quoted text in a followup.

    <MIMEArgs>
    text/plain;quote
    </MIMEArgs>

## Version

1.2

## See Also

MIMEFILTERS