2020-11-11 16:37:07 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
|
|
|
<channel>
|
|
|
|
<title>{{ mailing.label }}</title>
|
|
|
|
|
|
|
|
{% for item in mails %}
|
|
|
|
<item>
|
|
|
|
<title><![CDATA[{{ item.subject|raw }}]]></title>
|
2020-11-11 19:48:16 +01:00
|
|
|
<link>{{ absolute_url(path('mail_show', {mailing: mailing.id, mail: item.id})) }}</link>
|
2020-11-11 16:37:07 +01:00
|
|
|
<description>
|
|
|
|
<![CDATA[
|
|
|
|
{% if item.htmlContent %}
|
|
|
|
{{ item.htmlContent|raw }}
|
|
|
|
{% else %}
|
|
|
|
{{ item.textContent|raw }}
|
|
|
|
{% endif %}
|
|
|
|
]]></description>
|
|
|
|
<guid isPermaLink="false">{{ item.id }}</guid>
|
|
|
|
<pubDate>{{ item.date|date('r') }}</pubDate>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
</channel>
|
|
|
|
</rss>
|
|
|
|
|