CHANGES:

NEWS

DOWNLOAD:

Stable 1.1 (September 19, 2007):
XMLParser-1.1.tar.gz

ANONYMOUS CVS: (leave password empty)
    cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS login
    cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS checkout XMLParser

SEE ALSO:

XMLParser

NAME:

    RSSParser - A library used for reading RSS files

AUTHOR:
    Monte Ohrt <monte [AT] ohrt [DOT] com>

LATEST VERSION:
    1.0 - September 19th, 2005

REQUIREMENTS:

    The RSSParser requires the XMLParser PHP library (bundled with this
    distro), which requires the expat XML parsing library, which can be enabled
    in PHP with the configure flag "--enable-xml" during compilation.

SYNOPSIS:

    require('RSSParser.class.php');

    $xml =& new RSSParser;

    $output = $xml->parse('http://foobar.com/rss.xml');
    
    print_r($output);
    
    
DESCRIPTION:

    RSSParser - A library used for reading RSS files (URLs) and transposing them
    into a simple PHP array structure. This basically takes the generic PHP
    array output from XMLParser and creates a new PHP array structure specific
    to RSS feeds. The XML structure itself is automatically validated by expat.
    RSS 2.0 and RDF are the only formats tested. RSS 0.91 should work as well.
    

BASE CLASS METHODS:
-------------------

    parse($xml)
    -----------
    
        Parses the given XML RSS file (or URL) into a PHP array structure and
        returns it.
        
        Example:
        
        $output = $xml->parse('http://www.foo.com/rss.xml');  
        
        print_r($output);      
    

Any questions, drop me a line.

Monte Ohrt <monte [AT] ohrt [DOT] com>