diff options
author | cedricbonhomme <devnull@localhost> | 2010-09-09 15:00:40 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-09-09 15:00:40 +0200 |
commit | 4b266feebefee9c158936cb411d892be702788cd (patch) | |
tree | bc7ef543725a0006ab6e471e70e9c061ce376b6e | |
parent | Added a twitter butter with counter. (diff) | |
download | newspipe-4b266feebefee9c158936cb411d892be702788cd.tar.gz newspipe-4b266feebefee9c158936cb411d892be702788cd.tar.bz2 newspipe-4b266feebefee9c158936cb411d892be702788cd.zip |
Added identi.ca link
-rw-r--r-- | css/img/identica.png | bin | 0 -> 2281 bytes | |||
-rwxr-xr-x | pyAggr3g470r.py | 8 |
2 files changed, 7 insertions, 1 deletions
diff --git a/css/img/identica.png b/css/img/identica.png Binary files differnew file mode 100644 index 00000000..fb15c382 --- /dev/null +++ b/css/img/identica.png diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 9dae6a8c..90a8b1a7 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -42,6 +42,8 @@ path = {'/css/style.css': {'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'}, \ + '/css/img/identica.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/identica.png'}, \ '/css/img/heart.png': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/heart.png'}, \ '/css/img/heart_open.png': {'tools.staticfile.on': True, \ @@ -419,6 +421,10 @@ class Root: html += """<br />\n<a href="%s">Complete story</a>\n<br />\n""" % \ (article[3].encode('utf-8'),) # Share this article: + # on Identi.ca + html += """\n<a href="http://identi.ca/index.php?action=newnotice&status_textarea=%s: %s" title="Share on Identi.ca" target="_blank"><img src="/css/img/identica.png" width="20" height="20"></a> \n""" % \ + (article[2].encode('utf-8'), article[3].encode('utf-8')) + # on Google Buzz html += """\n<a href="http://www.google.com/buzz/post?url=%s&message=%s" rel="noreferrer" target="_blank">\n @@ -457,7 +463,7 @@ class Root: (article[3].encode('utf-8'), article[2].encode('utf-8')) # on Google Buzz with counter - html += """<br /><br />\n<a title="Share on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-url="%s"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>\n""" % \ + html += """<br /><br />\n<a title="Share on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-url="%s"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>\n """ % \ (article[3].encode('utf-8'),) html += """<br />\n<img src="/var/qrcode/%s.png" title="Share with your smartphone" />""" % \ |