[TYPO3] rss question: all news-categories are showed instead of the selected one

Remco Zwaan RZwaan at fdc.nl
Wed Mar 21 12:22:16 CET 2007


Hi..list..

 

 

In my sysfolder (pid 607) are al my news items and catergories (16
pieces). The code below is my rss-setup for my page where 1 news
categorie (interest) is selected. But when I go the rss-page
http://10.0.0.40/cms/dummy-4.0.4/index.php?id=266&MP=265-31&type=100 all
of the categories and news-items are showed...and not only the selected
(interest) category. Must I place an extra definition in my
rss-setup...or something else?

 

************************************************************************
***********

xmlnewsfeed_id = 607

 

plugin.tt_news {

# SYS-Folder mit News

  pid_list = 607

# Seite mit Singleanzeige

  singlePid = 266

}

 

plugin.tt_news {

  displayXML {

    # rss091_tmplFile = EXT:tt_news/res/rss_0_91.tmpl

    # rdf_tmplFile = EXT:tt_news/res/rdf.tmpl

    # atom03_tmplFile = EXT:tt_news/res/atom_0_3.tmpl

    # atom1_tmplFile = EXT:tt_news/res/atom_1_0.tmpl

    rss2_tmplFile = EXT:tt_news/res/rss_2.html

 

    # possibile values: rss091 / rss2 / rdf / atom03 / atom1  

    xmlFormat = rss2

 

    xmlTitle = FDC: Rente Nieuws

    xmlLink = http://example.com/

    xmlDesc = FDC: Rente Nieuws

    xmlLang = nl

    xmlIcon = fileadmin/tt_news_article.gif

    title_stdWrap.htmlSpecialChars = 1

    title_stdWrap.htmlSpecialChars.preserveEntities = 1

    subheader_stdWrap.stripHtml = 1

    subheader_stdWrap.htmlSpecialChars = 1

    subheader_stdWrap.htmlSpecialChars.preserveEntities = 1

    subheader_stdWrap.crop = 100 | ... | 1

    subheader_stdWrap.ifEmpty.field = bodytext

    xmlLastBuildDate = 1

  }

}

 

xmlnews = PAGE

xmlnews {

  typeNum = 100

 

  10 >

  10 < plugin.tt_news

  10.pid_list >

  10.pid_list = {$plugin.tt_news.pid_list}

  10.singlePid = {$plugin.tt_news.singlePid}

  10.defaultCode = XML

 

  config {

    disableAllHeaderCode = 1

    additionalHeaders = Content-type:text/xml

    no_cache = 1

    xhtml_cleaning = 0

  }

}

## To get an additional RDF feed add the following

rdffeed = PAGE

rdffeed < xmlnews

rdffeed {

 10.displayXML.xmlFormat = rdf

 10.displayXML.xmlIcon = fileadmin/feed_icon_88x31.gif

 typeNum = 101

}

 

## To get an additional Atom 0.3 feed add the following

atom03feed = PAGE

atom03feed < xmlnews

atom03feed {

 10.displayXML.xmlFormat = atom03

 typeNum = 102

}

## To get an additional Atom 1.0 feed add the following

atom1feed = PAGE

atom1feed < xmlnews

atom1feed {

  10.displayXML.xmlFormat = atom1

  typeNum = 103

}

 

 

Greetings..remco



More information about the TYPO3-english mailing list