[Pkg-mozext-commits] [sage-extension] 16/39: feed parsing update
David Prévot
taffit at moszumanska.debian.org
Fri May 1 03:10:20 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 8d2d19554f8a863193120f0c540b603389448a19
Author: Peter Andrews <petea at jhu.edu>
Date: Sat May 29 16:18:51 2004 +0000
feed parsing update
---
src/sage/content/feedlib.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index ab30136..b1a464d 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -125,7 +125,7 @@ Feed.prototype.parseATOM = function() {
break;
}
}
-
+ /*
var entryNodes = feedXML.getElementsByTagName("entry");
for(i = 0; entryNodes.length > i; i++){
var item = {title:"", link:"", content:"", pubDate:""};
@@ -167,8 +167,6 @@ Feed.prototype.parseATOM = function() {
contentArray[contType] = CommonFunc.getInnerText(contentNodes[i]);
}
- /*
-
var summaryNodes = aEntryNode.getElementsByTagName("summary");
if("application/xhtml+xml" in contentArray) {
@@ -180,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);
@@ -193,6 +189,7 @@ Feed.prototype.parseATOM = function() {
this.items.push(tmpFeedItem);
}
+ */
}
Feed.prototype.getTitle = function() {
--
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