Added RSS feed to simpleviewer

That was a kind of achievement, which has given me immense pleasure at the end.

Thought of reorganizing my photographs, which was very simple. Just selected few best snaps and categorize those in different folder and named those folders as photographic category like portrait, landscape, avian etc.  

I have written a PHP script which can populate XML for simpleviewer. This script will dig folders and create different XML files for each folder. As by the original code, simpleviewer do not support categories, so have added a drop down which will pull different XML and re-draw the flash applet of simpleviewer with new XML every time when drop-down values changes. The dropdown text are nothing but name of simpleviewer XML files, while values are name of xml file. Cool … isn’t it?

Now simpleviewer do not have RSS feed either and I need it, so that once I upload a new photograph, everyone can see that. This was bit tricky … to achieve this It was required to traverse every folder, read exif (so that I can populate description), sort these photographs by date in descending order and then populate RSS in XML format, and ya we need a limit of 10 images only … last 10. To achieve this I have mix simpleviewer script with RSS script. The end result so beautiful and looks good at my outlook when I pulled it in 🙂 .

Now in my ToDo list I want to create a page, from where I can write various descriptions of photographs. That means I want a PHP script using which I can write Title, Subject, Keywords and Comments directly in EXIF information of photographs. Hmmm … any help will be much appreciated …

You can visit my customized simpleviewer for categories and RSS feed at http://www.ashwina.com/viewer/index.php and pull the RSS to your outlook, Google or Yahoo …

What a satisfaction …

Advertisements