This code is a sample code, basically change USER ID and ALBUMID with the correct details.
That's about it. It's pretty simple.
This code is now deprecated.
You can also try this:
Alternatively, you can post your photos on Blogger and allow the blog platform to automatically generate an RSS Feed which you can further customise in FeedBurner.