From 06f2f8f2be7e4d01235c166335ccc11c5798ea82 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 17 Mar 2006 15:02:09 +0000 Subject: [PATCH] Added feed icons. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@38 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- reindex_blog.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/reindex_blog.py b/reindex_blog.py index 9d88601..975b4ea 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -217,13 +217,20 @@ def write_template(level, year, month, day, titles, tags=None): ''' % (lead, href, title)) if level == 0: + new_text.append(""" +
+ +

îÏ×ÏÓÔÅ×ÁÑ ÌÅÎÔÁ × ÆÏÒÍÁÔÁÈ +Atom 1.0 RSS 2.0 . +

+""") + years = {} for year, month, day, file, title, lead in save_titles: years[year] = True new_text.append(''' -
- -

ôÅÇÉ: +

ôÅÇÉ: ''') first_tag = True for count, tag, links in all_tags: @@ -237,7 +244,7 @@ def write_template(level, year, month, day, titles, tags=None): ''') new_text.append(''' -

ðÏ ÇÏÄÁÍ: +

ðÏ ÇÏÄÁÍ: ''') first_year = True for year in sorted(years.keys()): -- 2.39.5