Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
e803630d
Commit
e803630d
authored
Sep 29, 2020
by
Thomas Löffler
Browse files
Add type parameter to rss feed links
parent
4fe4e743
Pipeline
#9696
passed with stages
in 5 minutes and 54 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Configuration/TypoScript/Ext/News.typoscript
View file @
e803630d
...
...
@@ -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}
...
...
extensions/t3org_layout/Resources/Private/Templates/News/News/List.xml
View file @
e803630d
...
...
@@ -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>
...
...
extensions/t3org_layout/Resources/Private/Templates/News/Security/News/List.xml
View file @
e803630d
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment