Commit e803630d authored by Thomas Löffler's avatar Thomas Löffler

Add type parameter to rss feed links

parent 4fe4e743
Pipeline #9696 passed with stages
in 5 minutes and 54 seconds
......@@ -74,7 +74,7 @@ config {
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
header = Content-Type:application/xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
......@@ -129,7 +129,7 @@ config {
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
header = Content-Type:application/xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
......@@ -184,7 +184,7 @@ config {
disablePrefixComment = 1
metaCharset = utf-8
additionalHeaders.5 {
header = Content-Type:application/rss+xml;charset=utf-8
header = Content-Type:application/xml;charset=utf-8
replace = 1
}
absRefPrefix = {$plugin.tx_news.rss.channel.link}
......
......@@ -35,7 +35,7 @@
</title>
<link>
<f:format.htmlentities>
<n:link newsItem="{newsItem}" settings="{settings}" uriOnly="1" configuration="{forceAbsoluteUrl: 1}"/>
<n:link newsItem="{newsItem}" settings="{settings}" uriOnly="1" configuration="{forceAbsoluteUrl: 1, additionalParams: '&type=0'}"/>
</f:format.htmlentities>
</link>
<description>{newsItem.teaser -> f:format.stripTags() -> f:format.htmlspecialchars()}</description>
......
......@@ -35,7 +35,7 @@
</title>
<link>
<f:format.htmlentities>
<n:link newsItem="{newsItem}" settings="{settings}" uriOnly="1" configuration="{forceAbsoluteUrl: 1}"/>
<n:link newsItem="{newsItem}" settings="{settings}" uriOnly="1" configuration="{forceAbsoluteUrl: 1, additionalParams: '&type=0'}"/>
</f:format.htmlentities>
</link>
<description>{newsItem.teaser -> f:format.stripTags() -> f:format.htmlspecialchars()}</description>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment