From 563a02272ea0d6072db517f7637f61f1b842b4a1 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 20 Oct 2014 19:31:08 +0200 Subject: add atom feed journal entry --- src/journal/3-atom-feed.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/journal/3-atom-feed.rst diff --git a/src/journal/3-atom-feed.rst b/src/journal/3-atom-feed.rst new file mode 100644 index 0000000..17fbaa7 --- /dev/null +++ b/src/journal/3-atom-feed.rst @@ -0,0 +1,17 @@ +.. frontmatter + title: Atom feed + date: 2014-10-20 + author: Johannes Löthberg + author_link: /~kyrias/about.html + +Added an atom generator thingy to ``bupa``, (short for “build page”,) which is a python script I use to generate this website. The script uses docutils for parsing the body text written in reStructuredText_ and uses jinja2_ templates to stuff the body text into. The atom feed is generated using pyatom at the same time as the separate journal entry pages are written out. + +Was rather easy to do, tho I’m unsure if I’ll keep it since it’s rather pointless. + +A more important thing to focus on would probably be making ``bupa`` a more general script instead so there’s less duplication maybe.. Especially since the theos_ website is also built using a copy of the same script, but slightly modified. + +co'o + +.. _reStructuredText: http://docutils.sourceforge.net/rst.html +.. _jinja2: http://jinja.pocoo.org/ +.. _theos: https://theos.kyriasis.com/ -- cgit v1.2.3-70-g09d2