Commit b482a75a authored by Stefan Busemann's avatar Stefan Busemann

Merge branch '523-rss-feeds-links-to-itself-instead-of-the-news-article' into 'develop'

Resolve "RSS feeds links to itself instead of the news article"

Closes #523

See merge request !393
parents 5a4d008b e803630d
Pipeline #9703 passed with stages
in 7 minutes and 9 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