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/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript index 89a64b89e9..477b6ef83f 100644 --- a/Configuration/TypoScript/setup.typoscript +++ b/Configuration/TypoScript/setup.typoscript @@ -172,6 +172,7 @@ plugin.tx_news { generator = {$plugin.tx_news.rss.channel.generator} link = {$plugin.tx_news.rss.channel.link} typeNum = {$plugin.tx_news.rss.channel.typeNum} + ttl = {$plugin.tx_news.rss.channel.ttl} } } } diff --git a/Documentation/Tutorials/BestPractice/Rss/Index.rst b/Documentation/Tutorials/BestPractice/Rss/Index.rst index 488bae7dbe..0caa3fc870 100644 --- a/Documentation/Tutorials/BestPractice/Rss/Index.rst +++ b/Documentation/Tutorials/BestPractice/Rss/Index.rst @@ -192,6 +192,7 @@ Don't forget to configure the RSS feed properly as the sample template won't ful copyright = TYPO3 News category = generator = TYPO3 EXT:news + ttl = } 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} +