RSS-PHP; RSS 2.0 Parser Test Results

RSS-PHP is a free RSS Parser for PHP 5+ - the full introduction is available on the main RSS-PHP Parser page.

Really Simple Syndication (RSS) 2.0 Test

This test of the RSS-PHP RSS Parser uses the sample RSS 2.0 file hosted at Harvard Law. As with all tests on rssphp.net, this a live test.

The RSS-PHP Test File

<?php
require_once '../../rss_php.php';

    $rss = new rss_php;

    $rss->load('http://cyber.law.harvard.edu/rss/examples/rss2sample.xml');

    print_r($rss->query('*/lastBuildDate')); #get the last build date of the feed
    
print_r($rss->getRSS()); #print all rss without attributes
        
?>

RSS 2.0 Results

These results are generated by the including the above test file.

http_handler could not connect to cyber.law.harvard.edu:80 (PHP Error Number: 113, Message: No route to host)