From e7f27b935fd8a18f954275a99554c1a1bbf82648 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 24 Feb 2015 00:12:19 +0100 Subject: bupa: Use .atom file extension --- scripts/bupa | 4 ++-- 1 file 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): -- cgit v1.2.3-54-g00ecf