diff options
author | cedricbonhomme <devnull@localhost> | 2011-03-29 13:16:16 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2011-03-29 13:16:16 +0200 |
commit | b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab (patch) | |
tree | e29075ea39684e81c1298a36c9c642fd1d1c5390 | |
parent | Added link to share an article on Diaspora. (diff) | |
download | newspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.tar.gz newspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.tar.bz2 newspipe-b4ffcd94b6d98c18f258cbd1011a28101fd4f1ab.zip |
Added picture for Diaspora.
-rw-r--r-- | css/img/diaspora.png | bin | 0 -> 1179 bytes | |||
-rwxr-xr-x | pyAggr3g470r.py | 5 |
2 files changed, 4 insertions, 1 deletions
diff --git a/css/img/diaspora.png b/css/img/diaspora.png Binary files differnew file mode 100644 index 00000000..fdf8bb72 --- /dev/null +++ b/css/img/diaspora.png 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&title=%s&notes=%s&v=1&';a=function(){if(!window.open(f+'noui=1&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 """ % \ + html += """<a href="javascript:(function(){f='https://joindiaspora.com/bookmarklet?url=%s&title=%s&notes=%s&v=1&';a=function(){if(!window.open(f+'noui=1&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 """ % \ (article.article_link, article.article_title, "via pyAggr3g470r") # on Identi.ca |