|
syntax
< WHILE NOT i="10">
...
< INC i>
< /WHILE>
< FILE DATE></EM>
< imageurl url="other.domain.org/" path="/var/www/other.domain/">
For this line: < img src="logo.gif">
the local filename "logo.gif" will be used to determine image dimensions
(no URL replacement).
For this line: < img src="http://my.domain.org/logo.gif">
the local filename "/var/www/my.domain/logo.gif" will be used.
But for this line: < img src="http://other.domain.org/logo.gif">
the local file cannot be found (no prefix match), so the image dimensions
will not be added.
Order is important; last IMAGEURL tag takes precedence:
< imageurl url="/" path="/var/www/htdocs/">
< imageurl url="/test/" path="/var/www/test/">
< img src="/image.gif"> and < img src="/test/image.gif"> are mapped to
/var/www/htdocs/image.gif and /var/www/test/image.gif, resp.
If the order of the imageurl lines would be swapped, the second
image would be mapped to /var/www/htdocs/test/image.gif.
synopsis
QUOTE is used to quote a macro that would otherwise
be interpreted by HTP. It may be useful in conjunction with a
surrounding EXPANDed block to prevent early
expansion of some contained blocks. Note that '$' evaluation is still
done inside a quote block.
|