Rate this script:  I Love it  /   I Hate it

Set::extract - parsing an RSS feed for all post titles


Code


uses('Xml');
 
$feed = xmltoArray(new XML('http://feeds.feedburner.com/thinkingphp'));
$postTitles = Set::extract($feed, 'rss.channel.item.{n}.title');

 

 

 
Set::extract - parsing an RSS feed for all post titles scripts | Set::extract - parsing an RSS feed for all post titles snippet | Set::extract - parsing an RSS feed for all post titles example | Set::extract - parsing an RSS feed for all post titles tutorial | Set::extract - parsing an RSS feed for all post titles code