3.2 RSS 0.92
RSS 0.92 arrived on Christmas Day 2000.
Written by Userland Software's Dave
Winer,
it expanded on 0.91 with five additional elements and a rethink of
various restrictions placed on string length. According to Syndic8,
30% of publicly available RSS feeds declare themselves as 0.92. This
may or may not be meaningful: 0.91 feeds are also valid as 0.92
feeds, and many declared 0.92 feeds may not use any of the additional
elements or features. Nevertheless, the additional elements do
provide richer metadata and the ability to use the Publish and
Subscribe feature, as described in Chapter 12.
Figure 3-2 shows a tree representation of RSS 0.92.
3.2.1 The Specification in Summary
XML-based.
One channel, with an unlimited number of items.
Each item may have a title, description, and URL, as well as a
source, category, and enclosure.
Richer metadata � now pertaining to the item, as well as the
channel.
Primarily pull-based, but gives facilities to enable Publish and
Subscribe.
Example 3-2 is an example of RSS 0.92.
Example 3-2. An example of RSS 0.92
<?xml version="1.0"?>
<rss version="0.92">
<channel>
<title>RSS0.92 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>[email protected]</managingEditor>
<webMaster>[email protected]</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>
<cloud domain="http://www.exampleurl.com" port="80" path="/RPC2"
registerProcedure="pleaseNotify" protocol="XML-RPC" />
<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>The World's Leading Technical Publisher</description>
</image>
<textInput>
<title>Search</title>
<description>Search the Archives</description>
<name>query</name>
<link>http://www.exampleurl.com/example/search.cgi</link>
</textInput>
<item>
<title>The First Item</title>
<link>http://www.exampleurl.com/example/001.html</link>
<description>This is the first item.</description>
<source url="http://www.anothersite.com/index.xml">Another Site</source>
<enclosure url="http://www.exampleurl.com/example/001.mp3" length="543210" type"audio
/mpeg"/>
<category domain="http://www.dmoz.org">Business/Industries/Publishing/Publishers/
Nonfiction/Business/O'Reilly_and_Associates/</category>
</item>
<item>
<title>The Second Item</title>
<link>http://www.exampleurl.com/example/002.html</link>
<description>This is the second item.</description>
<source url="http://www.anothersite.com/index.xml">Another Site</source>
<enclosure url="http://www.exampleurl.com/example/002.mp3" length="543210" type"audio/
mpeg"/>
<category domain="http://www.dmoz.org">Business/Industries/Publishing/Publishers/
Nonfiction/Business/O'Reilly_and_Associates/</category>
</item>
<item>
<title>The Third Item</title>
<link>http://www.exampleurl.com/example/003.html</link>
<description>This is the third item.</description>
<source url="http://www.anothersite.com/index.xml">Another Site</source>
<enclosure url="http://www.exampleurl.com/example/003.mp3" length="543210" type"audio/
mpeg"/>
<category domain="http://www.dmoz.org">Business/Industries/Publishing/Publishers/
Nonfiction/Business/O'Reilly_and_Associates/</category>
</item>
</channel>
</rss>
|