If you are interested i have created a working rss.php file that will produce a media rss feed for use with PicLens.
IF you wish to download it, get it here
May I suggest one thing: Please consider renaming the rss.php to rss-media.php by default, so it would be easier to use this new one as an addition to the standard rss feed. The media rss is not suitable as a substitute since it does not show any images in my feed reader (NetNewsWire on Mac, so a fairly commonly used one).
Since the media rss is a special yahoo invention and therefore this is not right in line with the official rss 2.0 standard: http://cyber.law.harvard.edu/rss/rss.html#extendingRss
In fact I first heard about Media RSS when someone mentioned it here, so there is no problem in having two feeds for separate uses since the files are really small.
Another pointer, if anyone else is implememting this... For a PicLens slideshow, you really want the RSS feed to include the whole album/search/whatever, not limited to the number of images specified by the stored feed_items option which would be appropriate for a news feed. To get this you need to remove the "LIMIT $items" field from the MySQL query. (I found a reference to using LIMIT ALL, but that's only supported in other dialects of SQL)
Using melon's php file I was able to get piclens to work with zenphoto, but I have a problem now where the amount of feed items are limited to 47. I can change the feed items limit in the zenphoto control panel but I still only get 47 feeds. Does anyone have an idea where to search for this problem?
I have already increased the timout for the php scripts to 60secs and increased the memory allocation to 128mb with no success. I was unable to find any reference to rss limits in the rss.php file except for the reference to options that is set in the zenphoto admin panel. Any ideas would be greatly appreciated. Thanks.
Thanks for the quick response.
The zenphoto installation in is xampp 0.7.1 with defaults.
Piclens is working fine with google images and other reference sites with upwards of 3000 photos.
My gallery contains two albums each with about 500 images a piece in jpg format.
Is the selection of the album feed vs gallery feed in zenphoto admin?
All images are published to the gallery and refreshed
No albums have passwords
Piclens doesn't have problems with any other sites that support media rss feeds.
I'm not really that good with php but I can find my way around, if you could point me in the right direction to look that would be really helpful. Thanks.
Let me first mention that media rss is considered a "third party hack" and therefore not officially supported.
If you are within an album you get a feed for that album. If you want to have a full gallery feed, you have to change the rss link within the head of your theme files. Please see the functions guide on our user guide page for how to do it.
first of all i don't have any expertise whatsoever in php, css, html - in fact i even think they're difficult to pronounce!
i've managed to get the file in question to work, by trial and error and by comparing the original rss file with the one from melon (thanks again!)
i've noticed that there was something missing in this bit:
"if(!checkAlbumPassword($albumcheck['folder'])) {" >>> melon-file
and i replaced it with this:
"if(!checkAlbumPassword($albumcheck['folder'], $hint)) {" >>>original rss
i also played around with the melon-file and "commenting-off" some of the "$output" entries.
maybe all that has nothing to do with it, but it seems to work. i'm using zenphoto 114 and some albums are protected.
http://www.studiolounge.net/2008/02/12/zenphoto-and-piclens
i have updated the file to work with Zenphoto 1.1.6
Enjoy
Any plans to update this to work with Zenphoto 1.2.8??