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

NETTUTS.com:
Create a Slick Flickr Gallery with SimplePie
Feb 26, 2009 @ 18:56:12

In this new tutorial from NETTUTS.com there's information on how to create a gallery of the images from your Flickr account with help from SimplePie, a PHP tool for parsing XML feeds (like RSS).

Ok, so we're going to be touching on a number of technologies for this tutorial. We'll be using an RSS feed from Flickr, a bit of PHP, and some jQuery to make things nice and interactive! We'll use SimplePie to handle the RSS feed, as it makes life much easier, and can be used in any other projects where RSS feeds are involved.

They pull in the public photo information for a given user ID and parse details like the title of the gallery and each image's details, including descriptions. Add in a few links, some Javascript (jQuery) and HTML and you have a simple image gallery that automatically updates when you upload new photos to Flickr. You can grab the source here or just see it in action in their demo.

tagged: tutorial simplepie flickr image gallery jquery rss feed

Link:


Trending Topics: