/*
*  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://blog.benches.co.uk/atom.xml", "Benches");
  feedControl.setNumEntries(3);

  // Draw it.
  feedControl.draw(document.getElementById("feed"));
}

google.setOnLoadCallback(OnLoad);
