aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-10-25 07:55:03 +0200
committercedricbonhomme <devnull@localhost>2010-10-25 07:55:03 +0200
commitdd7a954dc188a94f616570e7bcfbea2376ca835c (patch)
tree3ecd80013013a69b9728311e81c936575381100e
parentImprovements of the export th HTML. (diff)
downloadnewspipe-dd7a954dc188a94f616570e7bcfbea2376ca835c.tar.gz
newspipe-dd7a954dc188a94f616570e7bcfbea2376ca835c.tar.bz2
newspipe-dd7a954dc188a94f616570e7bcfbea2376ca835c.zip
Improvements of the export th HTML (2).
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 0c282680..aeeb63f7 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -1035,7 +1035,8 @@ class Root:
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 += """<h1><a href="%s">%s</a></h1><br />""" % \
+ (article[3].encode('utf-8'), article[2].encode('utf-8'))
content += article[4].encode('utf-8')
content += "</div>"
content += "<hr />\n"
bgstack15