adding recommended links to atom specs and atom log link

This commit is contained in:
manetta 2022-02-18 15:14:47 +01:00
parent 7e6d6bd846
commit e0f9577b47

View File

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>{{ title }}</title> <title>{{ title }}</title>
<link>{{ log_path }}</link> <link>{{ log_path }}</link>
<description>Collective log writing using XMPP chat groups and LogBot.</description> <description>Collective log writing using XMPP chat groups and LogBot.</description>
<lastBuildDate>{{ date }}</lastBuildDate> <lastBuildDate>{{ date }}</lastBuildDate>
<atom:link href="{{ log_path }}" rel="self" type="application/rss+xml" />
{% for x, post in db["messages"].items() %} {% for x, post in db["messages"].items() %}
<item> <item>
<title>{{ title }}</title> <title>{{ title }}</title>