From ec4952a98c0a3fa300faa5935649e334808071f4 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 29 Mar 2011 11:17:19 +0200 Subject: Added link to share an article on Diaspora. --- pyAggr3g470r.py | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 9f78abff..7977cd96 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -470,6 +470,10 @@ class Root: html += """
\nComplete story\n
\n""" % (article.article_link,) # Share this article: + # on Diaspora + html += """Post to Diaspora\n    """ % \ + (article.article_link, article.article_title, "via pyAggr3g470r") + # on Identi.ca html += """\n    \n""" % \ (article.article_title, article.article_link) @@ -509,6 +513,7 @@ class Root: # on Google Buzz with counter html += """

\n\n    """ % \ (article.article_link,) + # QRCode (for smartphone) html += """
\n""" % (article_id,) html += "
\n" + htmlfooter @@ -597,11 +602,15 @@ class Root: # Tags cloud html += 'Minimum size of a word:' html += '
' - html += """""" % (word_size) + html += """""" % (word_size,) html += '
\n' html += '
' + \ utils.tag_cloud(top_words) + '
' + html += "
" + #html += """
\n
\n""" % (feed.feed_id,) + + html += "
" html += htmlfooter return html @@ -1045,6 +1054,20 @@ class Root: remove_feed.exposed = True + def change_feed_url(self, querrystring): + """ + """ + html = htmlheader() + html += htmlnav + html += """
""" + + html += "
\n" + html += htmlfooter + return html + + change_feed_url.exposed = True + + def delete_article(self, param): """ Delete an article. -- cgit