summaryrefslogtreecommitdiffstats
path: root/src/journal/3-atom-feed.rst
blob: a889e4c6976e8b4c7b55f52231b9048202b57cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.. frontmatter
   title: Atom feed
   date: 2014-10-20
   author: Johannes Löthberg
   author_link: /~kyrias/about.html

.. role:: sc

:sc:`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/