From c4ba0fa253f689ce6e50dbdadf9699a045d66dac Mon Sep 17 00:00:00 2001 From: Michael Krohn Date: Wed, 22 Nov 2023 15:16:23 +0100 Subject: [PATCH] [FEATURE] Allow to set a ttl for the rss feed --- Configuration/TypoScript/constants.typoscript | 2 ++ Resources/Private/Templates/News/List.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Configuration/TypoScript/constants.typoscript b/Configuration/TypoScript/constants.typoscript index 1e5f95c64e..60bea77192 100644 --- a/Configuration/TypoScript/constants.typoscript +++ b/Configuration/TypoScript/constants.typoscript @@ -18,6 +18,8 @@ plugin.tx_news { generator = TYPO3 EXT:news # cat=plugin.tx_news/rss; type=int+; label=Page Type Number typeNum = 9818 + # cat=plugin.tx_news/rss; type=int+; label=Number of minutes the feed can stay cached + ttl = } opengraph { diff --git a/Resources/Private/Templates/News/List.xml b/Resources/Private/Templates/News/List.xml index 0bec67cf1f..1617417c54 100644 --- a/Resources/Private/Templates/News/List.xml +++ b/Resources/Private/Templates/News/List.xml @@ -16,6 +16,9 @@ {settings.list.rss.channel.copyright} + + {settings.list.rss.channel.ttl} +