Posted by David Dorward on 01/17/07 21:31
Bart Vandewoestyne wrote:
> Are there any recommended and easy to use HTML preprocessors?
These days I'm using a homebrew thing in Perl that does a bunch of
processing on documents (such as tagish indexes, related page blocks
and tables of content generated from the headings in the document), but
at the heart of it is Template-Toolkit.
http://www.template-toolkit.org/
The ttree program that comes with it sounds like just what you need.
http://www.template-toolkit.org/docs/plain/Tools/ttree.html
Note the insert and include directives.
http://www.template-toolkit.org/docs/plain/Manual/Directives.html#Processing_Other_Template_Files_and_Blocks
[Back to original message]
|