[TYPO3] XML output of a Page
Schani
usenet at schani.com
Wed Oct 31 15:03:25 CET 2007
Hello all,
i need for a own flash file a page output in XML.
It is easy to generate them with TS. I set all components to encoding
utf-8 (like the hole website). And if i use Umlaute (öäü), i get a
problem at xml output.
Now in the RTE i change the entry of "ü" to ü and get the problem
of a error in XML at the "&" sign. If i set the value in TS diect in
öäüß? then i have also the cryptic output in Flash.
Is ther a chance to set the encoding correctly? Flash preferred to use
utf-8.
Can anyone help me?
Best Regards
Christian
xml = PAGE
xml{
typeNum = 21
config {
renderCharset = utf-8
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
admPanel = 0
}
10 = CONTENT
10{
table = tt_content
select{
pidInList = 140
orderBy = sorting ASC
}
wrap = <?xml version="1.0" encoding="utf-8"?><channel>|</channel>
renderObj = COA
renderObj{
wrap = <person>|</person>
30 = COA
30{
50 = TEXT
50 {
wrap = <header>|</header>
field = header
}
60 = TEXT
60 {
#value = äöü?ß
wrap = <bodytext>|</bodytext>
field = bodytext
}
.....
More information about the TYPO3-english
mailing list