aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-03-29 13:16:16 +0200
committercedricbonhomme <devnull@localhost>2011-03-29 13:16:16 +0200
commitb4ffcd94b6d98c18f258cbd1011a28101fd4f1ab (patch)
treee29075ea39684e81c1298a36c9c642fd1d1c5390
parentAdded link to share an article on Diaspora. (diff)
downloadnewspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.tar.gz
newspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.tar.bz2
newspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.zip
Added picture for Diaspora.
-rw-r--r--css/img/diaspora.pngbin0 -> 1179 bytes
-rwxr-xr-xpyAggr3g470r.py5
2 files changed, 4 insertions, 1 deletions
diff --git a/css/img/diaspora.png b/css/img/diaspora.png
new file mode 100644
index 00000000..fdf8bb72
--- /dev/null
+++ b/css/img/diaspora.png
Binary files differ
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 7977cd96..eb7accce 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -63,6 +63,8 @@ path = {'/css/style.css': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/buzz.png'}, \
'/css/img/identica.png': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/identica.png'}, \
+ '/css/img/diaspora.png': {'tools.staticfile.on': True, \
+ 'tools.staticfile.filename':utils.path+'/css/img/diaspora.png'}, \
'/css/img/heart.png': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/heart.png'}, \
'/css/img/heart_open.png': {'tools.staticfile.on': True, \
@@ -471,7 +473,8 @@ class Root:
# Share this article:
# on Diaspora
- html += """<a href="javascript:(function(){f='https://joindiaspora.com/bookmarklet?url=%s&amp;title=%s&amp;notes=%s&amp;v=1&amp;';a=function(){if(!window.open(f+'noui=1&amp;jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">Post to Diaspora</a>\n &nbsp;&nbsp; """ % \
+ html += """<a href="javascript:(function(){f='https://joindiaspora.com/bookmarklet?url=%s&amp;title=%s&amp;notes=%s&amp;v=1&amp;';a=function(){if(!window.open(f+'noui=1&amp;jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">\n\t
+ <img src="/css/img/diaspora.png" title="Share on Diaspora" /></a>\n &nbsp;&nbsp; """ % \
(article.article_link, article.article_title, "via pyAggr3g470r")
# on Identi.ca
bgstack15