The convert-to-html function converts the current resource into an HTML file for further processing, if its type matches a specified MIME type. The conversion filter automatically detects the type of the file it is converting.
The parameter used with the convert-to-html function and its description is:
MIME type from which to convert.
The following sequence of function calls causes the filter to convert all Adobe Acrobat PDF files, Microsoft RTF files, and FrameMaker MIF files to HTML, as well as any files whose type was not specified by the server that delivered it.
Data fn=convert-to-html type=application/pdf Data fn=convert-to-html type=application/rtf Data fn=convert-to-html type=application/x-mif Data fn=convert-to-html type=unknown |