HTML writer

Walter Dörwald walter at livinglogic.de
Sat Apr 3 04:30:02 EST 2004


Moosebumps wrote:

> "Walter Dörwald" <walter at livinglogic.de> wrote in message
> news:406D3C97.7020006 at livinglogic.de...
>
 >> [...]
>>
>>There are several possible HTML generators for Python:
>>HTMLgen http://starship.python.net/crew/friedrich/HTMLgen/html/main.html
>>HyperText http://dustman.net/andy/python/HyperText/
>>XIST http://www.livinglogic.de/Python/xist/
> 
> 
> Thanks for those links, they look like what I'm looking for.  Does anyone
> have any comment on which one of these requires you to have the least amount
> specific web programming knowledge?

Each of them requires you to know what the HTML tags mean.

> i.e. I know basic HTML, and I am an
> experienced C programmer, but haven't really delved into the specifics of
> it... never really wanted to clutter up my mind with the alphabet soup of
> web programming  : ).  I was thinking that there was some Python library
> that would wrap the functionality of these languages in some nice consistent
> OO python interface.  It looks like all of these are exactly that, from what
> I gather, which is great.
> 
> That is, I would not like any specific HTML tags anywhere in my own code,
> and it seems like that is what they will allow me to do.  But I would be
> interested to hear opinions/experiences with these packages.

As the author of XIST I'm naturally biased, but one advantange of XIST
is that it's still actively maintained. HTMLgen and HyperText don't
seem to be.

To see an example take a look at
http://www.livinglogic.de/viewcvs/index.cgi/LivingLogic/xist/HOWTO.xml.
This XML file doesn't contain any HTML tags, but gets converted to
HTML (see http://www.livinglogic.de/Python/xist/Howto.html), to
XSL-FO (see http://www.livinglogic.de/Python/xist/Howto.fo) and
PDF (see http://www.livinglogic.de/Python/xist/Howto.pdf)

HTH,
    Walter Dörwald




More information about the Python-list mailing list