2015-03-09 10:31:08 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
|
|
|
<channel>
|
|
|
|
<title>/{{ board.uri }}/ - {{ board.title|e }}</title>
|
2016-06-07 15:20:38 +02:00
|
|
|
<link>{{ config.root }}{{ board.uri }}/</link>
|
2016-06-07 15:29:19 +02:00
|
|
|
<description>Live feed of new threads on the board /{{ board.uri }}/ - {{ board.title|e }}.</description>
|
2016-06-07 15:20:38 +02:00
|
|
|
<atom:link href="{{ config.root }}{{ board.uri }}/index.rss" rel="self" type="application/rss+xml"/>
|
2015-03-09 10:31:08 +01:00
|
|
|
{% for post in recent_posts %}
|
|
|
|
<item>
|
2015-03-15 06:03:08 +01:00
|
|
|
<title>{% if post.subject %}{{ post.subject|e }}{% else %}{{ post.body_nomarkup[:256]|remove_modifiers|e }}{% endif %}</title>
|
2016-06-07 15:20:38 +02:00
|
|
|
<link>{{ config.root }}{{ board.uri }}/res/{{ post.id }}.html</link>
|
|
|
|
<guid>{{ config.root }}{{ board.uri }}/res/{{ post.id }}.html</guid>
|
|
|
|
<comments>{{ config.root }}{{ board.uri }}/res/{{ post.id }}.html</comments>
|
2015-03-09 10:31:08 +01:00
|
|
|
<pubDate>{{ post.pubdate }}</pubDate>
|
2016-06-07 15:20:38 +02:00
|
|
|
<description><![CDATA[ <a href='{{ config.root }}{{ board.uri }}/res/{{ post.id }}.html' target=_blank><img style='float:left;margin:8px' border=0 src='{% if not config.uri_thumb %}{{ config.root }}{% endif %}{{ post.file }}'></a> {{ post.body }} ]]></description>
|
2015-03-09 10:31:08 +01:00
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
</channel>
|
|
|
|
</rss>
|