PDA

View Full Version : Using rss gallery feed in Slideshowpro slideshow


CynthiaM
Oct-27-2009, 02:27 PM
After a lot of trial and error, I was able to figure out how to get embed a slideshow created in Slideshowpro/Lightrroom. I have two instances of it on my site:
http://www.cynthiamerzerphotography.com/Travel/Tuscany-Florence-and-Venice/Florencexx/9955448_hQ7np
and
http://www.cynthiamerzerphotography.com/Test-Shots-Experiments/SSPtest4/9884410_6NDPd

by using this code:
<html>
<center>
<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="680" width="760" base="." data="http://dl.getdropbox.com/u/2353088/zonepate3_ssp/loader.swf">
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://dl.getdropbox.com/u/2353088/zonepate3_ssp/loader.swf" />
<param name="flashvars" value="xmlDataPath=http://dl.getdropbox.com/u/2353088/zonepate3_ssp/index.html" />
<param name="quality" value="high" />
<param name="base" value=".">
<param name="allowFullScreen" value="true" />
</object>
</html>

Obviously, you have to change the url for the loader.swf file and the index.html file for each gallery.

The files are housed on dropbox.

I think there is a way to use an rss feed for the images that play in the slideshow. There is a field for it in the Lightroom template. I have tried numerous codes but can't seem to get it to work. Close, but no cigar. Here is a link to a gallery that I've been playing with:
http://www.cynthiamerzerphotography.com/Test-Shots-Experiments/ssp-feed-test/10111319_xNxFg

I would like to feed it with images from this gallery:
http://www.cynthiamerzerphotography.com/SmugMug-Stuff/Home-Page-Slideshow/5635030_qu6jX#531265112_L79KA

I've tried 3 different attempts for the feed code; none have worked. The attempts are:
http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss200 (this was derived from the share/get a link tool in the gallery)
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5635030&format=rss200and
http://api.smugmug.com/hack/feed.mgType=gallery&Data=5635030_fqrEv&format=rss2 00&Size=Original&Sandboxed=1 (from Jerryr)Sorry, but I can't get the remove the link function to work, so click on it to see the full text.

And this is the code that I'm entering in the gallery description; I've attempted it with each of the above:

<html>
<center>
<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="680" width="760" base="." data="http://dl.getdropbox.com/u/2353088/smugmug%20stuff/rssfeed/loader.swf">
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://dl.getdropbox.com/u/2353088/smugmug%20stuff/rssfeed/loader.swf" />
<param name="flashvars" value="xmlDataPath=http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5635030&format=rss200" />
<param name="quality" value="high" />
<param name="base" value=".">
<param name="allowFullScreen" value="true" />
</object>
</html>

Coding is not my forte. I do fine with cutting and pasting. It seems like I am so close. Can anyone figure it out?

devbobo
Oct-27-2009, 04:18 PM
Hi Cynthia,

Try...

<param name="flashvars" value="xmlDataPath=http%3A%2F%2Fapi.smugmug.com%2Fhack%2F feed.mg%3FType%3Dgallery%26Data%3D5635030%26format %3Drss200%26Sandboxed%3D1"/>

or

<param name="flashvars" value="xmlDataPath=http%253A%252F%252Fapi.smugmug.com%252 Fhack%252Ffeed.mg%253FType%253Dgallery%2526Data%25 3D5635030%2526format%253Drss200%2526Sandboxed%253D 1"/>


Cheers,

David

CynthiaM
Oct-27-2009, 05:01 PM
Hi Cynthia,

Try...

<param name="flashvars" value="xmlDataPath=http%3A%2F%2Fapi.smugmug.com%2Fhack%2F feed.mg%3FType%3Dgallery%26Data%3D5635030%26format %3Drss200%26Sandboxed%3D1"/>

or

<param name="flashvars" value="xmlDataPath=http%253A%252F%252Fapi.smugmug.com%252 Fhack%252Ffeed.mg%253FType%253Dgallery%2526Data%25 3D5635030%2526format%253Drss200%2526Sandboxed%253D 1"/>


Cheers,

David
Hi David,

For clarification, the SSP template in Lightroom has a field called XML filepath. Do you think I should be using the same code that follows the http (and includes the http) both in that field and in the code for the gallery description box. In other words, either:

http%3A%2F%2Fapi.smugmug.com%2Fhack%2Ffeed.mg%3FTy pe%3Dgallery%26Data%3D5635030%26format%3Drss200%26 Sandboxed%3D1

or
http%253A%252F%252Fapi.smugmug.com%252Fhack%252Ffe ed.mg%253FType%253Dgallery%2526Data%253D5635030%25 26format%253Drss200%2526Sandboxed%253D1

or should I be using the direct feed link in that field:
http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss200

devbobo
Oct-27-2009, 05:07 PM
Cynthia,

Since SSP uses flash...

http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200 (http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss200)

definitely won't work.

It needs to be...
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200&Sandboxed=1

or one of the other url encoded versions I supplied in my first response.

Hope this helps,

David

CynthiaM
Oct-27-2009, 05:20 PM
Cynthia,

Since SSP uses flash...

http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200 (http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss200)

definitely won't work.

It needs to be...
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200&Sandboxed=1

or one of the other url encoded versions I supplied in my first response.

Hope this helps,

David

Thanks.
Will play and let you know how it works.
Regards,
Cynthia

CynthiaM
Oct-28-2009, 07:17 AM
Cynthia,

Since SSP uses flash...

http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200 (http://www.cynthiamerzerphotography.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss200)

definitely won't work.

It needs to be...
http://api.smugmug.com/hack/feed.mg?Type=gallery&Data=5635030_qu6jX&format=rss 200&Sandboxed=1

or one of the other url encoded versions I supplied in my first response.

Hope this helps,

David
David:
Well, I've tried all kinds of permutations and combinations, but I just can't seem to get a feed to work. One thing I have realized with SSP/LR is that if you can't get the loader.swf file to load and play the slideshow when plugged into a browser, then all of the code in the world won't do any good when placed in the album description box. For example, this is the url for the loader.swf for a slideshow that works:
http://dl.getdropbox.com/u/2353088/lr_ssp2/loader.swf
If you click on it you will see what I mean. Note how at the bottom left of the screen the readout indicating that it is fetching from .dl.getdropbox.com, because all the the image files are resident on dropbox. Now look what happens when you plug in this url for the slideshow that I am trying to get a feed into from smugmug:
https://dl.getdropbox.com/u/2353088/smugmug%20stuff/rssfeed/loader.swf
In the lower left, you can see that it is trying to communicate with smugmug with the waiting for api.smugmug.com but its not fetching anything.

I don't know if this is a SSP issue or smugmug issue, but it seems like we are just not getting the right code for the feed xml filepath.

These are the feeds that I have tried. I am leaving out the http:// as the board wants to read it as a link:
api.smugmug.com/hack/feed.mgType=gallery&Data=9955448_fqrEv&format=rss200&Size=Original&Sandboxed=1
api.smugmug.com/hack/feed.mg?Type=gallery&Data=9955448_fqrEv&format=rss200&Size=Original&Sandboxed=1
api.smugmug.com/hack/feed.mg?Type=gallery&Data=9955448_wRRvp&format=rss200&Size=Large&Sandboxed=1
api.smugmug.com/hack/feed.mg?Type=gallery&Data=9955448&format=rss200
api.smugmug.com/hack/feed.mg?Type=gallery&Data=9955448&format=rss200&Size=Original
http%3A%2F%2Fapi.smugmug.com%2Fhack%2Ffeed.mg%3FTy pe%3Dgallery%26Data%3D5635030%26format%3Drss200%26 Sandboxed%3D1
http%253A%252F%252Fapi.smugmug.com%252Fhack%252Ffe ed.mg%253FType%253Dgallery%2526Data%253D5635030%25 26format%253Drss200%2526Sandboxed%253D1

The last two, which were derived from your parameters, were further off the mark than any of the others. They kept wanting to try to fetch from dropbox. By the way, when I say I have tried all of these, I mean that this is the url that was plugged into the xml filepath in Lightroom.

Got any other ideas?
Regards,
Cynthia