RE: Problem with entities in RSS

Kent Johnson <[email protected]> Mon, 26 Apr 2004 13:41:50 -0400
Newsgroups gmane.comp.python.pyds.user
Message-ID <a05210600bcb2f9c98dce@[192.168.0.128]>
Georg, I guess it is the weblog tool. I have a weblog category whose 
description was set to 'Python & Jython'. The <description> field in 
the category RSS is un-escaped. I think it is the call to 
$current.getRSSDescription() in the template that is the problem.

I am running PyDS 0.7.1 on Win2K.

Thanks,
Kent

At 4:07 PM +0200 4/26/04, Bauer, Georg wrote:
>Hi!
>
>>  The <description> field in the RSS from PyDS does not have
>>  XML entities escaped, so a description like 'Python & Jython'
>>  yields bad XML. Should this be fixed in PyDS or should I just
>>  put in the correct entity myself?
>
>What tool? I am rather sure that this doesn't happen with the WeblogTool, as
>there is a quoteXML call in the code. Actually all tools should allways
>produce correct RSS feeds, as they all use the same infrastructure -
>RSSFeedRendering.tmpl calls the getRSSItems method which produces RSS items
>with quoted field values.
>
>Can you give more details - like what RSS feed has this problem?
>
>bye, Georg


-- 
Kent S Johnson
http://www.kentsjohnson.com