Currently i grab feeds like:

PHP Code:
$x simplexml_load_string($news_xml);
    foreach(
$x->channel->item as $item){
        
$item_date = (string) $item->pubDate;
        
$item_desc = (string) $item->description;
...

This has worked fine until i hit a feedburner feed that is different. It uses <entry> and <content type="html" xml:lang="en-US" xml:base="http://rssdomain.com">. It also uses <feedburnerrigLink> for the proper link.

How can I make my php accept this new format as well as the normal method most rss feeds seem to use?