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 :)

Thank you.
Yo'av

On Dec 16, 12:03 pm, Christopher Arndt <[email protected]> wrote:
> Am 15.12.2009 22:55, schrieb Yo'av Moshe:
>
> > Also, is there a way to avoid escaping XML in the entry['summary'] ?
>
> > I tried going over the documentation but found nothing
> > (@TurboFeeds&FeedController).
> > Looking at the code it seems like it's hard-coded in the template...
> > is it really?
>
> I'm not sure what you mean. All data passed to the templates is escaped,
> as is normal behaviour for kid and genshi templates.
>
> Can you tell us, what you are trying to achieve?
>
> Chris

--

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