lp://staging/feedparser

Created by VCS imports and last modified
Get this branch:
bzr branch lp://staging/feedparser

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
Universal Feed Parser
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the Subversion branch from http://feedparser.googlecode.com/svn/trunk.

Last successful import was .

Import started on pear and finished taking 10 seconds — see the log
Import started on russkaya and finished taking 25 seconds — see the log
Import started on russkaya and finished taking 25 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log

Recent revisions

730. By kurtmckee

Note that the encoding-related code is revamped

729. By kurtmckee

Upgrade gb2312 to gb18030 in the XML declaration

Fixes issue 346.
Thanks to Google user flytwokites for reporting this issue!

728. By kurtmckee

Demonstrate issue 346

727. By kurtmckee

Consolidate `toUTF8()` into `convert_to_utf8()`

726. By kurtmckee

Consolidate `_getCharacterEncoding()` into `convert_to_utf8()`

This additionally requires modifying `_toUTF8()`, since the BOM
will have already been stripped from the data when it's passed
to `_toUTF8()`. Changing the behavior of `_toUTF8()` forces the
BOM-with-invalid-characters unit test to be updated as well.

725. By kurtmckee

Move HTTP charset detection to clean up code flow

The code now follows a clearer BOM -> XML -> HTTP -> RFC 3023 flow.

724. By kurtmckee

Add/modify comments in `_getCharacterEncoding()`

723. By kurtmckee

Make encoding variable names consistent and clear

722. By kurtmckee

Begin simplifying character encoding code

721. By kurtmckee

Rename `_stripDoctype()` to `replace_doctype()`

Bonus: improve the function docs and make the code more PEP-8 compliant.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.