[TYPO3-english] Empty line at the top of RSS file

ninjapirat fred at ninjapirat.net
Mon Jan 19 18:41:33 CET 2009


I am having problem with my RSS feed from tt_news giving me an empty line at
the top of the file. I've tried looking, but it seems there havent been any
out there finding a solution for this.

Do any one know how to fix this?

See http://www.demokratene.no/rss.xml

###SETUP RSS NEWSFEED
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
  }
}


###RSS CONSTANTS
# page with news list
xmlnewsfeed_id = 7
 
plugin.tt_news {
# SYS-Folder News-plugin
  pid_list = 15
# Seite mit Singleview page
  singlePid = 24
  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
    rss2_tmplFile = EXT:tt_news/res/rss_2.tmpl
 
   # mögliche: rss091 / rss2 / rdf / atom03
    xmlFormat = rss2
 
    xmltitle = Demokratene.no Nyheter
    xmllink = http://site.no
# Anzahl News in Reader
    xmlLimit = 10
    xmlDesc = News
# Sprache
    xmlLang = no
#    xmlIcon = fileadmin/templates/mein_rss.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 = 300 | ... | 1
    subheader_stdWrap.ifEmpty.field = bodytext
    xmlLastBuildDate = 1
  }
} 

-- 
View this message in context: http://www.nabble.com/Empty-line-at-the-top-of-RSS-file-tp21547870p21547870.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list