This technical note does not fit in our style. There is a good reason for this, because it is about constructing HTML files (among other things) with Lua. Read the original page sent by Gavin.
The Weave program has been updated comprehensively since it was originally described here.