Browse Source

new title for rss feeds: title of feed + #num

master
manetta 3 years ago
parent
commit
ac459224a8
  1. 2
      LogBot/template.rss

2
LogBot/template.rss

@ -8,7 +8,7 @@
<atom:link href="{{ feed_path }}" rel="self" type="application/rss+xml" /> <atom:link href="{{ feed_path }}" rel="self" type="application/rss+xml" />
{% for x, post in db["messages"].items() %} {% for x, post in db["messages"].items() %}
<item> <item>
<title>{{ x }}</title> <title>{{ title }} #{{ x }}</title>
<link>{{ log_path }}#{{ x }}</link> <link>{{ log_path }}#{{ x }}</link>
<guid>{{ log_path }}#{{ x }}</guid> <guid>{{ log_path }}#{{ x }}</guid>
<description><![CDATA[{{ post.post }}]]></description> <description><![CDATA[{{ post.post }}]]></description>

Loading…
Cancel
Save