Subject: CVS commit: pkgsrc/textproc/py-feedparser
To: None <pkgsrc-changes@NetBSD.org>
From: Amitai Schlair <schmonz@netbsd.org>
List: pkgsrc-changes
Date: 07/17/2004 16:28:29
Module Name:	pkgsrc
Committed By:	schmonz
Date:		Sat Jul 17 16:28:29 UTC 2004

Modified Files:
	pkgsrc/textproc/py-feedparser: Makefile distinfo

Log Message:
Update to 3.3.

Changes in 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

Changes in 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


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/textproc/py-feedparser/Makefile \
    pkgsrc/textproc/py-feedparser/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.