sinopa 0 Newbie Poster

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><br><br>"+entry.publishedDate+"<br>"+entry.content+"<br><br>"
            div.appendChild(content);
            container.appendChild(div);
          }
        }
      });
    }
    google.setOnLoadCallback(initialize);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.