PDA

View Full Version : Help with feeds


guttaperk
Nov-21-2008, 03:47 PM
Hi, guys!

I've been trying to use feeds, using the templates given here:

http://wiki.smugmug.net/display/SmugMug/Feeds+Examples

...but it's not working.

For instance, I'd like to make a feed from my landscapes gallery at

http://guttaperk.smugmug.com/gallery/5304120_iqzU7#421032650_9Uo7i

The template for a gallery feed is

http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=[albumID]&format=atom03

So I think that I should be able to use

http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5304120&format=atom03
or
http://guttaperk.smugmug.com/hack/feed.mg?Type=gallery&Data=5304120&format=RSS

...but nothing seems to work. I get an error message saying
"error on line 2 at column 1: Extra content at the end of the document"– and no feed.

Help, anyone?

thanks in advance

adrian

richW
Nov-21-2008, 04:39 PM
Hi, guys!

I've been trying to use feeds, using the templates given here:

http://wiki.smugmug.net/display/SmugMug/Feeds+Examples

...but it's not working.

For instance, I'd like to make a feed from my landscapes gallery at

http://guttaperk.smugmug.com/gallery/5304120_iqzU7#421032650_9Uo7i

The template for a gallery feed is

http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=[albumID]&format=atom03

So I think that I should be able to use

http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5304120&format=atom03
or
http://guttaperk.smugmug.com/hack/feed.mg?Type=gallery&Data=5304120&format=RSS

...but nothing seems to work. I get an error message saying
"error on line 2 at column 1: Extra content at the end of the document"– and no feed.

Help, anyone?

thanks in advance

adrianAre you needing the feeds for your slide show?
You can use the AlbumID to pull in the images to the slide show.
AlbumID: '5304120',

http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow
Let us know :)

guttaperk
Nov-22-2008, 12:47 AM
Are you needing the feeds for your slide show?
You can use the AlbumID to pull in the images to the slide show.
AlbumID: '5304120',

http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow
Let us know :)Thanks, but no, I wanted to be able to have friends subscribe with a feed reader...

rainforest1155
Nov-22-2008, 02:11 AM
Why don't you have a look at the feed that is included for the gallery? Go to it and at the bottom of it, you'll find a link called 'available feeds'. It'll give you a good example.
In fact, you've chopped off the gallery key (_iqzU7) that is attached to the gallery ID. That needs to stay.

I'll update the wiki accordingly.

Sebastian

guttaperk
Nov-22-2008, 01:05 PM
All sorted now, thanks!

(I hadn't realised that there were gallery-specific feeds at the bottom of the page)

:-)