[Pkg-mozext-commits] [sage-extension] 46/54: RSS parsing fix

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


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

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

commit 3ec8d37da3026cfcaa77d49c235060f6efece1e0
Author: Peter Andrews <petea at jhu.edu>
Date:   Fri Oct 15 00:49:50 2004 +0000

    RSS parsing fix
---
 src/sage/content/feedlib.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index 880d9f8..98c6962 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -102,6 +102,11 @@ Feed.prototype.parseRSS = function() {
 					}
 					break;
 				case "description":
+					if(!item.content) {
+						item.content = CommonFunc.getInnerText(j);
+					}
+					break;
+				case "encoded":
 					item.content = CommonFunc.getInnerText(j);
 					break;
 				case "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