Nov 10 2010
You don’t know which Api’s google made available? Go check out the Google Api Playground, you can create apps in a browser window! Check the exmple below.
Happy coding.
/*
* How to use the Feed Control to grab, parse and display feeds.
*/
google.load("feeds", "1"); function OnLoad() {
// Create a feed control
var feedControl = new google.feeds.FeedControl();
// Add two feeds.
feedControl.addFeed("http://dotinga.com/feed/", "Dotinga");
feedControl.addFeed("http://kanikeralopklikken.nl/feed/", "Kanikeralopklikken");
// Draw it.
feedControl.draw(document.getElementById("content"));
}
google.setOnLoadCallback(OnLoad);
Now test it:
Loading…
