Zum Inhalt springen

tt_news rss feeds und typo3 6.1

Erstellt am 16. April 2014 · Noch keine Antworten

Tags: tt_news, TYPO3 6, Frage

martinibianco007 ·

Beim Versuch einen rss feed einzurichten bekomme ich immer wieder folgende Fehlermeldung:
XML-Verarbeitungsfehler: Nicht übereinstimmendes Tag. Erwartet: </img>
<figure><a href="urlaubspakete/paket/wandern-und-geniessen-im-ultental-bei-meran-7-tage.html" title="Wandern und genießen im Ultental bei Meran (7 Tage)"><img src="typo3temp/_processed_/csm_paket_wandern_c2b3b6d150.jpg" width="150" height="100" alt="Wanderparadies"></a></figure>

was ich mir vorstellen könnte dass ich das <img tag mit / schließen muss - aber wie?

andererseits habe ich bei früheren typo3 versionen nachgesehen, da wir das
<img tag auch nicht geschlossen...

ich habe das news statische template und das statische template für die news rss/atom usw. hinzugefügt.

mein TS sieht wie folgt aus:

# Configure tt_news to display the xml template
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.tmpl

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

    xmlTitle = example.com: Latest News
    xmlLink = http://example.com/
    xmlDesc = Latest News
    xmlLang = en
    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
  }
}

## This enables the xml news feed
xmlnews = PAGE
xmlnews {
  typeNum = 100

  10 >
  10 < plugin.tt_news
  10.pid_list >
  10.pid_list = 20
  10.singlePid = 22
  10.defaultCode = XML

  config {
    disableAllHeaderCode = 1
    additionalHeaders = Content-type:text/xml
    no_cache = 1
    xhtml_cleaning = 0
  }
}

wo könnte der fehler liegen?