As a data model, RSS 1.0 is similar to RSS 2.0, since both are designed to be represent feeds. In contrast to RSS 2.0, however, RSS 1.0 is expressed using the W3C RDF specification (http://www.w3.org/TR/REC-rdf-syntax/
). Consequently, RSS 1.0 feeds are part of the Semantic Web, an ambitious effort of the W3C to build a “common framework that allows data to be shared and reused across application, enterprise, and community boundaries...based on the Resource Description Framework (RDF).”[69]
![]() | Note |
---|---|
Other than this description of RSS 1.0 and a brief analysis of RDFa in Chapter 18, the Semantic Web is beyond the scope of this book. Although I urge any serious student of mashups to track the Semantic Web for its long-term promise to transform the world of mashups, it has yet to make such an impact. Nonetheless, because RSS 1.0 is a concrete way to get started with RDF, I mention it here. |
You can find the RDF 1.0 specification here:
http://web.resource.org/rss/1.0/spec
The RDF 1.0 format is associated with an RDF schema (http://www.w3.org/TR/rdf-schema/
):
http://web.resource.org/rss/1.0/schema.rdf
Here I rewrite the RSS 2.0 feed to represent the same information as RSS 1.0 to give you a feel for the syntax of RSS 1.0:[70]
<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/"> <channel rdf:about="http://www.apress.com/rss/whatsnew.xml"> <title>Apress :: The Expert's Voice</title> <link>http://www.apress.com/</link> <description> Welcome to Apress.com. Books for Professionals, by Professionals(TM)... with what the professional needs to know(TM) </description> <items> <rdf:Seq> <rdf:li rdf:resource="http://www.apress.com/book/bookDisplay.html? bID=10232" /> <rdf:li rdf:resource="http://www.apress.com/book/bookDisplay.html? bID=10249" /> </rdf:Seq> </items> </channel> <item rdf:about="http://www.apress.com/book/bookDisplay.html?bID=10232"> <title>Excel 2007: Beyond the Manual</title> <link>http://www.apress.com/book/bookDisplay.html?bID=10232</link> <description> <p><i>Excel 2007: Beyond the Manual</i> will introduce those who are already familiar with Excel basics to more advanced features, like consolidation, what-if analysis, PivotTables, sorting and filtering, and some commonly used functions. You'll learn how to maximize your efficiency at producing professional-looking spreadsheets and charts and become competent at analyzing data using a variety of tools. The book includes practical examples to illustrate advanced features.</p> </description> </item> <item rdf:about="http://www.apress.com/book/bookDisplay.html?bID=10249"> <title>Word 2007: Beyond the Manual</title> <link>http://www.apress.com/book/bookDisplay.html?bID=10249</link> <description> <p><i>Word 2007: Beyond the Manual</i> focuses on new features of Word 2007 as well as older features that were once less accessible than they are now. This book also makes a point to include examples of practical applications for all the new features. The book assumes familiarity with Word 2003 or earlier versions, so you can focus on becoming a confident 2007 user.</p> </description> </item> </rdf:RDF>
Consider the following aspects of RSS 1.0:
Note the commonality in data structure between RSS 1.0 and RSS 2.0 in the use of such elements as <channel>
, <item>
, <title>
, and <description>
.
It uses an XML namespace associated with RDF (http://www.w3.org/1999/02/22-rdf-syntax-ns#
) and a default namespace related to RSS 1.0 (http://purl.org/rss/1.0/
) to place all elements such as <channel>
, <item>
, and <title>
into that namespace.
It uses an enclosing <rdf:RDF>
root element.
Note the sequencing of <rdf:resources>
contained by an <items>
element.
Note the placement of the <item>
elements outside the <channel>
element.
Since RSS 1.0 feeds are harder to find than RSS 2.0 and Atom 1.0 feeds, the following are some examples of RSS 1.0 feeds:
![]() | Note |
---|---|
There are efforts to update RSS. The RSS Advisory Board ( |