PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

iFadey.com: Get Flickr Images Using SimpleXML

Note: This article was originally published at PHPDeveloper on 17 December 2010.
PHPDeveloper

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.