This is a lovely little macro extension to html. The idea is that way too much is done these days at serving time and the vast majority of things can, and should, be done in a pre-compiled fashion. There are a few other good macro extensions to html but one of my largest criteria was not satisfied by any of them. That is, I wanted my macros to look like real, normal, html. I searched for a while (on and off) and didn't find one that did quite what I wanted, so I wrote my own, as you can see.
My intension is that a large site should be maintainable through some standard mhtml included macros and some small (perl) scripts.
All the needed functionality is in place and now it is just a matter of fine-tuning and documenting. For instance the pretty-printing and white-space issues are still being dealt with. This very page was generated with mhtml, as were a few other pages on this site (using the command "mhtml -p -I ~/deathonastick/share/ index.mhtml", all the relevant files can be found after doing a small look-about in my directory tree).
The project requires Ocaml and the Pcre library. After a successful build you will note that "mhtml -h" does give a bit of help, but there is quite a bit to be desired in the way of documentation. As always, feel free to email me. Just keep in mind that this is a work in progress!
Archived/released versions can be found here on my website.
HISTORY / NOTES