cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject svn commit: r1527655 - /cloudstack/site/trunk/content/index.mdtext
Date Mon, 30 Sep 2013 17:04:20 GMT
Author: chipchilders
Date: Mon Sep 30 17:04:20 2013
New Revision: 1527655

URL: http://svn.apache.org/r1527655
Log:
Removing some comments to try and force a site build

Modified:
    cloudstack/site/trunk/content/index.mdtext

Modified: cloudstack/site/trunk/content/index.mdtext
URL: http://svn.apache.org/viewvc/cloudstack/site/trunk/content/index.mdtext?rev=1527655&r1=1527654&r2=1527655&view=diff
==============================================================================
--- cloudstack/site/trunk/content/index.mdtext (original)
+++ cloudstack/site/trunk/content/index.mdtext Mon Sep 30 17:04:20 2013
@@ -185,16 +185,13 @@ function slug(str){
 function newFeed(id, file) {
  $.getJSON("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?",
function(d) {
   var count = 0;
-  //grab ever rss item from the json result request
   $(d.query.results.feed.entry).each(function() {
-    //if set up to be infinite or the limit is not reached, keep grabbing items
     if(maxEntries == 0 || maxEntries>count){
      var title = this.title.content;
      var content = this.content.content;
      var pubDate = new Date(this.published);
      // Format however you want, I only went for link and title
      var anItem = "<h4>"+title+"</h4><p>"+pubDate+"</p>"+content+"<hr
/>";
-     //append to the div
      $("#"+id).append(anItem);
      if (count==0)
       $("#headline").append("<p>"+title+"<br/><a href='#news'>Read more
here.</a></p>");
@@ -234,15 +231,11 @@ var maxEvents = 3; // if 0 then there wi
 function newEventList(id, file) {
  $.getJSON("http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%3D%22"+encodeURIComponent(file)+"%22&format=json&callback=?",
function(d) {
   var count = 0;
-  //grab ever rss item from the json result request
   $(d.query.results.feed.entry).each(function() {
-    //if set up to be infinite or the limit is not reached, keep grabbing items
     if(maxEvents == 0 || maxEvents>count){
      var title = this.title;
      var link = this.link.href;
-     // Format however you want, I only went for link and title
      var anItem = "<p><a href='"+link+"' target='_blank'>"+title+"</a></p>";
-     //append to the div
      $("#"+id).append(anItem);
      count++;
     }



Mime
View raw message