Make description in rss feed dynamic

This commit is contained in:
Daniel Siepmann 2020-01-20 07:55:49 +01:00
parent bfc50f50bc
commit 035c4349cf

View file

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Daniel Siepmann - Coding is Art</title> <title>Daniel Siepmann - Coding is Art</title>
<description>This is an example of an RSS feed</description> <description>List of blog posts at daniel-siepmann.de</description>
<link>{f:uri.page(pageUid: 1, absolute: 1)}</link> <link>{f:uri.page(pageUid: 1, absolute: 1)}</link>
<atom:link href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'}, absolute: 1)}" rel="self" type="application/rss+xml" /> <atom:link href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'}, absolute: 1)}" rel="self" type="application/rss+xml" />
<lastBuildDate>{f:format.date(date: 'now', format: 'D, d M Y H:i:s O')}</lastBuildDate> <lastBuildDate>{f:format.date(date: 'now', format: 'D, d M Y H:i:s O')}</lastBuildDate>
@ -21,7 +21,7 @@
<f:section name="Item"> <f:section name="Item">
<item> <item>
<title>{item.title}</title> <title>{item.title}</title>
<description>Here is some text containing an interesting description.</description> <description>{item.abstract}</description>
<link>{f:uri.page(pageUid: item.uid, absolute: 1)}</link> <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> <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> <guid isPermaLink="true">{f:uri.page(pageUid: item.uid, absolute: 1)}</guid>