From 768de298cb1babd3a9e4fcbce74d78d369210caa Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Thu, 18 Mar 2021 16:00:23 +0100 Subject: Add atom feed --- templates/web/atom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/web/atom.xml (limited to 'templates/web/atom.xml') diff --git a/templates/web/atom.xml b/templates/web/atom.xml new file mode 100644 index 0000000..3948538 --- /dev/null +++ b/templates/web/atom.xml @@ -0,0 +1,28 @@ + + + + {% if q %}Results for '{{ q }}' - {% endif %}{{ settings.name }} + + + {{ entries.0.data.updated }} + + + {% for entry in entries %} + + {{ entry.data.title }} + + urn:uuid:{{ entry.eid }} + {{ entry.data.updated }} + {{ entry.data.description }} + +
+

{{ entry.data.description }} - {{ entry.data.url }}

+

{% for tag in entry.data.tags %} + #{{ tag }} + {% endfor %}

+
+
+
+ {% endfor %} + +
-- cgit v1.2.3