Atom feeds:
Feed title is now a link to the entry page, not the whole blog
This commit is contained in:
parent
0fa9b8c691
commit
d285703e7c
@ -127,7 +127,7 @@ if feed_display == "atom":
|
|||||||
title_md5sum_5 = title_md5sum[20:32]
|
title_md5sum_5 = title_md5sum[20:32]
|
||||||
|
|
||||||
print ' <title>' + title + '</title>'
|
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 ' <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 ' <updated>' + str(date[0]) + '-' + str(date[1]) + '-' + str(date[2]) + 'T' + str(date[3]) + ':' + str(date[4]) + ':' + str(date[5]) + 'Z</updated>'
|
||||||
print ' </entry>'
|
print ' </entry>'
|
||||||
|
Loading…
Reference in New Issue
Block a user