From 0762d34bbe008b72bc4fbcabf6e39e6add196bc4 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 15 Apr 2010 09:44:14 +0200 Subject: Introduction of a Google Buzz button to pyAggr3g470r. --- css/img/buzz.png | Bin 0 -> 791 bytes pyAggr3g470r.py | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 css/img/buzz.png diff --git a/css/img/buzz.png b/css/img/buzz.png new file mode 100644 index 00000000..e4bc1732 Binary files /dev/null and b/css/img/buzz.png differ diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 4de1e6b3..ab8ac2a7 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -36,6 +36,8 @@ path = {'/css/style.css': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'css/img/scoopeo.png'}, \ '/css/img/blogmarks.png': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'css/img/blogmarks.png'}, \ + '/css/img/buzz.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'css/img/buzz.png'}, \ '/var/histogram.png':{'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'var/histogram.png'}} @@ -337,11 +339,18 @@ class Root: html += """
\nComplete story\n
\n""" % \ (article[3].encode('utf-8'),) # Share this article: + # on Buzz + html += """\n +    """ % \ + (article[3].encode('utf-8'), article[2].encode('utf-8')) + # on delicious html += """\n    """ % \ (article[3].encode('utf-8'), article[2].encode('utf-8')) + # on Digg html += """\n @@ -362,6 +371,9 @@ class Root: rel="noreferrer" target="_blank">\n """ % \ (article[3].encode('utf-8'), article[2].encode('utf-8')) + + html += """
\n""" % \ + (article[3].encode('utf-8'),) break html += "
\n" + htmlfooter return html -- cgit