aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-10-02 18:28:55 +0200
committercedricbonhomme <devnull@localhost>2011-10-02 18:28:55 +0200
commit5cfa1931bb8cf6ec2dcaeaf68c312d1c88479871 (patch)
treee51bc063ea45f2f7001c3ec5719920c43dd061d6 /pyAggr3g470r.py
parentAdded more comments in headers.~ (diff)
downloadnewspipe-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-xpyAggr3g470r.py7
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> &nbsp;&nbsp; """ % \
(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> &nbsp;&nbsp; """ % \
+ (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
bgstack15