switch to atom feed

This commit is contained in:
Never Gude 2026-03-09 12:16:56 +01:00
parent 6ab972d65e
commit ff76559ab7
28 changed files with 906 additions and 1751 deletions

25
pandoc/atom-template.xml Normal file
View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>$title$</title>
<link href="$link$"/>
<id>$id$</id>
<updated>$date$</updated>
<author>
<name>$author$</name>
</author>
$if(subtitle)$
<subtitle>$subtitle$</subtitle>
$endif$
$for(articles)$
<entry>
<title>$articles.title$</title>
<link href="$link$/$articles.filename$.html"/>
<id>$filename$</id>
<updated>$articles.date$</updated>
<author>
<name>$articles.author$</name>
</author>
<summary>$articles.summary$</summary>
</entry>
$endfor$
</feed>