UPDATE:

Lag an einem "&"-Zeichen in einer des Newsmledungen.
RSS2 mag wohl keine "&".

Falls wer auf das selbe Problem stoßen sollte hier ein work-arround.
**
Solution 1: Remove the ampersand.
Solution 2: Encode the ampersand (that is replace the '&' character with '&amp;' ). Remember to Decode when reading the XML text. Solution 3: Use CDATA sections (text inside a CDATA section will be ignored by the parser.) eg.<![CDATA[some text & some more text]]>



Nun taucht aber direkt der nächste Fehler auf...
Failed to parse QName 'http:'

Besagte Zeile beinhaltet in der News eingefügte Links mit target _blank welche RSS2 scheinbar auch nicht mag...
<link http://www.lufthansa.com _blank>www.lufthansa.com</link>

Hat jemand evt. eine Idee?
Gruß, Wulf



Am 06.07.2012 12:36, schrieb wulf schmoll:
Guten Tag liebe Liste,

nachdem ich nun sämtliche Sourcen zu dem Thema "tt_news + RSS" abgegrasst habe und immer auf das selbe Ergebnis komme,
hoffe ich nun hier um Erleuchtung. :)

Static Template habe ich eingebunden und über die Constants alle Settings vorgenommen.
Mein Setup sieht aktuell so aus.

rss2=PAGE
rss2{
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
10.displayXML.xmlFormat=rss2
config{
disableAllHeaderCode=1
additionalHeaders=Content-type:text/xml
no_cache=1
xhtml_cleaning=0
}
}

Wenn ich nun "www.domain.com/index.php?id=1&type=100" aufrufe gibt er mir zwar meine Meldungen aus,
allerdings ohne Formatierung und mit folgender Fehlermeldung:


     This page contains the following errors:

error on line 67 at column 247: xmlParseEntityRef: no name


     Below is a rendering of the page up to the first error.


Bin für jegliche Anregung dankbar.
Grüße aus Wiesbaden
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an