Commits

Atsushi Odagiri committed 216709a

display number of entries.

Comments (0)

Files changed (1)

     function callback(obj) {
       var feed = obj.data;
       var title = document.getElementById('feed-title');
-      title.appendChild(document.createTextNode(feed.Title));
+      title.appendChild(document.createTextNode(feed.Title + '(' + feed.Entry.length + ')'));
       for (var i=0; i < feed.Entry.length; i++) {
         var e = feed.Entry[i];
         var li = document.createElement('li');