Google's Slideshow API

Google has a slideshow API that reads RSS feeds. Unfortunately I cannot get it to work with the ZenPhoto RSS feed. Has anyone gotten it to work here?

Thanks!

Charles

Comments

  • There is a new feature request for a 'media' rss feed that we are considering.
  • acrylian Administrator, Developer
    By a quick look at the google page I couldn't find that they request any special "Media" RSS.
    http://code.google.com/apis/ajaxfeeds/documentation/#SupportedFormats
    But you need to sign in for a Google AJAX Feed Key...

    Our feed is a standard RSS 2.0 feed. But you could try to add the additional channel elements like <image> yourself and see if that maybe works:
    http://cyber.law.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt
  • acrylian, would you know how I would add the <image> tag into the RSS? I can't really understand how it's supposed to be done...

    I'm looking at rss.php and I think I'm supposed to put <image> below <channel> somewhere, but I don't know how to specify the image url.

    Thanks!

    Charles
  • acrylian Administrator, Developer
    As far as I understand that you can just take the url from <link. Just copy the whole <link> part and rename it.

    I believe it doesn't matter where you put it, unless it's within <item></item> at the bottom of the rss file. Best would be probably to put it right below <link>.
  • Actually.. when I look at the RSS feed.. it doesn't look like any kind of feed even on your examples on your site. Are you sure the RSS stuff works at all?

    Thanks,

    Charles
  • I am using the standard theme.. and I get NO rss for my albums. Can you take a look at it and be able to see what is wrong?

    http://www.seal.com/wp-content/photos/

    I click on all the RSS feeds and get nothing but the album name. I did upgrade from an earlier version of zenphoto.. could that be it?
  • acrylian Administrator, Developer
    Possible, could you post your rss feed code please?Maybe you mixed an older version of the feed with a new zp version. I can't reproduce your error, so something is indeed wrong there.
  • OK.. I reuploaded the latest RSS.php.. and now the RSS works.. (You might want to look at your demos, as the RSS there doesn't work either).

    I added in the IMAGE tags like you mentioned.. but it still doesn't work with the Google API.

    You know the way the link takes you not to the image, but to the PAGE hosting the image. Is there a way to make the link take you to the actual image? That way I think the Image tag would work?

    Thanks so much for your help by the way!

    Charles
  • acrylian Administrator, Developer
    We are currently reworking the website anyway so that will be fixed then.

    Regarding the <image> tag. You could try one of these functions within <imag></image>:
    http://www.zenphoto.org/trac/wiki/TemplateFunctionsGuide#getFullImageURL
    http://www.zenphoto.org/trac/wiki/TemplateFunctionsGuide#getSizedImageURLsize

    If you have any success, please let us know.
  • I worked on this for days, even hired the Google API "Guru" to help me. I rewrote the rss.php page to print the feed in the format they needed, and even though the feed was perfect, it still would not work.

    But when I copied that feed and those images out of the zenphoto directories and put them into directories that were not mod_rewrite, the slideshow worked.

    There is something about the mod_rewrite (I suspect) that is causing the API to crash. Sometimes I could get it to work for two or three tries, and then it would stop.
  • acrylian Administrator, Developer
    Isn't that the Media RSS? Then you probably should take a look here: http://www.zenphoto.org/2008/01/hacks/#mediarss
Sign In or Register to comment.