diff options
author | cedricbonhomme <devnull@localhost> | 2011-10-02 18:28:55 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2011-10-02 18:28:55 +0200 |
commit | 5cfa1931bb8cf6ec2dcaeaf68c312d1c88479871 (patch) | |
tree | e51bc063ea45f2f7001c3ec5719920c43dd061d6 /pyAggr3g470r.py | |
parent | Added more comments in headers.~ (diff) | |
download | newspipe-5cfa1931bb8cf6ec2dcaeaf68c312d1c88479871.tar.gz newspipe-5cfa1931bb8cf6ec2dcaeaf68c312d1c88479871.tar.bz2 newspipe-5cfa1931bb8cf6ec2dcaeaf68c312d1c88479871.zip |
It is now possible to share an article on Pinboard.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 2734a9a8..0801d087 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -494,6 +494,13 @@ class Root: rel="noreferrer" target="_blank">\n\t <img src="/img/buzz.png" title="Share on Google Buzz" /></a> """ % \ (article.article_link, article.article_title) + + # on Pinboard + html += """\n\n<a href="https://api.pinboard.in/v1/posts/add?url=%s&description=%s" + rel="noreferrer" target="_blank">\n\t + <img src="/img/pinboard.png" title="Share on Pinboard" /></a> """ % \ + (article.article_link, article.article_title) + # on delicious html += """\n\n<a href="http://delicious.com/post?url=%s&title=%s" rel="noreferrer" target="_blank">\n\t |