On 7 Apr 2010, at 11:05, Mark Rogers wrote:
I'm (fairly) sure someone here was talking about a templating system for generating static HTML (ie you write the templates, run a script, and get a set of HTML that you upload to the website). I can't find it by searching my ALUG archive for phrases like static, HTML or template, though.
Does anyone recall what it was? If not (or regardless), does anyone have any recommendations?
I'm building a website for someone who will need to maintain the static HTML themselves when finished. Since all the pages have common elements it's a pain not templating it for my own benefit, however.
I could just work in PHP/Smarty as I normally would, then "wget --mirror" the site to generate the static HTML, but if there are better solutions I'm always happy to learn something new!
You could use some sort of markup language and have that generate the HTML for you. Perhaps something like http://sourceforge.net/projects/rest2web/ would be useful?