Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Get Flickr Images Using SimpleXML
Dec 16, 2010 @ 12:04:20

In this new post to the iFadey blog, there's a quick tutorial on using SimpleXML to fetch and parse the image feeds from Flickr.

In this article you will learn two main things: how to parse XML using SimpleXML and how to get Flickr images from RSS feed and display them on your web page.

He offers both a demo of it in action and a download of the source for those that want to jump right in. The tutorial walks you through fetching the XML feed for a Flickr gallery, loading it into a SimpleXML object and creating a reusable class to pull out the photo titles, image details and profile link.

tagged: flickr simplexml image tutorial xml