RSS 1.0

This is a sample RSS 1.0 feed, annotated with links that show how each value can be accessed once the feed is parsed.

Caution
Even though many of these elements are required according to the specification, real-world feeds may be missing any element. If an element is not present in the feed, it will not be present in the parsed results. You should not rely on any particular element being present.

Example: Annotated RSS 1.0 feed

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.example.org/index.rdf">
  <title>Sample Feed</title>
  <link>http://www.example.org/</link>
  <description>For documentation only</description>
  <dc:language>en</dc:language>
  <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/>
  <dc:creator>Mark Pilgrim (mark@example.org)</dc:creator>
  <dc:date>2004-06-04T17:40:33-05:00</dc:date>
  <admin:generatorAgent rdf:resource="http://www.exampletoolkit.org/"/>
  <admin:errorReportsTo rdf:resource="mailto:mark@example.org"/>
  <items>
    <rdf:Seq>
      <rdf:li rdf:resource="http://www.example.org/1" />
    </rdf:Seq>
  </items>
</channel>
<item rdf:about="http://www.example.org/1">
  <title>First of all</title>
  <link>http://example.org/archives/2002/09/04.html#first_of_all</link>
  <description>
    Americans are fat. Smokers are stupid. People who don't speak Perl are irrelevant.
  </description>
  <dc:subject>Quotes</dc:subject>
  <dc:date>2004-05-30T14:23:54-06:00</dc:date>
  <content:encoded><![CDATA[
    <cite>Ian Hickson</cite>: <q><a href="http://ln.hixie.ch/?start=1030823786&count=1">
    Americans are fat. Smokers are stupid. People who don't speak Perl are irrelevant.
    </a></q>]]>
  </content:encoded>
</item>
</rdf:RDF>
← Annotated Examples
RSS 2.0 →