19 lines
794 B
XML
19 lines
794 B
XML
<?xml version=1.0 encoding=UTF-8 ?>
|
|
<rss version=2.0>
|
|
<channel>
|
|
<title>{{ page.title | xml_escape }}</title>
|
|
<description>{{ page.description | strip_html | xml_escape }}</description>
|
|
<link>{{ request.url | xml_escape }}</link>
|
|
{% entityview logical_name:'adx_webpage', name:'News Articles', page_size:20 -%}
|
|
{% for item in entityview.records %}
|
|
<item>
|
|
<title>{{ item.adx_name | xml_escape }}</title>
|
|
<description>{{ item.adx_copy | escape }}</description>
|
|
<link>{{ request.url | base | xml_escape }}{{ item.url | xml_escape }}</link>
|
|
<guid>{{ item.id | xml_escape }}</guid>
|
|
<pubDate>{{ item.createdon | date_to_rfc822 }}</pubDate>
|
|
</item>
|
|
{% endfor -%}
|
|
{% endentityview %}
|
|
</channel>
|
|
</rss> |