RewriteHTMLDocumentTo (open)
Smart HTML rewriter
Syntax
LOADLIB "wh::filetypes/html.whlib";
MACRO RewriteHTMLDocumentTo(INTEGER outputid, BLOB htmldoc, RECORD callbacks, STRING encoding)Parameters
INTEGER outputidDocument destination
BLOB htmldocHTML Document to rewrite
RECORD callbacksRecord with situation specific callbacks
globallinkrewriteGlobal link rewriter (both images and hyperlinks)
hyperlinkurlrewriteHyperlink source rewriter
imageurlrewriteImage source rewriter
STRING encodingOptional parameter specifying encoding. Defaults to "".