aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 983aa99..86becbe 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -21,6 +21,7 @@ configuration = ConfigParser.ConfigParser()
configuration.read('configuration')
blog_title = configuration.get('personal', 'blog_title')
+blog_url = configuration.get('personal', 'blog_url')
keywords = configuration.get('personal', 'keywords')
entries_dir = configuration.get('personal', 'entries_dir')
entries_suffix = configuration.get('personal', 'entries_suffix')
@@ -126,7 +127,7 @@ if feed_display == "atom":
title_md5sum_5 = title_md5sum[20:32]
print ' <title>' + title + '</title>'
- print ' <link href="http://www.thehappy.de/~xeno/"/>'
+ print ' <link href="' + blog_url + "/>'
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>'