From 0c4d8ed5e8327f1eb391609eb1b7742a2506df5a Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Wed, 8 Jun 2011 08:15:08 +0200 Subject: Added Google's +1 button --- pyAggr3g470r.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 2b47ec87..c30e8716 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -105,6 +105,7 @@ def htmlheader(nb_unread_articles=""): '\n\t'+ nb_unread_articles +'pyAggr3g470r - News aggregator\n' + \ '\t' + \ '\n\t\n' + \ + '\n\t\n' + \ '\n' htmlfooter = '

This software is under GPLv3 license. You are welcome to copy, modify or' + \ @@ -495,8 +496,13 @@ class Root: (article.article_link, article.article_title, "via pyAggr3g470r") # on Identi.ca - html += """\n    \n""" % \ + html += """\n\n    \n""" % \ (article.article_title, article.article_link) + + # Google +1 button + html += """\n\n

   """ % \ + (article.article_link,) + # on Google Buzz html += """\n\n\n\t -- cgit