| Global Feeds |
|---|
- Keyword feed:
http://api.smugmug.com/hack/feed.mg?Type=keyword&Data=[keyword]&format=atom03
- All-time Popular Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=popular&Data=all&format=atom03
- Today's Popular Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=popular&Data=today&format=atom03
- Category Popular Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=popularCategory&Data=[category]&format=atom03
- Geotagged Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=geoAll&format=atom03
- Geotagged Keyword feed:
http://api.smugmug.com/hack/feed.mg?Type=geoKeyword&Data=[keyword]&format=atom03
- Geotagged Search feed:
http://api.smugmug.com/hack/feed.mg?Type=geoSearch&Data=[search]&format=atom03
- Geotagged Community Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=geoCommunity&Data=[community]&format=atom03
- OpenSearch Keyword feed:
http://api.smugmug.com/hack/feed.mg?Type=openSearchKeyword&Data=[keyword]&format=atom03
| User Feeds |
|---|
- Keyword feed:
http://api.smugmug.com/hack/feed.mg?Type=userkeyword&NickName=[nickname]&Data=[keyword]&format=atom03
- Gallery feed:
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=[albumID]_[albumKey]&format=atom03
- Recent Galleries feed:
http://api.smugmug.com/hack/feed.mg?Type=nickname&Data=[nickname]&format=atom03
- Recent Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=nicknameRecent&Data=[nickname]&format=atom03
- Popular Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=nicknamePopular&Data=[nickname]&format=atom03
- Photo Comments feed:
http://api.smugmug.com/hack/feed.mg?Type=usercomments&Data=[nickname]&format=atom03
- Geotagged Photos feed:
http://api.smugmug.com/hack/feed.mg?Type=geoUser&Data=[nickname]&format=atom03
- Geotagged Album feed:
http://api.smugmug.com/hack/feed.mg?Type=geoAlbum&Data=[albumID]_[albumKey]&format=atom03
- For AppleTV, Macs, and iTunes. This will not work for iPod/iPhone:
itpc://[nickname].smugmug.com/hack/feed.mg?Type=recentVideos&Data=[nickname]&format=itunes
| albumID and albumKey |
|---|
Both must be included for the feed to work. They are connected by an underscore '_' as it is in any SmugMug gallery url like in this example:
cmac.smugmug.com/gallery/2504559_f3ta9
2504559 is the albumID
f3ta9 is the albumKey (the key is case sensitive and you will encounter upper case characters in it)
| Number of Photos |
|---|
- Add ImageCount=xx and PageCount=xx to the URL. ImageCount specifies the number of photos per feed and PageCount the number of photos per page. This allows readers like google reader to get multiple pages.
- If you don't want any paging to take place, add Paging=0 to the url resulting in only the ImageCount parameter controlling the number of entries in a feed.
| Feed Formats |
|---|
- Atom - format=atom03
- RSS - format=rss
- KML - format=kml
- Open Search RSS - format=osrss
| Change Size of Photos |
|---|
- Tiny - Size=Tiny
- Thumb - Size=Thumb
- Small - Size=Small
- Medium - Size=Medium
- Large - Size=Large
- XLarge - Size=XLarge
- X2Large - Size=X2Large
- X3Large - Size=X3Large
- Original - Size=Original
A complete URL that showed large photos would look like this:
http://[nickname].smugmug.com/hack/feed.mg?Type=gallery&Data=[albumID]_[albumKey]&format=atom03&Size=Large
Me too!! Is it possible to specify a page 1 or a limit,offset with each feed url?
What about feeds for sharegroups? This would be a huge benefit, allowing your "main" pro front page to stay free of some galleries while allowing RSS distribution of some unlisted feeds via sharegroups.
My use case: I want my "public" albums to be only semi-pro work, but want to send albums of family photos to family using unlisted galleries and a "family" sharegroup. If I could point to my family sharegroup as an RSS feed, I'd be set.
-- Jeff
Is there a feed that returns the list of all of your galleries? Seems like an obvious omission.
Yeah why isn't there a feed for ALL your galleries? This is really needed. Kind of screws me up at this point!
One for all galleries, that can be randomized too. That way, any time the feed is refreshed, it shows your photos in a different order. Keeps the content fresh so you (or your visitors) don't have to sit through all the same images over and over again.
What about a feed for featured photos?
Please give us a random photos feed! That would rock!
I'm with everyone here...I just purchased a Wifi photo frame, and am hoping there's some way to feed all of my galleries without having to input the url for each one into the frame. Randomization would be nice too. ![]()
Can anyone from smugmug help us out?
Thank you,
Jerri
Example feed for a MAC OS/X Screensaver:
feed://cmac.smugmug.com/hack/feed.mg?Type=gallery&Data=2504559_f3ta9&format=rss200&Size=X3Large
Yahoo! Pipes is great for processing the feeds from Smugmug. Here is an example that takes the global keyword feed for "smugmug" and outputs it as a html list: http://pipes.yahoo.com/pipes/pipe.run?_id=AMHpRKzA3RG5OdmNpgt1Yg&_render=html&feed=http://api.smugmug.com/hack/feed.mg%3FType%3Dkeyword%26Data%3Dsmugmug&filter=do_not_filter_anything
You can see how it is done at http://pipes.yahoo.com/hgrim5/smugmug
Hallgrim
Hey Guys,
Is there a way to create a user feed based on a date - like any picture for 2008?
how about a way to show popular photos from a particular gallery?
Since it hasn't been documented here yet, Devbobo wrote:
In regard to crossdomain.xml stuff, we have an existing parameter (&Sandboxed=1) that will return all image urls from http://photos.smugmug.com (which also has an crossdomain.xml file) instead of http://nickname.smugmug.com
(Reference: http://www.dgrin.com/showpost.php?p=1039731&postcount=10)
And wahoo, there are now timeline feeds (although they don't yet work for sites with site-wide passwords):
The Timeline feed is available from the /date page, it's parameters are...
- StartDate
- StopDate
- DateBy.... DateUploaded or DateTaken, if omitted it defaults to the user's selection in the control panel
- SortDirection... asc or dsc
(Reference: http://www.dgrin.com/showpost.php?p=1039515&postcount=8)
I do some manipulation with Yahoo Pipes. It would be helpful if the Recent Galleries feed contained information somewhere in the xml regarding the Category and Subcategory to which the Gallery belonged.
Thanks... Tom K.
I just went through a few hours learning Pipes and created a few. Thanks to Halgrim for the links over to Yahoo Pipes. I agree with Tom K. on SubCategories especially. I can't determine how to specify Type or Data parameters that will single out a subcategory.
I tried
http://bwl.smugmug.com/hack/feed.mg?Type=gallery&Data=7800713_3dMrM&format=kml?Size=Small
But what ever I user for Size, I always geht the square thumbs
You need an Ampersand "&", not a question mark before the Size parameter
thanks a lot! How could I oversee this?
It would be fine if such a link would also be provided by the "Share" page from SmugMug.
Note that there is a typo in User Feeds/Keyword Feed:
Remove the slash in api.smugmug.com\/hack
Can someone please help me get a RSS fee for all my galleries? I've tried asking the smugmug help but i don't think they know what they are talking about! I really need help!
The Gallery feed is great! I noticed that it only returns up to 190 characters of an image's caption, in the <title> fields.
Is there a way to have the feed include the entire caption?
ps/ I'm using http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=...&format=rss&Size=Medium
Thanks!
I just updated my Mac to Snow Leopard and now it appears that I can't get my photo feeds through the "RSS Visualizer" screensaver anymore. I used to get the nice "pictures falling on the table" but now I just get the text. Any ideas?
I just can't get the userKeyword feed to work. I can do all the others no problem and a plain keyword search shows up my gallery in the results so it isn't a problem with finding the keyword and I can seach by my user so it isn't a problem with that either.
http://www.smugmug.com/hack/feed.mg?Type=keyword&Data=creek&Format=rss200 - that shows me up fine.
http://gitp.smugmug.com/hack/feed.mg?Type=userkeyword&Data=creek&Format=rss200 - fails
any ideas?
Is this what you are looking for?
Thanks, I thought I'd tried that. Most of the other feeds work with the nickname as the subdomain so I guess I just assumed that one did too.
Can you possibly do a gallery feed, but only show gallery items with specific keywords?
Hi Team SmugMug,
Good Day, I'd like to know more information about the feeds you've been provided like:
Your help/reply is much and greatly appreciated! Thanks in advance!
-neth