Home » XML » XML_Feed_Parser
Providing a unified API for handling Atom/RSS
This package is unmaintained.
Download latest release 1.0.5 (there might be newer Composer installable version)
License: LGPL
Description
XML_Feed_Parser is a parser for (the various) RSS and Atom format XML feeds. It attempts to provide a somewhat unified API while still allowing access to the full details of each feed type.
Documentation
Maintainers
- James Stewart (jystewart) — lead, active
Dependencies
Required
- PHP (>= 5.0.0)
- PEAR Installer (>= 1.4.0b1)
- Log
- xml (extension)
Optional
- tidy (extension)
Releases
- 1.0.5 (stable, 2012-01-27)
Release notes
License: LGPL
QA release
Bug #16416 atom:link causes getLink to fail for RSS2.php
Bug #16986 Fatal error on XML_Feed_Parser_RSS2::getEntryById()
Bug #19086 RSS block picks the wrong links for articles
Bug #19089 constructor doesn't respect $suppressWarnings flags
Bug #19091 Warnings when image element has no title, link, or url attribute - 1.0.4 (stable, 2010-10-11)
Release notes
License: LGPL
QA Release
Bug #15129 Assorted parse errors in tests
Bug #15309
Bug #15318
Bug #15322
Bug #15365 - 1.0.3 (stable, 2008-11-19)
Release notes
License: LGPL
Bug fix release. Closes:
#13215 - Encoding problems
#12919 - & in ULR's causes problems
#12522 - pubDate handler throws warning on empty field
#12017 - no rss2 image if <itunes:image/> precedes <image>
#11467 - Escaped HTML in Atom Text Constructs
#10702 - Indirect modification of overloaded property
#10336 - Error with encoding handling on xhtml - 1.0.2 (stable, 2007-04-09)
Release notes
License: PHP License
Bug fix release. Closes:
#13215 - Encoding problems
#12919 - & in ULR's causes problems
#12522 - pubDate handler throws warning on empty field
#12017 - no rss2 image if <itunes:image/> precedes <image>
#11467 - Escaped HTML in Atom Text Constructs
#10702 - Indirect modification of overloaded property
#10336 - Error with encoding handling on xhtml - 1.0.1 (stable, 2007-01-09)
Release notes
License: PHP License
Fixed bug in atom link handling that was preventing link retrieval
Changed detection of text content type to avoid false positives - 1.0.0 (stable, 2006-12-26)
Release notes
License: PHP License
First stable release. No changes from last release candidate
- 1.0.0RC2 (beta, 2006-11-09)
Release notes
License: PHP License
Improved handling of atom:text construct to allow for more media types (thanks to Mohanaraj Gonpala Krishnan for initial patch)
Fixed typos and removed duplicate return statements (request #8445) - 1.0.0RC1 (beta, 2006-07-27)
Release notes
License: PHP License
First release candidate
Fixed bug #6472 - wrong paths in require_once
Fixed bug #6473 - missing files (for RSS1.1)
Fixed bug #7849 - cannot validate RSS2 feeds - by bundling relax ng schemas
Improved error handling when attributes empty
Fixed loading of sample files in regression tests
Implemented hasKey method for basic checking of whether an element exists - 0.3.0beta (beta, 2006-01-11)
Release notes
License: PHP License
First beta release
Added support for 'content' namespace in RSS2
Further consistency fixes
Added prototype conversion script for Universal Feed Parser tests
Fixed bug in main __call function that led to problems when the same attribute was accessed multiple times - 0.2.8alpha (alpha, 2005-12-26)
Release notes
License: PHP License
Added atom-specific category handling
Added 'tags' call in atom which is an alias for categories, to match Universal Feed Parser behaviour
Added base64 decoding for atom Text and Content
In atom:link elements, the rel attribute now defaults to 'alternate' if none specified
Added support for atom:logo
Numerous API fixes and consistency fixes following use of Universal Feed Parser testkit - 0.2.6alpha (alpha, 2005-10-22)
Release notes
License: PHP License
Added support for RSS0.90, RSS0.91 and RSS0.92
Added tests for RSS0.91 and RSS0.92
Fixed bug meaning that errors weren't being thrown for unrecognised RSS versions
Cleared up the main constructor to prevent DOM errors while detecting feed type
Added code to allow case-insensitive specification of element names as a backup
Fixed bad check of guid's 'ispermalink' attribute in RSS2Element.php - 0.2.5alpha (alpha, 2005-10-15)
Release notes
License: PHP License
Fixed misplaced single quotes (bug #5677)
Added samples of feeds in farsi and japanese, with test cases
Reworked xml:base support - now applies to all appropriate atom text constructs
Reworked atom text construct handling to obey 'type' attribute - 0.2.4alpha (alpha, 2005-10-11)
Release notes
License: PHP License
First release in PEAR
Added custom exception class (vote condition)
Moved to single quotes in most cases (vote condition)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #5677 | Closed | Bug | 2005-10-12 | Parse error | |
| #5900 | Closed | Bug | 2005-11-08 | Parser for RSS09 not provided in the PEAR package | |
| #6165 | Closed | Bug | 2005-12-06 | when i search pear for ATOM i don't find XML_Feed_Parser | |
| #6437 | Bogus | Bug | 2006-01-07 | XML_Feed_Parser_RSS2::getImage() is protected | |
| #6472 | Closed | Bug | 2006-01-12 | wrong paths in require_once | |
| #6473 | Closed | Bug | 2006-01-12 | missing files | |
| #7549 | Bogus | Bug | 0.3.0beta | 2006-05-03 | Special Characters |
| #7550 | Wont fix | Req | 0.3.0beta | 2006-05-03 | More dates support |
| #7824 | Closed | Bug | 0.3.0beta | 2006-06-06 | Class 'DOMDocument' not found in /usr/share/pear/XML/Feed/Parser.php on line 88 |
| #7859 | Closed | Bug | 0.3.0beta | 2006-06-10 | Cannot validate RSS 2.0 feeds |
| #8445 | Closed | Req | 1.0.0RC1 | 2006-08-15 | Typo and unreachable code |
| #10335 | Assigned | Req | 1.0.1 | 2007-03-12 | Can XML_Feed_Parser get nodeValue within the namespace? |
| #10336 | Closed | Bug | 1.0.1 | 2007-03-12 | Error with encoding handling on xhtml |
| #10499 | Closed | Bug | 1.0.1 | 2007-03-25 | object(AtomElement)'s xpath is NULL |
| #10501 | Closed | Bug | 1.0.1 | 2007-03-25 | Atom's getLink() should query links without 'rel' in special case. |
| #10702 | Closed | Bug | 1.0.2 | 2007-04-12 | Indirect modification of overloaded property |
| #10703 | Duplicate | Bug | 1.0.2 | 2007-04-12 | Indirect modification of overloaded property |
| #11467 | Closed | Bug | 1.0.2 | 2007-06-28 | Escaped HTML in Atom Text Constructs |
| #12017 | Closed | Bug | 1.0.2 | 2007-09-11 | no rss2 image if <itunes:image/> precedes <image> |
| #12522 | Closed | Bug | 1.0.2 | 2007-11-24 | pubDate handler throws warning on empty field |
| #12844 | Bogus | Bug | 1.0.2 | 2008-01-07 | only one enclosure element can be accessed |
| #12916 | Analyzed | Bug | 1.0.2 | 2008-01-16 | German umlauts are displayed wrong |
| #12919 | Closed | Bug | 1.0.2 | 2008-01-17 | & in ULR's causes problems |
| #13215 | Closed | Bug | 1.0.2 | 2008-02-26 | Encoding problems |
| #15129 | Closed | Bug | CVS | 2008-11-22 | Assorted parse errors in tests |
| #15309 | Closed | Bug | 1.0.3 | 2008-12-15 | 'pubdate' invalid in RSS 1.0/1.1 feeds |
| #15318 | Closed | Bug | CVS | 2008-12-16 | Improve unit tests |
| #15322 | Closed | Bug | 2008-12-16 | Broken tests - Atom 0.3 deprecated | |
| #15365 | Closed | Bug | CVS | 2008-12-20 | Drivers don't know where to look for schemas |
| #15366 | Analyzed | Bug | CVS | 2008-12-20 | Schema validation doesn't work - libxml problem |
| #16416 | Closed | Bug | 1.0.3 | 2009-07-09 | atom:link causes getLink to fail for RSS2.php |
| #16986 | Closed | Bug | 1.0.3 | 2010-01-11 | Fatal error on XML_Feed_Parser_RSS2::getEntryById() |
| #17119 | Open | Bug | CVS | 2010-02-16 | Unit tests fail |
| #19086 | Closed | Bug | 1.0.4 | 2011-11-29 | RSS block picks the wrong links for articles |
| #19089 | Closed | Bug | 1.0.4 | 2011-11-30 | constructor doesn't respect $suppressWarnings flags |
| #19091 | Closed | Bug | 1.0.4 | 2011-11-30 | Warnings when image element has no title, link, or url attribute |
| #21160 | Open | Req | 1.0.5 | 2017-01-06 | Publish on packagist.org |