]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - reindex_blog.py
Add alternates links to news/blog feeds.
[phdru.name/phdru.name.git] / reindex_blog.py
index 8d19837099f99795f0a8689213c333d56185e031..b5ba18ef8f38229c39f320d91fc0398db92e044a 100755 (executable)
@@ -127,6 +127,9 @@ def write_template(level, year, month, day, titles, tags=None):
 #attr $Title = "Oleg BroytMann's blog"
 #attr $Description = "BroytMann Russian Blog Index Document"
 #attr $Copyright = %(cyear)s
+#attr $alternates = (("application/atom+xml", "News [Atom 1.0]", "atom_10.xml"),
+                     ("application/rss+xml",  "News [RSS 2.0]",  "rss_20.xml")
+)
 ##
 #def body_html
 <H1>Журнал</H1>