[Pkg-mozext-commits] [sage-extension] 27/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 6883f6fb5dc6e893b321bd031fbef7adb7455a43
Author: Peter Andrews <petea at jhu.edu>
Date:   Sat May 29 17:34:32 2004 +0000

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

diff --git a/src/sage/content/createhtml.js b/src/sage/content/createhtml.js
index f0d936f..ee79db0 100755
--- a/src/sage/content/createhtml.js
+++ b/src/sage/content/createhtml.js
@@ -82,7 +82,7 @@ var CreateHTML = {
 		htmlSource = htmlSource.replace("**HTMLTITLE**", feed.getTitle());
 		htmlSource = htmlSource.replace("**TITLE**", feed.getTitle());
 		htmlSource = htmlSource.replace("**LINK**", feed.getLink());
-		htmlSource = htmlSource.replace("**DESCRIPTION**", feed.getDescription());
+		htmlSource = htmlSource.replace("**DESCRIPTION**", feed.getDescription() + feed.getLastPubDate().toLocalString());
 
 		var itemsSource = "";
 		for(var i = 0; i < feed.getItemCount(); i++) {
@@ -93,7 +93,7 @@ var CreateHTML = {
 
 			if(feed.getItem(i).hasContent()) {
 				description = allowEContent ? feed.getItem(i).getContent() : htmlToText(feed.getItem(i).getContent());
-				description = "<div class=\"item-desc\">" + description + feed.getItem(i).getPubDate().toLocaleString() + "</div>";
+				description = "<div class=\"item-desc\">" + description + "</div>";
 			}
 
 			if(feed.getItem(i).hasPubDate()) {

-- 
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