Create an RSS 1.0 Document
Create an RSS 1.0 document using a template or with Java.
RSS 1.0 is a branch from RSS 0.91 that incorporates elements from the W3C’s Resource Description Framework or RDF (http://www.w3.org/RDF/). Some folks didn’t particularly like this branch to RDF because they saw it as too complex. Nevertheless, RSS 1.0 is now a popular format for RSS documents, running a close second to RSS 0.91, according to http://www.syndic8.com/stats.php?Section=rss#RSSVersion.
Following is a minimal example of an RSS 1.0 document, available in the file archive as wyeast.rss and at http://www.wyeast.net/wyeast.rss:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0" xmlns:rdf="http://www.w3.org/1999/02/22
-rdf-syntax-ns#">
<channel rdf:about="http://www.wyeast.net/wyeast.rss">
<title>Wy'east Communications</title>
<link>http://www.wyeast.net</link>
<description>Wy'east Communications is an XML
consultancy.</description>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.wyeast.net/wyeast.html"/>
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://www.wyeast.net/wyeast.html">
<title>Legend of Wy'east</title>
<link>http://www.wyeast.net/wyeast.html</link>
<description>The Native American story behind the name
Wy'east.</description>
</item>
</rdf:RDF>The
rdf:RDF element from
the RDF namespace (http://www.w3.org/1999/02/22-rdf-syntax-ns#) is the document element. This element
must have exactly one channel child and one or
more item children (these ...