<!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 2.7.x — 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 2.6" href="changes-26.html" /> <link rel="prev" title="Changes in version 3.0" href="changes-30.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-26.html" title="Changes in version 2.6" accesskey="N">next</a> |</li> <li class="right" > <a href="changes-30.html" title="Changes in version 3.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-2-7-x"> <h1>Changes in version 2.7.x<a class="headerlink" href="#changes-in-version-2-7-x" title="Permalink to this headline">ΒΆ</a></h1> <p>The 2.7 series was a brief but necessary transition towards some of the core ideas in version 3.0.</p> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.6 was released on January 16, 2004.</p> <ul class="simple"> <li>fixed bug with <tt class="file docutils literal"><span class="pre">StringIO</span></tt> importing</li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.5 was released on January 15, 2004.</p> <ul class="simple"> <li>added workaround for malformed DOCTYPE (seen on many <tt class="docutils literal"><span class="pre">blogspot.com</span></tt> sites)</li> <li>added <tt class="docutils literal"><span class="pre">_debug</span></tt> variable</li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.4 was released on January 14, 2004.</p> <ul class="simple"> <li>added workaround for improperly formed <br/> tags in encoded <abbr title="HyperText Markup Language">HTML</abbr> (skadz)</li> <li>fixed unicode handling in normalize_attrs (ChrisL)</li> <li>fixed relative <abbr title="Uniform Resource Identifier">URI</abbr> processing for guid (skadz)</li> <li>added ICBM support</li> <li>added <tt class="file docutils literal"><span class="pre">base64</span></tt> support</li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.3 was released on January 14, 2004.</p> <ul class="simple"> <li>reverted all changes made in 2.7.2</li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.2 was released on January 13, 2004.</p> <ul class="simple"> <li>“Version 2.7.2 of my feed parser, released today, will by default refuse to parse <a class="reference external" href="http://intertwingly.net/stories/2004/01/12/broken.rss">this feed</a>. It does a first-pass check for wellformedness, and when that fails it sets the ‘bozo’ bit in the result to <tt class="docutils literal"><span class="pre">1</span></tt> and immediately terminates. You can revert to the previous behavior by passing <tt class="docutils literal"><span class="pre">disableWellFormedCheck=1</span></tt>, but it will print arrogant warning messages to stderr to the effect that anyone who can’t create a well-formed <abbr title="Extensible Markup Language">XML</abbr> feed is a bozo and an incompetent fool.” <a class="reference external" href="http://intertwingly.net/blog/2004/01/12/Scientific-Method#c1074047818">source</a></li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7.1 was released on January 9, 2004.</p> <ul class="simple"> <li>fixed bug handling &quot; and &apos;</li> <li>fixed memory leak not closing url opener (JohnD)</li> <li>added dc:publisher support (MarekK)</li> <li>added admin:errorReportsTo support (MarekK)</li> <li><strong class="program">Python</strong> 2.1 <tt class="docutils literal"><span class="pre">dict</span></tt> support (MarekK)</li> </ul> <p><strong class="program">Ultra-liberal Feed Parser</strong> 2.7 was released on January 5, 2004.</p> <ul class="simple"> <li>really added support for trackback and pingback namespaces, as opposed to 2.6 when I said I did but didn’t really</li> <li>sanitize <abbr title="HyperText Markup Language">HTML</abbr> markup within some elements</li> <li>added <tt class="file docutils literal"><span class="pre">mxTidy</span></tt> support (if installed) to tidy <abbr title="HyperText Markup Language">HTML</abbr> markup within some elements</li> <li>fixed indentation bug in <tt class="docutils literal"><span class="pre">_parse_date</span></tt> (FazalM)</li> <li>use <tt class="docutils literal"><span class="pre">socket.setdefaulttimeout</span></tt> if available (FazalM)</li> <li>universal date parsing and normalization (FazalM): <tt class="docutils literal"><span class="pre">created</span></tt>, <tt class="docutils literal"><span class="pre">modified</span></tt>, <tt class="docutils literal"><span class="pre">issued</span></tt> are parsed into 9-tuple date format and stored in <tt class="docutils literal"><span class="pre">created_parsed</span></tt>, <tt class="docutils literal"><span class="pre">modified_parsed</span></tt>, and <tt class="docutils literal"><span class="pre">issued_parsed</span></tt></li> <li><tt class="docutils literal"><span class="pre">date</span></tt> is duplicated in <tt class="docutils literal"><span class="pre">modified</span></tt> and vice-versa</li> <li><tt class="docutils literal"><span class="pre">date_parsed</span></tt> is duplicated in <tt class="docutils literal"><span class="pre">modified_parsed</span></tt> and vice-versa</li> </ul> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="changes-30.html" title="previous chapter">Changes in version 3.0</a></p> <h4>Next topic</h4> <p class="topless"><a href="changes-26.html" title="next chapter">Changes in version 2.6</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/changes-27.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-26.html" title="Changes in version 2.6" >next</a> |</li> <li class="right" > <a href="changes-30.html" title="Changes in version 3.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>