Hi all,
Barry suggested I send this here. I didn't see much textual discussion
on the mailinglist archives recently....
I am moving my family website from a self-organized host with an ancient
Zope to a sort-of ISP without Zope, and looking for tools I stumbled
upon ht2html. It looked like a good tool matching my web-habits, except
that I do not like the multiple inheritance headaches....
Starting from the 2.0 release I wrote a new module Generator containing
some classes derived (and largely copied) from some of the classes in
the package, that uses object composition instead of inheritance for
the components. I also derived a generator for my site from it.
It also has a few tricks to start internationalizing my website: it does
convert files named xxx.en.ht -> xxx.html.en; something similar should
be implemented for the .h files.
Is this is a route that might be interesting to incorporate into ht2html?
Another thing I'm toying with is to build in py-interpolation into the
.ht body: everything between {{ }} would be executed in a python
interpreter and replaced by its stdout. Did anyone ever try something
like that? Going one step further, the .ht file could have a #! line
and the whole thing could be dynamically parsed...
Regards,
Rob
--
Rob W.W. Hooft || ro...@ho... || http://www.hooft.net/people/rob/
|