aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-10-25 07:27:17 +0200
committercedricbonhomme <devnull@localhost>2010-10-25 07:27:17 +0200
commiteb452b7e3c11ad902960a599e41e6015315f4009 (patch)
tree1c3ded4c5c2335a28172465c4363d4f89f1179b9 /pyAggr3g470r.py
parentImprovements of the regular expression for tag clouds and search. (diff)
downloadnewspipe-eb452b7e3c11ad902960a599e41e6015315f4009.tar.gz
newspipe-eb452b7e3c11ad902960a599e41e6015315f4009.tar.bz2
newspipe-eb452b7e3c11ad902960a599e41e6015315f4009.zip
Improvements of the export th HTML.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 3b7b9501..0c282680 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -1034,8 +1034,10 @@ class Root:
name = folder + "/" + article[1]+ ".html"
f = open(name.replace(' ', '_'), "w")
content = htmlheader()
+ content += '\n<div style="width: 50%; overflow:hidden; text-align: justify; margin:0 auto">\n'
content += "<h1>" + article[2].encode('utf-8') + "</h1><br />"
content += article[4].encode('utf-8')
+ content += "</div>"
content += "<hr />\n"
content += htmlfooter
elif export_method == "export_TXT":
bgstack15