<!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>Changes in version 4.0 — 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="Revision history" href="history.html" /> <link rel="next" title="Changes in version 3.3" href="changes-33.html" /> <link rel="prev" title="Changes in version 4.0.1" href="changes-401.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="changes-33.html" title="Changes in version 3.3" accesskey="N">next</a> |</li> <li class="right" > <a href="changes-401.html" title="Changes in version 4.0.1" accesskey="P">previous</a> |</li> <li><a href="index.html">feedparser 5.1.3 documentation</a> »</li> <li><a href="history.html" accesskey="U">Revision history</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="changes-in-version-4-0"> <h1>Changes in version 4.0<a class="headerlink" href="#changes-in-version-4-0" title="Permalink to this headline">ΒΆ</a></h1> <p><strong class="program">Universal Feed Parser</strong> 4.0 was released on December 23, 2005.</p> <ul class="simple"> <li>Support for <a class="reference internal" href="annotated-atom10.html#annotated-atom10"><em>Atom 1.0</em></a>.</li> <li>Support for <strong class="program">iTunes</strong> extensions.</li> <li>Support for dc:contributor.</li> <li><strong class="program">Universal Feed Parser</strong> now captures the feed’s <a class="reference internal" href="reference-namespaces.html#reference-namespaces"><em>namespaces</em></a>. See <a class="reference internal" href="namespace-handling.html#advanced-namespaces"><em>Namespace Handling</em></a> for details.</li> <li>Lots of things have been renamed to match Atom 1.0 terminology. issued is now <a class="reference internal" href="reference-entry-published.html#reference-entry-published"><em>entries[i].published</em></a>, modified is now <a class="reference internal" href="reference-entry-updated.html#reference-entry-updated"><em>entries[i].updated</em></a>, and url is now href everywhere. You can still access these elements with the old names, so you shouldn’t need to change any existing code, but don’t be surprised if you can’t find them during debugging.</li> <li>category and categories have been replaced by tags, see <a class="reference internal" href="reference-feed-tags.html#reference-feed-tags"><em>feed.tags</em></a> and <a class="reference internal" href="reference-entry-tags.html#reference-entry-tags"><em>entries[i].tags</em></a>. The old names still work.</li> <li>mode is gone from all detail and content dictionaries. It was never terribly useful, since <strong class="program">Universal Feed Parser</strong> unescapes content automatically.</li> <li><a class="reference internal" href="reference-entry-source.html#reference-entry-source"><em>entries[i].source</em></a> is now a dictionary of feed metadata as per section 4.2.11 of RFC 4287. <strong class="program">Universal Feed Parser</strong> no longer supports the <abbr title="Rich Site Summary">RSS</abbr> 2.0’s source element.</li> <li>Content in unknown namespaces is no longer discarded (<a class="reference external" href="http://sourceforge.net/tracker/index.php?func=detail&aid=993305&group_id=112328&atid=661937">bug 993305</a>)</li> <li>Lots of other bug fixes.</li> </ul> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="changes-401.html" title="previous chapter">Changes in version 4.0.1</a></p> <h4>Next topic</h4> <p class="topless"><a href="changes-33.html" title="next chapter">Changes in version 3.3</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/changes-40.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="changes-33.html" title="Changes in version 3.3" >next</a> |</li> <li class="right" > <a href="changes-401.html" title="Changes in version 4.0.1" >previous</a> |</li> <li><a href="index.html">feedparser 5.1.3 documentation</a> »</li> <li><a href="history.html" >Revision history</a> »</li> </ul> </div> <div class="footer"> © 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>