diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-24 00:12:19 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-24 00:12:19 +0100 |
commit | e7f27b935fd8a18f954275a99554c1a1bbf82648 (patch) | |
tree | b3413a78f9dcf11e912ced7b96453aaabcc1946b /scripts | |
parent | 9ad36c6a36c9d57c6759b278b88be02d76a11a23 (diff) | |
download | website-e7f27b935fd8a18f954275a99554c1a1bbf82648.tar.xz |
bupa: Use .atom file extension
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bupa | 4 |
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): |