changes-30.rst 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. Changes in version 3.0
  2. ======================
  3. :program:`Universal Feed Parser` 3.0 was released on June 21, 2004.
  4. - 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``)
  5. - fixed regression that could cause the same encoding to be tried twice (even if it failed the first time)
  6. :program:`Universal Feed Parser` 3.0fc3 was released on June 18, 2004.
  7. - fixed bug in ``_changeEncodingDeclaration`` that failed to parse UTF-16 encoded feeds
  8. - made ``source`` into a FeedParserDict
  9. - duplicate admin:generatorAgent/@rdf:resource in ``generator_detail.url``
  10. - added support for image
  11. - refactored ``parse()`` fallback logic to try other encodings if SAX parsing fails (previously it would only try other encodings if re-encoding failed)
  12. - remove ``unichr`` madness in normalize_attrs now that we're properly tracking encoding in and out of BaseHTMLProcessor
  13. - set ``feed.language`` from root-level xml:lang
  14. - set ``entry.id`` from rdf:about
  15. - send ``Accept`` header
  16. :program:`Universal Feed Parser` 3.0fc2 was released on May 10, 2004.
  17. - added and passed Sam's amp tests
  18. - added and passed my blink tag tests
  19. :program:`Universal Feed Parser` 3.0fc1 was released on April 23, 2004.
  20. - made ``results.entries[0].links[0]`` and ``results.entries[0].enclosures[0]`` into FeedParserDict
  21. - fixed typo that could cause the same encoding to be tried twice (even if it failed the first time)
  22. - fixed DOCTYPE stripping when DOCTYPE contained entity declarations
  23. - better textinput and image tracking in illformed :abbr:`RSS (Rich Site Summary)` 1.0 feeds
  24. :program:`Universal Feed Parser` 3.0b23 was released on April 21, 2004.
  25. - fixed ``UnicodeDecodeError`` for feeds that contain high-bit characters in attributes in embedded :abbr:`HTML (HyperText Markup Language)` in description (thanks Thijs van de Vossen)
  26. - moved ``guid``, ``date``, and ``date_parsed`` to mapped keys in FeedParserDict
  27. - tweaked FeedParserDict.has_key to return ``True`` if asking about a mapped key
  28. :program:`Universal Feed Parser` 3.0b22 was released on April 19, 2004.
  29. - changed ``channel`` to ``feed``, ``item`` to ``entries`` in ``results`` dict
  30. - changed ``results`` dict to allow getting values with ``results.key`` as well as ``results[key]``
  31. - work around embedded illformed :abbr:`HTML (HyperText Markup Language)` with half a DOCTYPE
  32. - work around malformed ``Content-Type`` header
  33. - if character encoding is wrong, try several common ones before falling back to regexes (if this works, ``bozo_exception`` is set to ``CharacterEncodingOverride``
  34. - fixed character encoding issues in BaseHTMLProcessor by tracking encoding and converting from Unicode to raw strings before feeding data to sgmllib.SGMLParser
  35. - convert each value in results to Unicode (if possible), even if using regex-based parsing
  36. :program:`Universal Feed Parser` 3.0b21 was released on April 14, 2004.
  37. - added Hot RSS support
  38. :program:`Universal Feed Parser` 3.0b20 was released on April 7, 2004.
  39. - added :abbr:`CDF (Channel Definition Format)` support
  40. :program:`Universal Feed Parser` 3.0b19 was released on March 15, 2004.
  41. - fixed bug exploding author information when author name was in parentheses
  42. - removed ultra-problematic :file:`mxTidy` support
  43. - patch to workaround crash in PyXML/expat when encountering invalid entities (MarkMoraes)
  44. - support for textinput/textInput
  45. :program:`Universal Feed Parser` 3.0b18 was released on February 17, 2004.
  46. - always map description to ``summary_detail`` (Andrei)
  47. - use :file:`libxml2` (if available)
  48. :program:`Universal Feed Parser` 3.0b17 was released on February 13, 2004.
  49. - determine character encoding as per `RFC 3023 <http://www.ietf.org/rfc/rfc3023.txt>`_
  50. :program:`Universal Feed Parser` 3.0b16 was released on February 12, 2004.
  51. - fixed support for :abbr:`RSS (Rich Site Summary)` 0.90 (broken in b15)
  52. :program:`Universal Feed Parser` 3.0b15 was released on February 11, 2004.
  53. - fixed bug resolving relative links in wfw:commentRSS
  54. - fixed bug capturing author and contributor :abbr:`URI (Uniform Resource Identifier)`
  55. - fixed bug resolving relative links in author and contributor :abbr:`URI (Uniform Resource Identifier)`
  56. - fixed bug resolving relative links in generator :abbr:`URI (Uniform Resource Identifier)`
  57. - added support for recognizing :abbr:`RSS (Rich Site Summary)` 1.0
  58. - passed Simon Fell's namespace tests, and included them permanently in the test suite with his permission
  59. - fixed namespace handling under :program:`Python` 2.1
  60. :program:`Universal Feed Parser` 3.0b14 was released on February 8, 2004.
  61. - fixed CDATA handling in non-wellformed feeds under :program:`Python` 2.1
  62. :program:`Universal Feed Parser` 3.0b13 was released on February 8, 2004.
  63. - better handling of empty :abbr:`HTML (HyperText Markup Language)` tags (br, hr, img, etc.) in embedded markup, in either :abbr:`HTML (HyperText Markup Language)` or :abbr:`XHTML (Extensible HyperText Markup Language)` form (<br>, <br/>, <br />)
  64. :program:`Universal Feed Parser` 3.0b12 was released on February 6, 2004.
  65. - fiddled with ``decodeEntities`` (still not right)
  66. - added support to Atom 0.2 subtitle
  67. - added support for Atom content model in copyright
  68. - better sanitizing of dangerous :abbr:`HTML (HyperText Markup Language)` elements with end tags (script, frameset)
  69. :program:`Universal Feed Parser` 3.0b11 was released on February 2, 2004.
  70. - added rights to list of elements that can contain dangerous markup
  71. - fiddled with ``decodeEntities`` (not right)
  72. - liberalized date parsing even further
  73. :program:`Universal Feed Parser` 3.0b10 was released on January 31, 2004.
  74. - incorporated ISO-8601 date parsing routines from :file:`xml.util.iso8601`
  75. :program:`Universal Feed Parser` 3.0b9 was released on January 29, 2004.
  76. - fixed check for presence of ``dict`` function
  77. - added support for summary
  78. :program:`Universal Feed Parser` 3.0b8 was released on January 28, 2004.
  79. - added support for contributor
  80. :program:`Universal Feed Parser` 3.0b7 was released on January 28, 2004.
  81. - support Atom-style author element in ``author_detail`` (dictionary of ``name``, ``url``, ``email``)
  82. - map ``author`` to ``author_detail`` if ``author`` contains name + email address
  83. :program:`Universal Feed Parser` 3.0b6 was released on January 27, 2004.
  84. - added feed type and version detection, ``result['version']`` will be one of ``SUPPORTED_VERSIONS.keys()`` or empty string if unrecognized
  85. - added support for creativeCommons:license and cc:license
  86. - added support for full Atom content model in title, tagline, info, copyright, summary
  87. - fixed bug with gzip encoding (not always telling server we support it when we do)
  88. :program:`Universal Feed Parser` 3.0b5 was released on January 26, 2004.
  89. - fixed bug parsing multiple links at feed level
  90. :program:`Universal Feed Parser` 3.0b4 was released on January 26, 2004.
  91. - fixed xml:lang inheritance
  92. - fixed multiple bugs tracking xml:base :abbr:`URI (Uniform Resource Identifier)`, one for documents that don't define one explicitly and one for documents that define an outer and an inner xml:base that goes out of scope before the end of the document
  93. :program:`Universal Feed Parser` 3.0b3 was released on January 23, 2004.
  94. - parse entire feed with real :abbr:`XML (Extensible Markup Language)` parser (if available)
  95. - added several new supported namespaces
  96. - fixed bug tracking naked markup in description
  97. - added support for enclosure
  98. - added support for source
  99. - re-added support for cloud which got dropped somehow
  100. - added support for expirationDate
  101. :program:`Universal Feed Parser` 3.0b2 and 3.0b1 have been lost in the mists of time.