Atom feeds:

Feed title is now a link to the entry page, not the whole blog
This commit is contained in:
Stefan Ritter 2009-03-25 14:06:52 +01:00
parent 0fa9b8c691
commit d285703e7c

View File

@ -127,7 +127,7 @@ if feed_display == "atom":
title_md5sum_5 = title_md5sum[20:32]
print ' <title>' + title + '</title>'
print ' <link href="' + blog_url + '"/>'
print ' <link href="' + blog_url + '/?p=' + title + '"/>'
print ' <id>urn:uuid:' + title_md5sum_1 + '-' + title_md5sum_2 + '-' + title_md5sum_3 + '-' + title_md5sum_4 + '-' + title_md5sum_5 + '</id>'
print ' <updated>' + str(date[0]) + '-' + str(date[1]) + '-' + str(date[2]) + 'T' + str(date[3]) + ':' + str(date[4]) + ':' + str(date[5]) + 'Z</updated>'
print ' </entry>'