We have discussed the Google AJAX Feed API when it launched. It offers Ajax developers the ability to access any public feed through a unified API, bypassing any domain issues in a secure way.

The team has started to build useful widgets on top of their own API, and show you just the beginnings of what is possible.

Slide Show Control

The AJAX Feed API Slide Show Control allows you to create a photo slideshow from any feed that supports media RSS, such as PhotoBucket, Flickr, or Picasa Web Albums.

You can add a slideshow as a one liner:

JAVASCRIPT:

  1.  
  2. var ss = new GFslideShow(feedurl, “slideshow-div”, options);
  3.  

and can tweak various attributes via the options (e.g. transition times, controller feel, thumbnails, and more).

FeedControl / Blog Roll

The AJAX Feed API FeedControl widget allows you to add a blog roll by setting up your feeds:

JAVASCRIPT:

  1.  
  2. var feedControl = new google.feeds.FeedControl();
  3. feedControl.addFeed(”http://www.digg.com/rss/index.xml”, “Digg”);
  4. feedControl.addFeed(”http://feeds.feedburner.com/Techcrunch”, “TechCrunch”);
  5. feedControl.addFeed(”http://ajaxian.com/index.xml”, “Ajaxian”);
  6. feedControl.draw(document.getElementById(”feedControl”));
  7.  

You can tweak the look, enabling you to create a tabbed component, a sidebar style, or more.

You can see these in action on the AJAX Feed API Playground blog.

Source: Ajaxian
Original Article: http://ajaxian.com/archives/ajax-feed-api-blogroll-and-slideshow-controls

Leave a Reply

You must be logged in to post a comment.



Site Navigation