Re: php get rss tag using DOM

From: Date: Thu, 20 Aug 2009 12:06:53 +0000
Subject: Re: php get rss tag using DOM
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-297015@lists.php.net to get a copy of this message
Getting RSS Feeds is going really good right now, what amazing technology :) http://www.msnnick.net Nickname Msn Morris-25 wrote: > > Hi, > > I am trying to write a programme to read a rss xml file. > > ... > <media:content url="*exampe.jpg*" ...> > ... > > scan anyone tell me how to get the url attribute? I wrote some codes > similar: > > > $doc = new DOMDocument; > $doc->load($myFlickrRss); > > $r = $doc->getElementsByTagName('media:content'); > for($i=0;$i<=$r->length;$i++) { > > // help here > > } > > -- View this message in context: http://www.nabble.com/php-get-rss-tag-using-DOM-tp21901033p25060811.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#297015) next »