aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--pyAggr3g470r.py4
-rw-r--r--var/feed.lst1
2 files changed, 3 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>"""
diff --git a/var/feed.lst b/var/feed.lst
index 56178150..6cace214 100644
--- a/var/feed.lst
+++ b/var/feed.lst
@@ -12,3 +12,4 @@ http://www.python.org/channews.rdf
http://www.kde.org/dotkdeorg.rdf
http://feeds.feedburner.com/internetactu/bcmJ
http://www.april.org/fr/rss.xml
+http://www.framablog.org/index.php/feed/atom
bgstack15