Dashboard > SmugMug > Home > Feeds > Feeds Examples
Log In   View a printable version of the current page.
SmugMug
Feeds Examples
Added by Ivar Borst , last edited by Sebastian Hosche on Dec 23, 2008  (view change)
Labels: 
(None)

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 to the URL.

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  

Posted by Anonymous at Mar 03, 2008 05:36 | Reply To This

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

Posted by Anonymous at May 09, 2008 12:57 | Reply To This

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

Posted by Anonymous at Jun 04, 2008 23:46 | Reply To This

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

Posted by Anonymous at Jun 29, 2008 16:27 | Reply To This

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

Posted by Anonymous at Aug 14, 2008 14:43 | Reply To This

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.

Posted by Anonymous at Sep 16, 2008 00:05 | Reply To This

What about a feed for featured photos?

Posted by Anonymous at Sep 20, 2008 15:43 | Reply To This

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

Posted by Anonymous at Oct 31, 2008 19:31 | Reply To This

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

Posted by Anonymous at Nov 06, 2008 13:01 | Reply To This

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

Posted by Anonymous at Dec 02, 2008 15:17 | Reply To This

Hey Guys,

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

Posted by Anonymous at Dec 23, 2008 21:47 | Reply To This
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators