Daniel Siepmann
394b38beb3
Use _uid suffix when uids are used. Add test to ensure topics are working as expected (regarding routing).
39 lines
2 KiB
XML
39 lines
2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<f:if condition="{settings.categoryId}">
|
|
<f:then>
|
|
<title>Daniel Siepmann - Coding is Art - Blog Posts {settings.categoryTitle}</title>
|
|
<description>List of {settings.categoryTitle} blog posts at daniel-siepmann.de</description>
|
|
<link>{f:uri.page(pageUid: 11, additionalParams: {topic_uid: settings.categoryId}, absolute: 1)}</link>
|
|
<atom:link href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'blog-posts', category_uid: settings.categoryId}, absolute: 1)}" rel="self" type="application/rss+xml" />
|
|
</f:then>
|
|
<f:else>
|
|
<title>Daniel Siepmann - Coding is Art - All Blog Posts</title>
|
|
<description>List of blog posts at daniel-siepmann.de</description>
|
|
<link>{f:uri.page(pageUid: 1, absolute: 1)}</link>
|
|
<atom:link href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'blog-posts'}, absolute: 1)}" rel="self" type="application/rss+xml" />
|
|
</f:else>
|
|
</f:if>
|
|
<lastBuildDate>{f:format.date(date: 'now', format: 'D, d M Y H:i:s O')}</lastBuildDate>
|
|
<ttl>1800</ttl>
|
|
|
|
<f:for each="{items}" as="item">
|
|
<f:if condition="{item.data.doktype} < 200">
|
|
{f:render(section: 'Item', arguments: {
|
|
item: item.data
|
|
})}
|
|
</f:if>
|
|
</f:for>
|
|
</channel>
|
|
</rss>
|
|
|
|
<f:section name="Item">
|
|
<item>
|
|
<title>{item.title}</title>
|
|
<description>{item.abstract}</description>
|
|
<link>{f:uri.page(pageUid: item.uid, absolute: 1)}</link>
|
|
<pubDate>{f:format.date(date: item.lastUpdated, format: 'D, d M Y H:i:s O')}</pubDate>
|
|
<guid isPermaLink="true">{f:uri.page(pageUid: item.uid, absolute: 1)}</guid>
|
|
</item>
|
|
</f:section>
|