From cfec37d6f6f494079dfd2aa36acc71b05f56e5a1 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 22 Feb 2010 12:39:33 +0100 Subject: Added a menu in the page all_articles of feeds. --- pyAggr3g470r.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 4ff01023..372e1e76 100644 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -213,6 +213,20 @@ class Root: """ html = htmlheader html += htmlnav + html += """
\n""" + html += """Mark all articles from this feed as read""" % (feed_id,) + html += """
\n
\n""" + html += "
\n" + html += """Your feeds (%s):
\n""" % len(self.dic.keys()) + for rss_feed_id in self.dic.keys(): + + html += """%s (%s / %s)
\n""" % \ + (rss_feed_id.encode('utf-8'), \ + self.dic[rss_feed_id][0][5].encode('utf-8'), \ + rss_feed_id, self.dic_info[rss_feed_id][1], \ + self.dic_info[rss_feed_id][0]) html += """
""" html += """

Articles of the feed %s


""" % (self.dic[feed_id][0][5].encode('utf-8')) @@ -233,7 +247,6 @@ class Root: not_read_end + \ "
\n" - html += """
\nMark all as read""" % (feed_id,) html += """\n

All feeds

""" html += "
\n" html += htmlfooter -- cgit