aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index b9b8f9c1..a99d16ed 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -598,6 +598,7 @@ class Root:
timeline = Counter()
for rss_feed_id in self.feeds.keys():
+ new_feed_section = True
for article in self.articles[rss_feed_id]:
if querystring == "all":
@@ -623,6 +624,18 @@ class Root:
else:
like = ""
+ if new_feed_section is True:
+ new_feed_section = False
+ html += """<h2><a name="%s"><a href="%s" rel="noreferrer"
+ target="_blank">%s</a></a>
+ <a href="%s" rel="noreferrer"
+ target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
+ (rss_feed_id, \
+ self.feeds[rss_feed_id][5].encode('utf-8'), \
+ self.feeds[rss_feed_id][3].encode('utf-8'), \
+ self.feeds[rss_feed_id][4].encode('utf-8'), \
+ self.feeds[rss_feed_id][2].encode('utf-8'))
+
html += article[1].encode('utf-8') + \
" - " + not_read_begin + \
"""<a href="/description/%s:%s" rel="noreferrer" target="_blank">%s</a>""" % \
bgstack15