3.1 RSS 0.91

The oldest and most established RSS standard still in use, RSS 0.91 was originally released by Netscape's RSS team, led by Dan Libby, in July 1999. It was later refined and further documented by Netscape, with Userland Software's Dave Winer. It is based on a combination of Netscape's RSS 0.90 and Userland's own older ScriptingNews 2.0b1 format. Neither of those formats are used in any meaningful way today, but RSS 0.91 continues. At the time of this writing, Syndic8 one of the largest RSS aggregators on the web has 55% of its feeds declaring themselves as RSS 0.91. While later versions of the 0.9x standard build on this original spec in many useful ways, 0.91 is a good place for the RSS practitioner to start. Figure 3-1 shows a tree representation of RSS 0.91.

Figure 3-1. A tree representation of RSS 0.91

3.1.1 The Specification in Summary

  • XML-based.

  • Consists of one channel, containing up to 15 items.

  • Each item has a title, a description, and a URL.

  • Limited metadata, only applying to the channel.

  • Pull-based: the user must request the feed.

  • Feeds can contain an optional text entry box.

Example 3-1 is an example of RSS 0.91.

Example 3-1. An example of RSS 0.91
 <?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="0.91"> <channel>   <title>RSS0.91 Example</title>    <link>http://www.exampleurl.com/example/index.html</link>    <description>This is an example RSS0.91 feed</description>  <language>en-gb</language>   <copyright>Copyright 2002, Oreilly and Associates.</copyright>    <managingEditor>editor@exampleurl.com</managingEditor>    <webMaster>webmaster@exampleurl.com</webMaster>    <rating></rating>   <pubDate>03 Apr 02 1500 GMT</pubDate>   <lastBuildDate>03 Apr 02 1500 GMT</lastBuildDate>   <docs>http://backend.userland.com/rss091</docs>   <skipDays>     <day>Monday</day>   </skipDays>   <skipHours>     <hour>20</hour> </skipHours>   <image>     <title>RSS0.91 Example</title>      <url>http://www.exampleurl.com/example/images/logo.gif</url>      <link>http://www.exampleurl.com/example/index.html</link>     <width>88</width>      <height>31</height>      <description>Computer Books, Conferences, Online Publishing</description>   </image>       <textInput>     <title>     <description>     <name>     <link>   </textInput>       <item>     <title>The First Item</title>      <link>http://www.exampleurl.com/example/001.html</link>      <description>This is the first item.</description>    </item>       <item>     <title>The Second Item</title>      <link>http://www.exampleurl.com/example/002.html</link>      <description>This is the second item.</description>    </item>       <item>     <title>The Third Item</title>      <link>http://www.exampleurl.com/example/003.html</link>      <description>This is the third item.</description>    </item> </channel> </rss> 

Content Syndication with RSS
Content Syndication with RSS
ISBN: 0596003838
EAN: 2147483647
Year: 2005
Pages: 96

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net