alinla wrote:srijith,
This is a great feature. Thanks for making this possible and spending time explaining it here on the forums.
I was wondering if there is a way one can limit the RSS updates to a single gallery instead of a whole pbase site? I enter a single photo into multiple galleries and the RSS is picking up that multiple galleries were updated when in fact only a single photo is new. I have a gallery called Recent Photos to simply things for my visitors. It would be great to RSS only that gallery.
Thanks again.
You are welcome. As for your feature request, this is going to be a problem as I have implemented it. For now, what the script does is to visit your "recent" page (
http://www.pbase.com/alinla/root&view=recent) and parse the HTML to find the new gallery details and then return an RSS file.
However, if you are deligently ensuring that all your new photos are also copied to a special gallery (
http://www.pbase.com/alinla/recent_photos in your case I guess), I could also use that page. Actually it might be easier since PBase has some backend support to list content of a gallery as an XML document which I can use directly.
You would be one of the very few who would use such a 'feature' but then it is a coding itch that I would love to scratch. Give me a bit of time to get it working though