Thanks. I did 'from kid import XML' and it now works for the RSS2 feed. It doesn't for the atom feed though, but I don't care much for it...
Thanks Diez and Chris! On Dec 16, 1:45 pm, "Diez B. Roggisch" <[email protected]> wrote: > On Wednesday 16 December 2009 12:40:49 Yo'av Moshe wrote: > > > > > > > Sure. That's my feed - noal.org.il/rss/atom1.0 . > > It shows Item.title as the entry's title, and Item.content as it's > > summary. > > > As you can see in the feed, my items' content is XHTML, but in the > > feed it's escaped. > > I want TurboFeed to not escape my content, so if Item.content has an > > '<img>' in it, my users will see the image in their RSS reader of > > choice. > > > I understand that this is the default behavior of Genshi and Kid, but > > how can one skip it? When I'm editing my usual templates, I can use XML > > (Item.content) and then my content isn't escaped, but how can tell > > TurboFeeds to do that? XML() isn't available in the controller AFAIK. > > > Hope is was understood, English isn't my native language :) > > But you can import the XML-function from genshi or KID, and simply use it in > your controller when passing down the XML-containing content. Then the > templating system shouldn't escape anymore. > > For genshi, the import is > > from genshi import XML > > Dunno what KID uses. > > Diez -- 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.

