diff options
author | cedricbonhomme <devnull@localhost> | 2010-12-07 18:22:44 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-12-07 18:22:44 +0100 |
commit | 27c39efff4ea31cd423abbe5b21cfc661948c6f5 (patch) | |
tree | dd7d3361f62a8dd8e8c5ebe7d99c62aecad26543 /pyAggr3g470r.py | |
parent | Removed RSS generation. (diff) | |
download | newspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.tar.gz newspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.tar.bz2 newspipe-27c39efff4ea31cd423abbe5b21cfc661948c6f5.zip |
Better display of article's content.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 1720f1d5..096797ca 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -416,7 +416,7 @@ class Root: self.error_page("This article do not exists.") html = htmlheader() html += htmlnav - html += """<div class="left inner">""" + html += """<div>""" # Generation of the QR Code for the current article try: os.makedirs("./var/qrcode/") @@ -455,9 +455,9 @@ class Root: # Description (full content) of the article description = article.article_description if description: - html += description + "\n<br /><br />" + html += description + "\n<br /><br /><br />" else: - html += "No description available.\n<br /><br />" + html += "No description available.\n<br /><br /><br />" # Previous and following articles try: @@ -1111,7 +1111,7 @@ class Root: section.title = article.article_title.decode('utf-8') section.paragraphs = [utils.clear_string(article.article_description).decode('utf-8')] ez_epub.makeBook(article.article_title.decode('utf-8'), [feed.feed_title.decode('utf-8')], [section], \ - os.path.normpath(folder + "article"), lang='en-US', cover=None) + os.path.normpath(folder) + "article.epub", lang='en-US', cover=None) return self.article(param) epub.exposed = True |