Re: template engine

2007-01-14 Thread [EMAIL PROTECTED]
> > > $title > > > #if user > hello $user/name > #else > hello guest > #endif > > This example code would work in cheetah with only 2 changes... www.cheetahtemplate.org Pete -- http://mail.python.org/mailman/listinfo/python-list

Re: template engine

2007-01-13 Thread Cliff Wells
piotr wrote: > On Sat, 13 Jan 2007 16:42:16 -0200, Jorge Godoy wrote: > >> Take a look at Kid (http://www.kid-templating.org/) and Genshi >> (http://genshi.edgewall.org/). > > I've already done a short look at kid, but to be honest I don't like it's > XML/Python syntax. I strongly prefer idea fro

Re: template engine

2007-01-13 Thread piotr
On Sat, 13 Jan 2007 16:42:16 -0200, Jorge Godoy wrote: > Take a look at Kid (http://www.kid-templating.org/) and Genshi > (http://genshi.edgewall.org/). I've already done a short look at kid, but to be honest I don't like it's XML/Python syntax. I strongly prefer idea from SimpleTAL or HTMLTempla

Re: template engine

2007-01-13 Thread Jorge Godoy
piotr <[EMAIL PROTECTED]> 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 eng