aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-03 21:10:05 +0100
committercedricbonhomme <devnull@localhost>2012-03-03 21:10:05 +0100
commita299bd0ebed567423b32f7e9ed8f60b68388ddd7 (patch)
treec02e7e57a312410c9d321d994ff16b1b1401354a
parentLike/Unlike an article is now working with MongoDB. (diff)
downloadnewspipe-a299bd0ebed567423b32f7e9ed8f60b68388ddd7.tar.gz
newspipe-a299bd0ebed567423b32f7e9ed8f60b68388ddd7.tar.bz2
newspipe-a299bd0ebed567423b32f7e9ed8f60b68388ddd7.zip
Minor bugfix in favorites page.
-rwxr-xr-xpyAggr3g470r.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 9135e3d5..522c5d14 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -1061,10 +1061,10 @@ class Root:
if new_feed_section is True:
new_feed_section = False
html += """<h2><a name="%s"><a href="%s" rel="noreferrer"target="_blank">%s</a></a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
- (feed["feed_id"], feed["site_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"])
+ (feed["feed_id"], feed["feed_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"])
# descrition for the CSS ToolTips
- article_content = utils.clear_string(article["article_description"])
+ article_content = utils.clear_string(article["article_content"])
if article_content:
description = " ".join(article_content[:500].split(' ')[:-1])
else:
@@ -1072,7 +1072,7 @@ class Root:
# a description line per article (date, title of the article and
# CSS description tooltips on mouse over)
- html += article.article_date + " - " + \
+ html += str(article["article_date"]) + " - " + \
"""<a class="tooltip" href="/article/%s:%s" rel="noreferrer" target="_blank">%s<span class="classic">%s</span></a><br />\n""" % \
(feed["feed_id"], article["article_id"], article["article_title"][:150], description)
html += "<hr />\n"
bgstack15