aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--img/pinboard.pngbin0 -> 597 bytes
-rwxr-xr-xpyAggr3g470r.py7
2 files changed, 7 insertions, 0 deletions
diff --git a/img/pinboard.png b/img/pinboard.png
new file mode 100644
index 00000000..6dddc10b
--- /dev/null
+++ b/img/pinboard.png
Binary files differ
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