Sophie

Sophie

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

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



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>RSS 2.0 with Namespaces &mdash; feedparser 5.1.3 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/feedparser.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '5.1.3',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="feedparser 5.1.3 documentation" href="index.html" />
    <link rel="up" title="Annotated Examples" href="annotated-examples.html" />
    <link rel="next" title="RSS 1.0" href="annotated-rss10.html" />
    <link rel="prev" title="RSS 2.0" href="annotated-rss20.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="annotated-rss10.html" title="RSS 1.0"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="annotated-rss20.html" title="RSS 2.0"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">feedparser 5.1.3 documentation</a> &raquo;</li>
          <li><a href="annotated-examples.html" accesskey="U">Annotated Examples</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="rss-2-0-with-namespaces">
<span id="annotated-rss20dc"></span><h1>RSS 2.0 with Namespaces<a class="headerlink" href="#rss-2-0-with-namespaces" title="Permalink to this headline">ΒΆ</a></h1>
<p>This is a sample <abbr title="Rich Site Summary">RSS</abbr> 2.0 feed that uses several
allowable extension modules in namespaces. The feed is annotated with links
that show how each value can be accessed once the feed is parsed.</p>
<div class="admonition caution">
<p class="first admonition-title">Caution</p>
<p class="last">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.</p>
</div>
<p class="rubric">Annotated <abbr title="Rich Site Summary">RSS</abbr> 2.0 feed with namespaces</p>
<div class="pre container">
&lt;?xml version=&#8221;1.0&#8221; encoding=&#8221;<a class="reference internal" href="reference-encoding.html#reference-encoding"><em>utf-8</em></a>&#8221;?&gt;
&lt;rss version=&#8221;<a class="reference internal" href="reference-version.html#reference-version"><em>2.0</em></a>&#8221;
xmlns:dc=&#8221;http://purl.org/dc/elements/1.1/&#8221;
xmlns:admin=&#8221;http://webns.net/mvcb/&#8221;
xmlns:content=&#8221;http://purl.org/rss/1.0/modules/content/&#8221;
xmlns:rdf=&#8221;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#8221;&gt;
&lt;channel&gt;
&lt;title&gt;<a class="reference internal" href="reference-feed-title.html#reference-feed-title"><em>Sample Feed</em></a>&lt;/title&gt;
&lt;link&gt;<a class="reference internal" href="reference-feed-link.html#reference-feed-link"><em>http://example.org/</em></a>&lt;/link&gt;
&lt;description&gt;<a class="reference internal" href="reference-feed-subtitle.html#reference-feed-subtitle"><em>For documentation only</em></a>&lt;/description&gt;
&lt;dc:language&gt;<a class="reference internal" href="reference-feed-language.html#reference-feed-language"><em>en-us</em></a>&lt;/dc:language&gt;
&lt;dc:creator&gt;<a class="reference internal" href="reference-feed-author_detail.html#reference-feed-author-detail-name"><em>Mark Pilgrim</em></a> (<a class="reference internal" href="reference-feed-author_detail.html#reference-feed-author-detail-email"><em>mark&#64;example.org</em></a>)&lt;/dc:creator&gt;
&lt;dc:rights&gt;<a class="reference internal" href="reference-feed-rights.html#reference-feed-rights"><em>Copyright 2004 Mark Pilgrim</em></a>&lt;/dc:rights&gt;
&lt;dc:date&gt;<a class="reference internal" href="reference-feed-updated.html#reference-feed-updated"><em>2004-06-04T17:40:33-05:00</em></a>&lt;/dc:date&gt;
&lt;admin:generatorAgent rdf:resource=&#8221;<a class="reference internal" href="reference-feed-generator_detail.html#reference-feed-generator-detail-href"><em>http://www.exampletoolkit.org/</em></a>&#8220;/&gt;
&lt;admin:errorReportsTo rdf:resource=&#8221;<a class="reference internal" href="reference-feed-errorreportsto.html#reference-feed-errorreportsto"><em>mailto:mark&#64;example.org</em></a>&#8220;/&gt;
&lt;item&gt;
&lt;title&gt;<a class="reference internal" href="reference-entry-title.html#reference-entry-title"><em>First of all</em></a>&lt;/title&gt;
&lt;link&gt;<a class="reference internal" href="reference-entry-link.html#reference-entry-link"><em>http://example.org/archives/2002/09/04.html#first_of_all</em></a>&lt;/link&gt;
&lt;guid isPermaLink=&#8221;false&#8221;&gt;<a class="reference internal" href="reference-entry-id.html#reference-entry-id"><em>1983&#64;example.org</em></a>&lt;/guid&gt;
&lt;description&gt;
<a class="reference internal" href="reference-entry-summary.html#reference-entry-summary"><em>Americans are fat. Smokers are stupid. People who don&#8217;t speak Perl are irrelevant.</em></a>
&lt;/description&gt;
&lt;dc:subject&gt;<a class="reference internal" href="reference-entry-tags.html#reference-entry-tags-term"><em>Quotes</em></a>&lt;/dc:subject&gt;
&lt;dc:date&gt;<a class="reference internal" href="reference-entry-updated.html#reference-entry-updated"><em>2002-09-04T13:54:20-05:00</em></a>&lt;/dc:date&gt;
&lt;content:encoded&gt;&lt;![CDATA[<a class="reference internal" href="reference-entry-content.html#reference-entry-content-value"><em>&lt;cite&gt;Ian Hickson&lt;/cite&gt;: &lt;q&gt;&lt;a href=&#8221;http://ln.hixie.ch/?start=1030823786&amp;amp;count=1?&gt;
Americans are fat. Smokers are stupid. People who don&#8217;t speak Perl are irrelevant.
&lt;/a&gt;&lt;/q&gt;</em></a>
]]&gt;
&lt;/content:encoded&gt;
&lt;/item&gt;
&lt;/channel&gt;
&lt;/rss&gt;</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="annotated-rss20.html"
                        title="previous chapter"><abbr title="Rich Site Summary">RSS</abbr> 2.0</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="annotated-rss10.html"
                        title="next chapter"><abbr title="Rich Site Summary">RSS</abbr> 1.0</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/annotated-rss20-dc.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="annotated-rss10.html" title="RSS 1.0"
             >next</a> |</li>
        <li class="right" >
          <a href="annotated-rss20.html" title="RSS 2.0"
             >previous</a> |</li>
        <li><a href="index.html">feedparser 5.1.3 documentation</a> &raquo;</li>
          <li><a href="annotated-examples.html" >Annotated Examples</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2004-2008 Mark Pilgrim, 2010-2012 Kurt McKee.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>