pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-feedparser Update to 3.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/561f4c61ef44
branches: trunk
changeset: 478121:561f4c61ef44
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sat Jul 17 16:28:29 2004 +0000
description:
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
diffstat:
textproc/py-feedparser/Makefile | 4 ++--
textproc/py-feedparser/distinfo | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r e8ee2aee38ef -r 561f4c61ef44 textproc/py-feedparser/Makefile
--- a/textproc/py-feedparser/Makefile Sat Jul 17 14:54:33 2004 +0000
+++ b/textproc/py-feedparser/Makefile Sat Jul 17 16:28:29 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2004/06/30 20:17:35 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2004/07/17 16:28:29 schmonz Exp $
#
-DISTNAME= feedparser-3.1
+DISTNAME= feedparser-3.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=feedparser/}
diff -r e8ee2aee38ef -r 561f4c61ef44 textproc/py-feedparser/distinfo
--- a/textproc/py-feedparser/distinfo Sat Jul 17 14:54:33 2004 +0000
+++ b/textproc/py-feedparser/distinfo Sat Jul 17 16:28:29 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2004/06/30 20:17:35 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2004/07/17 16:28:29 schmonz Exp $
-SHA1 (feedparser-3.1.zip) = d3255a89f1227b26f74a2dc23fc40e04e9426eab
-Size (feedparser-3.1.zip) = 1205563 bytes
+SHA1 (feedparser-3.3.zip) = 30f2d197efe69dd85c8bedd9258ff34b8c1aa15c
+Size (feedparser-3.3.zip) = 255518 bytes
Home |
Main Index |
Thread Index |
Old Index