Added by Ivar Borst, last edited by Sebastian Hosche on Nov 06, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
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

Hi  Team SmugMug,

 Good Day, I'd like to know more information about the feeds you've been provided like:

  • determining only records 1-30, 30-60, etc.
  • Getting total results of a searched keyword

Your help/reply is much and greatly appreciated! Thanks in advance!

-neth  

Comment: Posted by Anonymous at Mar 03, 2008 05:36

Me too!! Is it possible to specify a page 1 or a limit,offset with each feed url?

Comment: Posted by Anonymous at May 09, 2008 12:57

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

Comment: Posted by Anonymous at Jun 04, 2008 23:46

Is there a feed that returns the list of all of your galleries? Seems like an obvious omission.

Comment: Posted by Anonymous at Jun 29, 2008 16:27

Yeah why isn't there a feed for ALL your galleries? This is really needed. Kind of screws me up at this point!

Comment: Posted by Anonymous at Aug 14, 2008 14:43

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.

Comment: Posted by Anonymous at Sep 16, 2008 00:05

What about a feed for featured photos?

Comment: Posted by Anonymous at Sep 20, 2008 15:43

Please give us a random photos feed! That would rock!

Comment: Posted by Anonymous at Oct 31, 2008 19:31

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

Comment: Posted by Anonymous at Nov 06, 2008 13:01

Example feed for a MAC OS/X Screensaver:

feed://cmac.smugmug.com/hack/feed.mg?Type=gallery&Data=2504559_f3ta9&format=rss200&Size=X3Large

Comment: Posted by Andy Williams at Nov 15, 2008 12:29

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

Comment: Posted by Anonymous at Dec 02, 2008 15:17

Hey Guys,

Is there a way to create a user feed based on a date - like any picture for 2008?

Comment: Posted by Anonymous at Dec 23, 2008 21:47

how about a way to show popular photos from a particular gallery?

Comment: Posted by Anonymous at Jan 20, 2009 17:29

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)

Comment: Posted by Anonymous at Feb 11, 2009 20:41

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)

Comment: Posted by Anonymous at Feb 11, 2009 20:43

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.

Comment: Posted by Anonymous at Mar 08, 2009 15:44

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.

http://pipes.yahoo.com/fuzzytek/sm_popshots

Comment: Posted by Anonymous at Mar 18, 2009 03:29

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

Comment: Posted by Anonymous at Apr 04, 2009 13:10

You need an Ampersand "&", not a question mark before the Size parameter

Comment: Posted by Anonymous at Apr 04, 2009 23:19

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.

Comment: Posted by Anonymous at Apr 05, 2009 07:05

Note that there is a typo in User Feeds/Keyword Feed:

http://api.smugmug.com\/hack/feed.mg?Type=userkeyword&NickName=[nickname]&Data=[keyword]&format=atom03

Remove the slash in api.smugmug.com\/hack

Comment: Posted by Anonymous at Jun 13, 2009 10:58

Thanks!  Fixed

Comment: Posted by Nick Wrzesinski at Aug 10, 2009 16:12

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!

Comment: Posted by Anonymous at Aug 07, 2009 12:58

Sorry but there is no feed for all your galleries or all your photos.

Comment: Posted by Nick Wrzesinski at Aug 10, 2009 16:07

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!

Comment: Posted by Anonymous at Aug 31, 2009 15:43

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?

Comment: Posted by Anonymous at Sep 07, 2009 22:23

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?

Comment: Posted by Anonymous at Sep 23, 2009 13:07

Is this what you are looking for?

Need any help, drop us an email at the help desk: http://www.smugmug.com/help/emailreal

Comment: Posted by Rich Wilson at Sep 23, 2009 15:28

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.

Comment: Posted by Anonymous at Sep 24, 2009 02:07

Can you possibly do a gallery feed, but only show gallery items with specific keywords?

Comment: Posted by Anonymous at Oct 14, 2009 13:34