<!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 3.3 — 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.2" href="changes-32.html" /> <link rel="prev" title="Changes in version 4.0" href="changes-40.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-32.html" title="Changes in version 3.2" accesskey="N">next</a> |</li> <li class="right" > <a href="changes-40.html" title="Changes in version 4.0" 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-3-3"> <h1>Changes in version 3.3<a class="headerlink" href="#changes-in-version-3-3" title="Permalink to this headline">ΒΆ</a></h1> <p><strong class="program">Universal Feed Parser</strong> 3.3 was released on July 15, 2004.</p> <ul class="simple"> <li>optimized <abbr>EBCDIC</abbr> to <abbr>ASCII</abbr> conversion</li> <li>fixed obscure problem tracking xml:base and xml:lang if element declares it, child doesn’t, first grandchild redeclares it, and second grandchild doesn’t</li> <li>refactored date parsing</li> <li>defined public <tt class="docutils literal"><span class="pre">registerDateHandler</span></tt> so callers can add support for additional date formats at runtime</li> <li>added support for OnBlog, Nate, MSSQL, Greek, and Hungarian dates (ytrewq1)</li> <li>added <tt class="docutils literal"><span class="pre">zopeCompatibilityHack()</span></tt> which turns FeedParserDict into a regular dictionary, required for <strong class="program">Zope</strong> compatibility, and also makes command-line debugging easier because pprint module formats real dictionaries better than dictionary-like objects</li> <li>added NonXMLContentType exception, which is stored in <tt class="docutils literal"><span class="pre">bozo_exception</span></tt> when a feed is served with a non-<abbr title="Extensible Markup Language">XML</abbr> media type such as <tt class="docutils literal"><span class="pre">'text/plain'</span></tt></li> <li>respect <tt class="docutils literal"><span class="pre">Content-Language</span></tt> as default language if no xml:lang is present</li> <li><tt class="docutils literal"><span class="pre">cloud</span></tt> dict is now FeedParserDict</li> <li>generator dict is now FeedParserDict</li> <li>better tracking of xml:lang, including support for xml:lang=’’ to unset the current language</li> <li>recognize <abbr title="Rich Site Summary">RSS</abbr> 1.0 feeds even when <abbr title="Rich Site Summary">RSS</abbr> 1.0 namespace is not the default namespace</li> <li>don’t overwrite final status on redirects (scenarios: redirecting to a <abbr title="Uniform Resource Identifier">URI</abbr> that returns <tt class="docutils literal"><span class="pre">304</span></tt>, redirecting to a <abbr title="Uniform Resource Identifier">URI</abbr> that redirects to another <abbr title="Uniform Resource Identifier">URI</abbr> with a different type of redirect)</li> <li>add support for <tt class="docutils literal"><span class="pre">HTTP</span> <span class="pre">303</span></tt> redirects</li> </ul> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="changes-40.html" title="previous chapter">Changes in version 4.0</a></p> <h4>Next topic</h4> <p class="topless"><a href="changes-32.html" title="next chapter">Changes in version 3.2</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/changes-33.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-32.html" title="Changes in version 3.2" >next</a> |</li> <li class="right" > <a href="changes-40.html" title="Changes in version 4.0" >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>