template engine

Jorge Godoy jgodoy at gmail.com
Sat Jan 13 13:42:16 EST 2007


piotr <piotrlewalski at gmail.com> writes:

(...)

> for user was not empty call function again with argument "user/name"
> then engine should replace specific placeholders with results of my
> callback function
> obviously this is just example syntax, I hope you catch the idea
>
> that would be nice if engine could work with non HTML documents.
>
> thanks in advance for your help, and sorry for my English :)

Take a look at Kid (http://www.kid-templating.org/) and Genshi
(http://genshi.edgewall.org/).

-- 
Jorge Godoy      <jgodoy at gmail.com>



More information about the Python-list mailing list