954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Google API rss feeder

Does anyone know how I can get this script to show all the entries in atom.xml? It only shows the top four right now.

google.load("feeds", "1");

 function initialize() {
      var feed = new google.feeds.Feed("http://thedosblogger.blogspot.com/atom.xml");
      feed.load(function(result) {
        if (!result.error) {
          var container = document.getElementById("feed");
          for (var i = 0; i < result.feed.entries.length; i++) {
            var entry = result.feed.entries[i];
            var div = document.createElement("div");
			var content=document.createElement("div");
			content.innerHTML="<b>"+entry.title+"</b>"+entry.publishedDate+""+entry.content+""
            div.appendChild(content);
            container.appendChild(div);
          }
        }
      });
    }
    google.setOnLoadCallback(initialize);
sinopa
Newbie Poster
2 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You