aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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