Le 09/08/2011 01:53, Christoph Zwerschke a écrit :
Sorry for rehashing and old thread. When trying to improve the render_genshi function with Alessandro today, we noticed that render_chameleon_genshi was actually the same as render_genshi. On setup the Chameleon.Genshi template loader was in fact imported, but then render_chameleon_genshi used the normal Genshi template loader anyway. That would explain your experience.

Has anybody actually ever used Chameleon.Genshi with TurboGears and knows the state of the project? Seems it has been abandoned and not kept up with the chameleon core. It is also not fully compatible with Genshi, particularly concerning match templates.
That may be the reason why it was not working. I don't know about the amount of work for Chameleon.Genshi to be working nice, but here are the reasons why I would have used it if performance was here :
  • Valid XML documents "by design" (like Genshi)
  • Inheritage between templates (like Mako)
  • Genshi syntax is largely more readable than Mako one
  • Genshi syntax may even be "web site designer" readable
In my case I finally decided to use Mako because of complex templates and speed requirements, but I'm not satisfied because document syntax may be invalid.

The last release of Chameleon is the 2.2 and was out on 2011-07-28.
The last release if Chameleon.Genshi is the 1.0.4 and was out on 2009-03-05. It depends on Chameleon 1.0b21 :-o

Chameleon.Genshi repository has moved from svn://svn.repoze.org/svn/chameleon.genshi to git://github.com/Pylons/pyramid_chameleon_genshi

The trunk of pyramid_chameleon_genshi seems still to be maintained, but it's "locked on Chameleon<2" : the latest release is the 0.6 (from april) and a release note says : Added dependency on Chameleon<1.999 (Genshi support is not present in Chameleon 2).

As Michael said : "Chameleon.Genshi is old"... it's even not supported anymore. pyramid_chameleon_genshi may replace it, but Chameleon.Genshi itself is dead.

Damien

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Reply via email to