Google for "java document management" and you'll find some pretty good open source projects. I found them a little huge and involved for what I needed and haven't actually tried any yet.
You might look at Java Wiki code like FrikiWiki (the author is here at the ranch) and Fitnesse. These do "real time" conversion of templates to HTML on a dynamic web server, but you could surely borrow some of the rendering ideas to use in batch to generate static HTML.
I generate static HTML for my hobby site in a scripting language (REXX) that lets me execute a block of code in a string so it was dead simple to embed script into my templates. It's described HERE but it looks like the link to dowload it is missing. Lemme know if it's at all interesting.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Sep 30, 2004
I am going to look through some of these open source options.