index: reduce news items to 3
authorThomas Park <thomas@thomaspark.me>
Wed, 22 Aug 2012 21:41:55 +0000 (17:41 -0400)
committerThomas Park <thomas@thomaspark.me>
Wed, 22 Aug 2012 21:41:55 +0000 (17:41 -0400)
index.html

index 6fff64c..0314d9c 100644 (file)
 
                parseRSS('http://feeds.feedburner.com/bootswatch', function(d){
                        var h ='<strong>Recent updates:</strong> ';
-                       for (var i = 0; i < 4; i++){
+                       for (var i = 0; i < 3; i++){
                                h = h + '<a href="' + d.entries[i].link + '">' + d.entries[i].title + '...</a>&nbsp;&nbsp;';
                        }
                        document.getElementById('ticker').innerHTML = h;