Mako --> Genshi

Diez B. Roggisch deets at nospam.web.de
Sun Aug 31 09:41:30 CEST 2008


Chris Babcock schrieb:
> Is there a cheap way to convert Myghty/Mako templates to Kid/Genshi?
> There's some code written for Pylons that I want to incorporate into a
> TurboGears 2 project and Genshi templates are more likely to behave
> themselves with the tools I'm used to.

Not that I'm aware of. And I think it's impossible to reliably do that, 
because mako allows broken XML or "pure" HTML, whereas KID/Genshi 
require well-formed XML.

Diez



More information about the Python-list mailing list