O'Reilly logo

RSS and Atom by Heinz Wittenbrink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.2 The Basic Structure of an RSS 1.0 Document

Even the simplest RSS 1.0 document uses elements that derive from different vocabularies. The following listing contains the information that is also present in the sample document for RSS 2.0, Listing 2.1:

<?xml version="1.0"?> <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.celawi.eu/webtrends"> <title>Webtrends</title> <link>http://www.celawi.eu/webtrends.html</link> <description>News about commercial websites and online advertising</description> <items> <rdf:Seq> <rdf:li rdf:resource="http://www.celawi.eu/ webtrends/20040415_01"/> <rdf:li rdf:resource="http://www.celawi.eu/ webtrends/20040415_02"/> </rdf:Seq> </items> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required