re: Convert from RSS 0.91 to RSS 2.0

Sam Ruby <[email protected]> Fri, 25 Jan 2008 08:54:54 -0500
Newsgroups gmane.network.syndication.rss.support
Message-ID <[email protected]>
I took a look at http://www.rssboard.org/convert-rss-0-91-to-rss-2-0 and 
would like to note two, somewhat related issues, and make a rather minor 
suggestion.

First is that the DTD in NetScape 0.91 had a functional purpose.  It 
enabled people to put character entities such as &mdash; and &nbsp; and 
&copy; in the text portions of their feed.  The overwhelming majority of 
such usages were in descriptions, and that leads us to...

"Because RSS 2.0 allows HTML in some elements," is unnecessarily vague. 
  There is exactly one element to be concerned about, and that is 
description.  In RSS 0.91, it MUST be plain text.  In RSS 2.0, the best 
practices profile indicates that it MUST be suitable for presentation as 
HTML.  This means that you either put a <![CDATA[ ]]> wrapper around the 
whole thing, or entity escape "&" and "<" characters.

Looping back to the first point, &mdash; becomes either &#amp;mdash; 
(note: NOT &#x26;!) or the whole description gets wrapped in CDATA.

The minor points are (1) if you are mentioning that item title is now 
optional, you probably also should mention that channel language is too; 
  and (2) it probably bears mentioning that pretty much all of the 
number of character limits which were present on various RSS 0.91 
elements were lifted.

- Sam Ruby


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-public/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rss-public/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/