↧
Answer by Josh Davis for Using SimpleXML to read RSS feed
As you already know, SimpleXML lets you select an node's child using the object property operator -> or a node's attribute using the array access ['name']. It's great, but the operation only works...
View ArticleAnswer by Björn for Using SimpleXML to read RSS feed
SimpleXML is pretty bad at handling namespaces. You have two choices: The simplest hack is to simply read the contents of the feed into a string and replace the namespaces;$feed =...
View ArticleUsing SimpleXML to read RSS feed
I am using PHP and simpleXML to read the following rss feed:http://feeds.bbci.co.uk/news/england/rss.xmlI can get most of the information I want like so:$rss =...
View Article