summaryrefslogtreecommitdiff
path: root/data/templates/atom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/atom.xml')
-rw-r--r--data/templates/atom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/atom.xml b/data/templates/atom.xml
new file mode 100644
index 0000000..578f54f
--- /dev/null
+++ b/data/templates/atom.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>$title</title>
+ <link href="$absolute/$url" rel="self" />
+ <link href="$absolute" />
+ <!-- We use the link as id. -->
+ <id>$absolute/$url</id>
+ <author>
+ <name>$authorName</name>
+ </author>
+ <updated>$timestamp</updated>
+ $body
+</feed>