I was wondering if we can sort out the results by date

(currently if follows the input feed order)

 feedControl.addFeed("feed1", "Name1");
 feedControl.addFeed("feed2", "Name2");

Displays:
Feed1>
Feed2

Without regard to the date. If Feed 2 has been updated after
Feed1, I want to have
Feed2
Feed1

Any ideas?

My source code is below and it is not displaying the rss feed. It only
displays "loading" from the div


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>

<head>
 <script type="text/javascript" src="http://www.google.com/jsapi?
key=your_Key">
 </script>
 <script type="text/javascript">
 google.load("feeds", "1");
 function initialize() {
  var feedControl = new google.feeds.FeedControl();
  feedControl.addFeed("Feed 1", "-------------------Name
1---------------");
  feedControl.addFeed("Feed 2", "---------------------Name
2-------------------------");
  feedControl.addFeed("Feed 3","-------------------------Name
3---------------------------");


  feedControl.setResultFormat(google.feeds.Feed.MIXED_FORMAT);

  feedControl.load(function(result) {
  if (!result.error) {
    var container = document.getElementById("feedControl");

    for (var i = 0; i < result.feed.entries.length; i++) {
      var entry = result.feed.entries[i];

      var attributes = ["title", "link", "publishedDate",
"contentSnippet"];
      for (var j = 0; j < attributes.length; j++) {
        var div = document.createElement("div");
        div.appendChild(document.createTextNode(entry[attributes
[j]]));
        container.appendChild(div);
      }
    }

});

 }
  google.setOnLoadCallback(initialize);
  </script>
  </head>
  <body>
  <div id="feedControl">Loading</div>
  </body>
  </html>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to