Activate your free membership today | Log-in

Thursday, May 17th, 2007

AJAX Feed API: Blogroll and Slideshow Controls

Category: Ajax, Component, Google, JavaScript, Library

<p>

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.

Related Content:

  • Ajax Learning Guide
    Chances are, you've been doing JavaScript and XML developer work in Lotus Domino for quite some time. This old/new approach is causing quite a stir in...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Google releases API for mashups
    Google Ajax Feed API released today is designed to help mashup developers more easily integrate RSS and Atom feeds into their applications. "Today, if...
  • ASP.NET AJAX Mini-Guide
    How will the growing interest in AJAX and the Web 2.0 movement impact you as a Microsoft developer? In a word, it's called Atlas. Microsoft Atlas is a...
  • Mini-Guide: Microsoft Atlas
    How will the growing interest in AJAX and the Web 2.0 movement impact you as a Microsoft developer? In a word, it's called Atlas. Microsoft Atlas is a...

Posted by Dion Almaer at 11:38 am
Comment here

++++-
4.1 rating from 46 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.