Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 7e03e96dde1cbbdbc7cc96424cd9e059 > files > 136

python-feedparser-doc-5.1.3-3.fc18.noarch.rpm

.. _annotated.rss10:

:abbr:`RSS (Rich Site Summary)` 1.0
===================================

This is a sample :abbr:`RSS (Rich Site Summary)` 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.

.. rubric:: Annotated :abbr:`RSS (Rich Site Summary)` 1.0 feed

.. container:: pre

    <?xml version="1.0" encoding=":ref:`utf-8 <reference.encoding>`"?>
    <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=":ref:`http://purl.org/rss/1.0/ <reference.version>`">
    <channel rdf:about="http://www.example.org/index.rdf">
    <title>\ :ref:`Sample Feed <reference.feed.title>`\</title>
    <link>\ :ref:`http://www.example.org/ <reference.feed.link>`\</link>
    <description>\ :ref:`For documentation only <reference.feed.subtitle>`\</description>
    <dc:language>\ :ref:`en <reference.feed.language>`\</dc:language>
    <cc:license rdf:resource=":ref:`http://web.resource.org/cc/PublicDomain <reference.feed.license>`"/>
    <dc:creator>\ :ref:`Mark Pilgrim <reference.feed.author_detail.name>` (:ref:`mark@example.org <reference.feed.author_detail.email>`)</dc:creator>
    <dc:date>\ :ref:`2004-06-04T17:40:33-05:00 <reference.feed.updated>`\</dc:date>
    <admin:generatorAgent rdf:resource=":ref:`http://www.exampletoolkit.org/ <reference.feed.generator_detail.href>`"/>
    <admin:errorReportsTo rdf:resource=":ref:`mailto:mark@example.org <reference.feed.errorreportsto>`"/>
    <items>
    <rdf:Seq>
    <rdf:li rdf:resource="http://www.example.org/1" />
    </rdf:Seq>
    </items>
    </channel>
    <item rdf:about=":ref:`http://www.example.org/1 <reference.entry.id>`">
    <title>\ :ref:`First of all <reference.entry.title>`\</title>
    <link>\ :ref:`http://example.org/archives/2002/09/04.html#first_of_all <reference.entry.link>`\</link>
    <description>
    :ref:`Americans are fat. Smokers are stupid. People who don't speak Perl are irrelevant. <reference.entry.summary>`
    </description>
    <dc:subject>\ :ref:`Quotes <reference.entry.tags.term>`\</dc:subject>
    <dc:date>\ :ref:`2004-05-30T14:23:54-06:00 <reference.entry.updated>`\</dc:date>
    <content:encoded><![CDATA[\ :ref:`\<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>]]> <reference.entry.content>`
    </content:encoded>
    </item>
    </rdf:RDF>