This class will allow you to take an RSS feed (local or remote) and "export" it to an easily managed/viewed array. Below is an example of it usage:
<?php
include("exportrss.php");
// Parse XML/RSS 2.0 feed
$feed = new ExportRSS("test.xml", "2.0");
$channel = $feed->get_channel_data();
echo "<h3>Channel</h3>
<p>
<b>Title:</b> {$channel['title']}<br/>
<b>Date:</b> {$channel['date']}<br/>
<b>Description:</b> {$channel['description']}<br/>
<b>Editor:</b> {$channel['editor']}<br/>
<b>Webmaster:</b> {$channel['webmaster']}<br/>
<b>Language:</b> {$channel['language']}<br/>
<b>Generator:</b> {$channel['generator']}<br/>
<b>Link:</b> {$channel['link']}
</p>";
echo "<h3>Feed Items</h3>";
foreach ($feed->get_data() as $item)
{
echo "<p>
<b>Title</b>: {$item['title']}<br/>
<b>Date Published</b>: {$item['date']}<br/>
<b>Description</b>: {$item['description']}<br/>
<b>Link</b>: {$item['link']}</p>";
}
?>