aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-10-20 14:05:28 +0200
committercedricbonhomme <devnull@localhost>2010-10-20 14:05:28 +0200
commitd610f9e41fb078abae71924cf06d5b8c8b1500e0 (patch)
tree2336c3689055a2f8cb3a98a1e2418c11ca3970c7
parentImprovements to the search method. (diff)
downloadnewspipe-d610f9e41fb078abae71924cf06d5b8c8b1500e0.tar.gz
newspipe-d610f9e41fb078abae71924cf06d5b8c8b1500e0.tar.bz2
newspipe-d610f9e41fb078abae71924cf06d5b8c8b1500e0.zip
Improvements of the result page for the search).
-rwxr-xr-xpyAggr3g470r.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 89fefe97..f1cd70c6 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -338,7 +338,7 @@ class Root:
" - " + not_read_begin + \
"""<a href="/description/%s:%s" rel="noreferrer" target="_blank">%s</a>""" % \
(feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')) + \
- not_read_end
+ not_read_end + """<br />\n"""
else:
for rss_feed_id in self.articles.keys():
new_feed_section = True
@@ -371,9 +371,7 @@ class Root:
" - " + not_read_begin + \
"""<a href="/description/%s:%s" rel="noreferrer" target="_blank">%s</a>""" % \
(rss_feed_id, article[0].encode('utf-8'), article[2].encode('utf-8')) + \
- not_read_end + """ from <i><a href="%s">%s</a></i><br />\n""" % \
- (self.feeds[rss_feed_id][5].encode('utf-8'), \
- self.feeds[rss_feed_id][3].encode('utf-8'))
+ not_read_end + """<br />\n"""
html += "<hr />"
html += htmlfooter
return html
bgstack15