aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-02-01 23:05:34 +0100
committercedricbonhomme <devnull@localhost>2010-02-01 23:05:34 +0100
commit63fadbf6cb399763067638b11af2a735b763b2ba (patch)
tree0af115195dc677aa9e25a6998d6905123e5bc9f2 /pyAggr3g470r.py
parentRelease 0.4. The main page display only 10 articles by feeds. For each feeds ... (diff)
downloadnewspipe-63fadbf6cb399763067638b11af2a735b763b2ba.tar.gz
newspipe-63fadbf6cb399763067638b11af2a735b763b2ba.tar.bz2
newspipe-63fadbf6cb399763067638b11af2a735b763b2ba.zip
Bug fix : bad descrition URL in [All articles] pages.
Diffstat (limited to 'pyAggr3g470r.py')
-rw-r--r--pyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 1f01115f..923ef9c4 100644
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -95,7 +95,7 @@ class Root:
if article_id == article[0]:
html += article[4].encode('utf-8')
html += """<hr />\n<a href="%s">Complete story</a>""" % (article[3].encode('utf-8'),)
- html += htmlfooter
+ html += "<br />" + htmlfooter
return html
def all_articles(self, feed_title):
@@ -110,7 +110,7 @@ class Root:
html += article[1].encode('utf-8') + " - " + \
'<a href="' + article[3].encode('utf-8') + \
'">' + article[2].encode('utf-8') + "</a>" + \
- """ - [<a href="/description/%s">description</a>]""" % (article[3].encode('utf-8'),) + \
+ """ - [<a href="/description/%s">description</a>]""" % (article[0].encode('utf-8'),) + \
"<br />\n"
html += """<h4><a href="/">All feeds</a></h4>"""
bgstack15