PDA

View Full Version : RSS: Hidden galleries being counted when using &ImageCount


rhjf
Apr-19-2009, 10:36 AM
This behaviour is not expected. I use a number of feeds of my galleries, limiting the number of galleries included in the feed using the &ImageCount=x parameter. However, at the moment, my most recently-updated galleries include two hidden ('unlisted') galleries. When I look at a feed like http://api.smugmug.com/hack/feed.mg?Type=nickname&Data=rhjflynn&format=rss&ImageCount=5, only three galleries are included in the feed: evidently the two hidden galleries are being counted, when they certainly should not be!

The problem for me here is that I am using different permutations of feed URLs to bring my SmugMug galleries in to the main body of my site: when the wrong number of items are returned in the feed, it makes it look like my site is broken! I was easily able to work around this by increasing the &ImageCount and then just limiting the number of items displayed on my site using PHP but that seems like a slightly inefficient way to do things.

My SmugMug site is http://photos.richardflynn.net/; my main site is http://richardflynn.net/.

rhjf
Apr-25-2009, 09:42 AM
Is this a confirmed bug?

docwalker
Apr-26-2009, 08:29 AM
I have sent this over to our feeds guy to take a look. I cannot call it a bug but he knows this better than I do. He will know what is going on.