summaryrefslogtreecommitdiffstats
path: root/scripts/bupa
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-02-24 00:12:19 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-02-24 00:12:19 +0100
commite7f27b935fd8a18f954275a99554c1a1bbf82648 (patch)
treeb3413a78f9dcf11e912ced7b96453aaabcc1946b /scripts/bupa
parent9ad36c6a36c9d57c6759b278b88be02d76a11a23 (diff)
downloadwebsite-e7f27b935fd8a18f954275a99554c1a1bbf82648.tar.xz
bupa: Use .atom file extension
Diffstat (limited to 'scripts/bupa')
-rwxr-xr-xscripts/bupa4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bupa b/scripts/bupa
index d923f98..dd4052e 100755
--- a/scripts/bupa
+++ b/scripts/bupa
@@ -80,7 +80,7 @@ def build_journal(jinja_env):
atom_feed = AtomFeed(
title = "kyrias’ journal",
subtitle = "The lost journal of Kyrias",
- feed_url = "https://theos.kyriasis.com/~kyrias/journal.xml",
+ feed_url = "https://theos.kyriasis.com/~kyrias/journal.atom",
url = "https://theos.kyriasis.com/~kyrias/journal.html",
author = { 'name': 'Johannes Löthberg',
'uri': 'https://theos.kyriasis.com/~kyrias/about.html' },
@@ -98,7 +98,7 @@ def build_journal(jinja_env):
journal = template.render(entries=entries, title='~/journal', header='The lost journal')
file.write(journal.encode('utf-8'))
- with open('build/journal.xml', 'wb') as file:
+ with open('build/journal.atom', 'wb') as file:
file.write(atom_feed.to_string().encode('utf-8'))
def build_page(jinja_env, template, pagename):