aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-07-05 11:15:54 +0200
committercedricbonhomme <devnull@localhost>2010-07-05 11:15:54 +0200
commitdc902942803d9f966639c9665cfefb0a9b7c65db (patch)
treef6e1628e291307ccc213a1c54228dbd058ebd0c8 /pyAggr3g470r.py
parentImprovements, exception management. (diff)
downloadnewspipe-dc902942803d9f966639c9665cfefb0a9b7c65db.tar.gz
newspipe-dc902942803d9f966639c9665cfefb0a9b7c65db.tar.bz2
newspipe-dc902942803d9f966639c9665cfefb0a9b7c65db.zip
Now pyAggr3g470r only works with Python 2.7. OrderedDict are used in order to sort the feeds alphabetically in a simple way.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 66379d4b..78ce5390 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -2,8 +2,8 @@
#-*- coding: utf-8 -*-
__author__ = "Cedric Bonhomme"
-__version__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2010/06/10 $"
+__version__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2010/07/05 $"
__copyright__ = "Copyright (c) 2010 Cedric Bonhomme"
__license__ = "GPLv3"
@@ -90,7 +90,7 @@ class Root:
html += """<a href="/unread/All">Unread article(s): %s</a>\n""" % \
(sum([feed[1] for feed in self.feeds.values()]),)
- for rss_feed_id in self.articles.keys():
+ for rss_feed_id in self.feeds.keys():
html += """<h2><a name="%s"><a href="%s" rel="noreferrer"
target="_blank">%s</a></a>
<a href="%s" rel="noreferrer"
@@ -163,7 +163,7 @@ class Root:
Create the list of feeds.
"""
html = """Your feeds (%s):<br />\n""" % len(self.articles.keys())
- for rss_feed_id in self.articles.keys():
+ for rss_feed_id in self.feeds.keys():
if self.feeds[rss_feed_id][1] != 0:
# not readed articles are in bold
not_read_begin = "<b>"
bgstack15