aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-06-13 15:10:39 +0200
committercedricbonhomme <devnull@localhost>2011-06-13 15:10:39 +0200
commit966e4a0cb67a739b83031d6dc323f12a1d98356a (patch)
tree7093ed2801b8e79006f1f0adb1413263cd598588 /pyAggr3g470r.py
parentAdded better comments in the code. (diff)
downloadnewspipe-966e4a0cb67a739b83031d6dc323f12a1d98356a.tar.gz
newspipe-966e4a0cb67a739b83031d6dc323f12a1d98356a.tar.bz2
newspipe-966e4a0cb67a739b83031d6dc323f12a1d98356a.zip
Added support of different POD for diaspora.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 55f0b2e3..df1c0d23 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -491,9 +491,9 @@ 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()}})()">\n\t
+ html += """<a href="javascript:(function(){f='https://%s/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")
+ (utils.DIASPORA_POD, article.article_link, article.article_title, "via pyAggr3g470r")
# on Identi.ca
html += """\n\n<a href="http://identi.ca/index.php?action=newnotice&status_textarea=%s: %s" title="Share on Identi.ca" target="_blank"><img src="/css/img/identica.png" /></a> &nbsp;&nbsp; \n""" % \
bgstack15