<!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.2 — 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 4.1" href="changes-41.html" /> <link rel="prev" title="Revision history" href="history.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-41.html" title="Changes in version 4.1" accesskey="N">next</a> |</li> <li class="right" > <a href="history.html" title="Revision history" 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-2"> <h1>Changes in version 4.2<a class="headerlink" href="#changes-in-version-4-2" title="Permalink to this headline">ΒΆ</a></h1> <p><strong class="program">Universal Feed Parser</strong> 4.2 was released on 2008-03-12.</p> <ul class="simple"> <li>Support for <a class="reference internal" href="microformats.html#advanced-microformats"><em>parsing microformats</em></a>, including <a class="reference internal" href="microformats.html#advanced-microformats-relenclosure"><em>rel=enclosure</em></a>, <a class="reference internal" href="microformats.html#advanced-microformats-reltag"><em>rel=tag</em></a>, <a class="reference internal" href="microformats.html#advanced-microformats-xfn"><em>XFN</em></a>, and <a class="reference internal" href="microformats.html#advanced-microformats-hcard"><em>hCard</em></a>.</li> <li>Updated the whitelist of <a class="reference internal" href="html-sanitization.html#advanced-sanitization-html"><em>acceptable HTML elements and attributes</em></a> based on the latest draft of the <abbr title="HyperText Markup Language">HTML</abbr> 5 specification.</li> <li>Support for <a class="reference internal" href="html-sanitization.html#advanced-sanitization-css"><em>CSS Sanitization</em></a>. (Previous versions of <strong class="program">Universal Feed Parser</strong> simply stripped all inline styles.) Many thanks to Sam Ruby for implementing this, despite my insistence that it was impossible.</li> <li>Support for <a class="reference internal" href="html-sanitization.html#advanced-sanitization-svg"><em>SVG Sanitization</em></a>.</li> <li>Support for <a class="reference internal" href="html-sanitization.html#advanced-sanitization-mathml"><em>MathML Sanitization</em></a>. Many thanks to Jacques Distler for patiently debugging this feature.</li> <li><abbr title="International Resource Identifier">IRI</abbr> support for every element that can contain a <abbr title="Uniform Resource Identifier">URI</abbr>.</li> <li>Ability to <a class="reference internal" href="resolving-relative-links.html#advanced-base-disable"><em>disable relative URI resolution</em></a>.</li> <li>Command-line arguments and alternate serializers, for manipulating <strong class="program">Universal Feed Parser</strong> from shell scripts or other non-Python sources.</li> <li>More robust parsing of author email addresses, misencoded win-1252 content, rel=self links, and better detection of HTML content in elements with ambiguous content types.</li> </ul> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="history.html" title="previous chapter">Revision history</a></p> <h4>Next topic</h4> <p class="topless"><a href="changes-41.html" title="next chapter">Changes in version 4.1</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/changes-42.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-41.html" title="Changes in version 4.1" >next</a> |</li> <li class="right" > <a href="history.html" title="Revision history" >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>