An article in the December 1997 issue of Linux Journal
describes htmlpp, and is a good introduction to this tool.
- Htmlpp is a pre-processor for HTML documents.
- Its purpose is to simplify the work of writing and packaging
large numbers of HTML documents.
- It acts like a compiler: you provide an input source text
and htmlpp produces the HTML documents from that. This is easier
and safer than trying to edit and manage separate HTML documents.
- To use htmlpp, you should be comfortable writing HTML without
help from a special HTML editor. This is not usually a problem,
since HTML is a simple language.
- Htmlpp is free software written in Perl, and copyright ©
1996-99 iMatix. It is distributed with full sources according
to the GNU General Public License.
- It breaks one input source text file into several HTML
documents. Typically you will want to edit a larger file (it is
faster and easier), but provide the information in smaller pieces
on-line (people can access it easier). Htmlpp makes this
- It lets you define symbols like
version in one place,
then use these in the text like this:
4.2a so that
you can make changes in a single place only, not throughout the
- It creates tables of contents, and links to chain pages
together in sequence.
- It adds headers and footers to pages, so that you can keep a
consistent style in all HTML pages.
- It lets you define macros to simplify HTML markup.
- It converts plain text into HTML using guru.
- It converts accented characters into HTML metacharacters.
- It allows you to embed Perl code and to include the output of any
external program into the page.
- It provides features to build multilingual sites.
- It creates and queries flat-text databases.
- It provides many built-in functions to simplify HTML writing, like
calculating image dimensions, file sizes, working with dates, etc.
- It automates reprocessing of documents in big sites when some content
expires and when some information is modified in other page