[TYPO3-english] TT-news RSS Feeds with $XXX Type Characters Breaking the Feed

Louis Coppola lcoppola at ga-institute.com
Tue Feb 15 20:24:54 CET 2011


All,

I have an RSS feed set up on my site that uses particular tt_news
category to create itself.  The problem that I am having is that the
RSS feed gets broken or not formed correctly continually because in
the content of the tt_news record (mostly titles and short text) have
characters like &ldquo instead of a " and other characters that are
similar to this all proceeded with & symbol.

This tends to break the entire feed and it is readable in Firefox, but
not IE and not Chrome.  Can anyone help me to set something in
typoscript or in the tt_news settings that will either not allow for
this characters, skip them, or reformat them in regular text?  Or some
other fix... More details are below.  Thanks in advance.

Chrome and IE gives this error when reading the RSS:

This page contains the following errors:
error on line 288 at column 71: Entity 'ldquo' not defined




My settings for the RSS feed are as follows:

#RSS feed for SHQ Highlights
xmlnewsSHQHigh = PAGE
xmlnewsSHQHigh{
  typeNum = 11111
    10 >

  10 < plugin.tt_news

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

  10.singlePid = 2361
    #sets title and description
  10.displayXML {
  xmlTitle = SustainabilityHQ Highlights RSS
    xmlDesc = SustainabilityHQ Highlights RSS
    xmlFormat = rss2
    xmlLimit = 25


	xmlLang = en
	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


    }

  #chooses category
  10.categoryMode = 1
  10.categorySelection = 1441,1548,1696

  10.defaultCode = XML
  config {
    no_cache = 1
    xhtml_cleaning = 1

  }
}


Thanks for any help,
Lou


More information about the TYPO3-english mailing list