[TYPO3-ttnews] [tx_news] <link> wrong in RSS feed
Gert Kaae Hansen
kaae at tyksak.dk
Thu Apr 2 11:23:51 CEST 2015
I have some problems getting RSS feed to work in tx_news in my template i have the following:
<?xml version="1.0" encoding="utf-8"?>
{namespace n=Tx_News_ViewHelpers}
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
<title>{settings.list.rss.channel.title}</title>
<link>{settings.list.rss.channel.link}</link>
TS Setup:
[globalVar = TSFE:type = 9818]
config {
disableAllHeaderCode = 1
xhtml_cleaning = all
admPanel = 0
metaCharset = utf-8
additionalHeaders = Content-Type:text/xml;charset=utf-8
disablePrefixComment = 1
}
pageNewsRSS = PAGE
pageNewsRSS {
typeNum = 9818
10 < tt_content.list.20.news_pi1
10 {
switchableControllerActions {
News {
1 = list
}
}
settings < plugin.tx_news.settings
settings {
#categories = 9
categoryConjunction = notor
limit = 30
detailPid = 619
startingpoint = 611
format = xml
}
}
}
[global]
And the output generated
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<title>Højen Portalen</title>
<link />http://hoejen.dk/</link>
The problem i that <link> in generated as <link />
How dose i fix it?
I am running typo3 6.12 and tx_News 3.1.0
More information about the TYPO3-project-tt-news
mailing list