[TYPO3-english] TT_NEWS MOST POPULAR EXPORT RSS
Lorenz Ulrich
lorenz-typo3 at visol.ch
Mon Nov 29 21:19:52 CET 2010
Hi Angel
> Hi, I am on a project that ones to export to an rss file the tt_news
list
> of MOST POPULAR EXT, but I only get the hole news of my news admin.
The most confortable solution is to use Georg Ringer's chnewsfeeds
extension.
But you can do it with built-in Typoscript config:
xmlnews = PAGE
xmlnews {
typeNum = 100
10 < plugin.tt_news
10.pid_list = 103
10.singlePid = 101
10.defaultCode = XML
10.categorySelection = x,y
10.categoryMode = z
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
}
}
Replace x,y with the list of the categories and z with the mode:
2 = Show news which have all selected categories assigned (AND)
1 = Show news which have at least one of the selected categories
assigned (OR)
0 = Show all. Don't care about category selections
-1 = Show news which not have all of the selected categories assigned (AND)
-2 = Show news which have none of the selected categories assigned (OR)
Best regards,
Lorenz
Am 29.11.2010 20:44, schrieb Angel García (EMPEL):
More information about the TYPO3-english
mailing list