aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-01 16:14:01 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-01 16:14:01 +0100
commit959f66f4473c86bd12d4cd893694aae8601d025a (patch)
tree8dbb7c1b31d238d7ff4ed558949130fcfd0813fb
parentsorting by date all articles for each feed. (diff)
downloadnewspipe-959f66f4473c86bd12d4cd893694aae8601d025a.tar.gz
newspipe-959f66f4473c86bd12d4cd893694aae8601d025a.tar.bz2
newspipe-959f66f4473c86bd12d4cd893694aae8601d025a.zip
Share articles with reddit.
-rwxr-xr-xpyaggr3g470r/static/img/reddit.pngbin0 -> 525 bytes
-rw-r--r--pyaggr3g470r/templates/article.html3
2 files changed, 3 insertions, 0 deletions
diff --git a/pyaggr3g470r/static/img/reddit.png b/pyaggr3g470r/static/img/reddit.png
new file mode 100755
index 00000000..2d615f2a
--- /dev/null
+++ b/pyaggr3g470r/static/img/reddit.png
Binary files differ
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 315bb6f4..8d4c2695 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -22,6 +22,9 @@
<a href="https://api.pinboard.in/v1/posts/add?url={{ article.link }}&description={{ article.title }}" rel="noreferrer" target="_blank">
<img src="/static/img/pinboard.png" title="Share on Pinboard" />
</a>
+ <a href="http://reddit.com/submit?url={{ article.link }}&title={{ article.title }}" rel="noreferrer" target="_blank">
+ <img src="/static/img/reddit.png" title="Share on reddit" />
+ </a>
<g:plusone size="standard" count="true" href="{{ article.link }}"></g:plusone>
</div>
</div><!-- /.container -->
bgstack15