Feedparser

Latest version: v6.0.11

Safety actively analyzes 630217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 12

4.0

================

* Support for relative URIs in xml:base attribute
* Fixed encoding issue with mxTidy (phopkins)
* Preliminary support for RFC 3229
* Support for Atom 1.0
* Support for iTunes extensions
* New 'tags' for categories/keywords/etc. as array of dict {'term': term, 'scheme': scheme, 'label': label} to match Atom 1.0 terminology
* Parse RFC 822-style dates with no time
* Lots of other bug fixes

3.3

================

* Optimize EBCDIC to ASCII conversion
* Fix obscure problem tracking xml:base and xml:lang if element declares it, child doesn't, first grandchild redeclares it, and second grandchild doesn't
* Refactored date parsing
* Defined public registerDateHandler so callers can add support for additional date formats at runtime
* Added support for OnBlog, Nate, MSSQL, Greek, and Hungarian dates (ytrewq1)
* Added zopeCompatibilityHack() which turns FeedParserDict into a regular dictionary, required for Zope compatibility, and also makes command line debugging easier because pprint module formats real dictionaries better than dictionary-like objects
* Added NonXMLContentType exception, which is stored in bozo_exception when a feed is served with a non-XML media type such as 'text/plain'
* Respect Content-Language as default language if not xml:lang is present
* Cloud dict is now FeedParserDict
* Generator dict is now FeedParserDict
* Better tracking of xml:lang, including support for xml:lang='' to unset the current language
* Recognize RSS 1.0 feeds even when RSS 1.0 namespace is not the default namespace
* Don't overwrite final status on redirects (scenarios: redirecting to a URL that returns 304, redirecting to a URL that redirects to another URL with a different type of redirect)
* Add support for HTTP 303 redirects

3.2

================

* Use cjkcodecs and iconv_codec if available
* Always convert feed to UTF-8 before passing to XML parser
* Completely revamped logic for determining character encoding and attempting XML parsing (much faster)
* Increased default timeout to 20 seconds
* Test for presence of Location header on redirects
* Added tests for many alternate character encodings
* Support various EBCDIC encodings
* Support UTF-16BE and UTF16-LE with or without a BOM
* Support UTF-8 with a BOM
* Support UTF-32BE and UTF-32LE with or without a BOM
* Fixed crashing bug if no XML parsers are available
* Added support for 'Content-encoding: deflate'
* Send blank 'Accept-encoding: ' header if neither gzip nor zlib modules are available

3.1

================

* Added and passed tests for converting HTML entities to Unicode equivalents in illformed feeds (aaronsw)
* Added and passed tests for converting character entities to Unicode equivalents in illformed feeds (aaronsw)
* Test for valid parsers when setting XML_AVAILABLE
* Make version and encoding available when server returns a 304
* Add handlers parameter to pass arbitrary urllib2 handlers (like digest auth or proxy support)
* Add code to parse username/password out of url and send as basic authentication
* Expose downloading-related exceptions in bozo_exception (aaronsw)
* Added __contains__ method to FeedParserDict (aaronsw)
* Added publisher_detail (aaronsw)

3.0.1

==================

* Default to us-ascii for all text/* content types
* Recover from malformed content-type header parameter with no equals sign ('text/xml; charset:iso-8859-1')

3.0

================

* Don't try iso-8859-1 (can't distinguish between iso-8859-1 and windows-1252 anyway, and most incorrectly marked feeds are windows-1252)
* Fixed regression that could cause the same encoding to be tried twice (even if it failed the first time)

3.0fc3 - 2004-06-18
===================

* Fixed bug in _changeEncodingDeclaration that failed to parse utf-16 encoded feeds
* Made source into a FeedParserDict
* Duplicate admin:generatorAgent/rdf:resource in generator_detail.url
* Added support for image
* Refactored parse() fallback logic to try other encodings if SAX parsing fails (previously it would only try other encodings if re-encoding failed)
* Remove unichr madness in normalize_attrs now that we're properly tracking encoding in and out of BaseHTMLProcessor
* Set feed.language from root-level xml:lang
* Set entry.id from rdf:about
* Send Accept header

3.0fc2 - 2004-05-10
===================

* Added and passed Sam's amp tests
* Added and passed my blink tag tests

3.0fc1 - 2004-04-23
===================

* Made results.entries[0].links[0] and results.entries[0].enclosures[0] into FeedParserDict
* Fixed typo that could cause the same encoding to be tried twice (even if it failed the first time)
* Fixed DOCTYPE stripping when DOCTYPE contained entity declarations
* Better textinput and image tracking in illformed RSS 1.0 feeds

Page 5 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.