Introducing the AJAX Feed API FeedControl
May 8, 2007
This morning we added a new class to the Google AJAX Feed API designed to allow you to more easily add a collection of feeds to your pages. The FeedControl is pretty simple:
var feedControl = new google.feeds.FeedControl();
feedControl.addFeed("http://www.digg.com/rss/index.xml", "Digg");
feedControl.addFeed("http://feeds.feedburner.com/Techcrunch", "TechCrunch");
feedControl.draw(document.getElementById("feedControl"));
In addition to the formal documentation, we have put together a few samples to help you quickly come up to speed.
- Basic FeedControl - feedcontrol.html
- Tabbed FeedControl - tabbed.html
- Sidebar Style FeedControl - sidebar.html
- AJAX Feed API Playground Blog