[TYPO3-english] XML Error with tt_news rss

StephenBungert stephenbungert at yahoo.de
Fri Dec 5 13:53:43 CET 2008


Here's the template setup from my test rss page:

### Config ###
### ------ ###


config {
  # Suppress default title tag
  noPageTitle = 2
  
  # Doctype
  doctype = xhtml_strict
  xhtmlDoctype = xhtml_strict
  xhtml_cleaning = all
  spamProtectEmailAddresses = 1
  uniqueLinkVars = 1
  #noScaleUp = 1
  
  tx_loginusertrack_enable = 1
}

# Reverse order of <?xml...> and <!DOCTYPE...> tags for IE XHTML compat.
[browser = msie]
  config.doctypeSwitch = 1
[end]



plugin.tt_news {
  displayXML {
    xmlFormat = rss2
    xmlTitle = nano.stephen.local: Latest News
    xmlLink = http://nano.stephen.local/
    xmlDesc = Latest news from nano.stephen.local
    xmlLimit = 10
    
    title_stdWrap {
      htmlSpecialChars = 1
      htmlSpecialChars.preserveEntities = 1
    }
    
    subheader_stdWrap {
      stripHtml = 1
      htmlSpecialChars = 1
      htmlSpecialChars.preserveEntities = 1
      crop = 100 | ... | 1
    }
    
    xmlLastBuildDate = 1
  }
}


### XML ###
### --- ###

xmlnews  = PAGE
xmlnews {
  typeNum = 100
  10 >
  10 < plugin.tt_news
  10 {
    pid_list >
    pid_list = 409
    singlePid = 402
    defaultCode = XML
    categoryMode = 3
    #categorySelection = 72,74,75,76
  }
  
  headerData {
    20 = TEXT
    20.value = <link rel="alternate" type="application/rss+xml"
title="Latest News"
href="http://www.nano.stephen.local/index.php?id=657&type=100" /> 
  }
  
  config {
    disableAllHeaderCode = 1
    additionalHeaders = Content-type:text/xml
    no_cache = 1
    xhtml_cleaning = 0
  }
}



I see the following when I view my page:

XML-Verarbeitungsfehler: Kein Element gefunden
Adresse: http://www.nano.stephen.local/index.php?id=657&type=100
Zeile Nr. 2, Spalte 26:



What does this mean - in plain language, not geek speak :-)

Does it mean that no news was found?

-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/XML-Error-with-tt_news-rss-tp20853194p20853194.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list