/*
*  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();
	feedControl.setNumEntries(10);
  // add feeds

  feedControl.addFeed("http://feeds.feedburner.com/rhizome-announce", "<a href='http://www.rhizome.org/' target='_blank' class='title_header'><h1>Rhizome</h1><p>Rhizome.org is an online platform for the global new media art community.</p></a>");


  feedControl.addFeed("http://feeds.feedburner.com/Artsopportunities-all", "<a href='http://www.artsopportunities.org' target='_blank' class='title_header'><h1>Arts Opportunities</h1><p>ArtsOpportunities is a service of the Center for Arts Management and Technology (CAMT), an applied research center at Carnegie Mellon University in Pittsburgh, PA.</p></a>");

feedControl.addFeed("http://www.artshow.com/RSSfeeds/international_artshows.xml", "<a href='http://www.artshow.com' target='_blank' class='title_header'><h1>ArtShow</h1><p>ArtShow is a networking platform and online marketing utility for artists</p></a>");


    feedControl.addFeed("http://www.higheredjobs.com/rss/categoryFeed.cfm?catID=126", "<a href='http://www.higheredjobs.com' target='_blank' class='title_header'><h1>HigherEd Jobs</h1><p>HigherEdJobs.com has one of the largest job databases focused exclusively on college and university positions.</p></a>");





  // Draw it.
  feedControl.draw(document.getElementById("parsed_content"));
}

google.setOnLoadCallback(OnLoad);