[Pkg-mozext-commits] [sage-extension] 24/39: feed parsing update

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_1
in repository sage-extension.

commit 412f686040a997d3e2ce797d6d996af77875b711
Author: Peter Andrews <petea at jhu.edu>
Date:   Sat May 29 16:40:52 2004 +0000

    feed parsing update
---
 src/sage/content/feedlib.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index cc21e64..21540cc 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -157,12 +157,12 @@ Feed.prototype.parseATOM = function() {
 			tmp_date.setUTCSeconds(tmp_str.substring(17,19));
 			item.pubDate = new Date(tmp_date);
 		}
-		/*
+
 		var aEntryNode = entryNodes[i];
 
 		var contentNodes = aEntryNode.getElementsByTagName("content");
 		var contentArray = new Array();
-		for(i = 0; i < contentNodes.length; i++){
+		for(var j = 0; i < contentNodes.length; i++){
 			var contType = contentNodes[i].getAttribute("type");
 			contentArray[contType] = CommonFunc.getInnerText(contentNodes[i]);
 		}
@@ -178,8 +178,6 @@ Feed.prototype.parseATOM = function() {
 		}	else if(summaryNodes.length) {
 			item.content = CommonFunc.getInnerText(summaryNodes[0]);
 		}
-
-		*/
 			
 		var tmpFeedItem = new FeedItem(item.title, item.link, item.content, item.pubDate);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list