diff options
-rw-r--r-- | img/pinboard.png | bin | 0 -> 597 bytes | |||
-rwxr-xr-x | pyAggr3g470r.py | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/img/pinboard.png b/img/pinboard.png Binary files differnew file mode 100644 index 00000000..6dddc10b --- /dev/null +++ b/img/pinboard.png 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 |