diff options
author | Stefan Ritter <xeno@goliath.thehappy.de> | 2009-03-25 14:06:52 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@goliath.thehappy.de> | 2009-03-25 14:06:52 +0100 |
commit | d285703e7cbb4a5c10e01dc9b50141c831565300 (patch) | |
tree | 7a032d75aa2d5a5f89ccd047094db0d047c99480 /blogthon.cgi | |
parent | 0fa9b8c691c3b9b7757378f0c8b241904e15a375 (diff) |
Atom feeds:
Feed title is now a link to the entry page, not the whole blog
Diffstat (limited to '')
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index 3d34323..376e3dd 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -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>' |