diff options
author | cedricbonhomme <devnull@localhost> | 2010-09-07 11:33:01 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-09-07 11:33:01 +0200 |
commit | b7c2c6a5dc3302a2c85059ba644161708746b6c9 (patch) | |
tree | 3c1af452c4de31af842c70ff34514a32ca65784e /pyAggr3g470r.py | |
parent | And an other minor improvement... (diff) | |
download | newspipe-b7c2c6a5dc3302a2c85059ba644161708746b6c9.tar.gz newspipe-b7c2c6a5dc3302a2c85059ba644161708746b6c9.tar.bz2 newspipe-b7c2c6a5dc3302a2c85059ba644161708746b6c9.zip |
Improvement of the description of articles page.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index d78da76b..7666c819 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -398,6 +398,7 @@ class Root: if article[5] == "0": self.mark_as_read("Article:"+article[3]) # update the database + html += '\n<div style="width: 50%; overflow:hidden; text-align: justify; margin:0 auto">\n' html += """<h1><i>%s</i> from <a href="/all_articles/%s">%s</a></h1>\n<br />\n""" % \ (article[2].encode('utf-8'), feed_id, \ self.feeds[feed_id][3].encode('utf-8')) @@ -415,7 +416,7 @@ class Root: html += description else: html += "No description available." - html += "\n<hr />\n" + html += "\n</div>\n<hr />\n" html += """This article seems to be written in <a href="/language/%s">%s</a>.\n""" % \ (article[6], article[6]) html += """<br />\n<a href="/plain_text/%s:%s">Plain text</a>\n""" % \ |