[XML] Google Gadget programmieren

yoshi

Well-known member
ID: 131198
L
25 Juli 2006
561
23
Hallo,
ich will ein Google Gadget programmieren.
Das Beispiel Script von Google sieht so aus und es funktioniert auch: https://www.google.com/ig/modules/hello.xml

Das hier ist mein erstes Test-Script: https://www.bestguest.de/gb/gadget/bestguest_14_kcg.xml

Bei Google kommt dann der Fehler:
Error parsing module spec:
line 5, column 10

<![CDATA[

XML parse error:
Input is not proper UTF-8, indicate encoding ! Bytes: 0xB4 0x73 0x20 0x46

Mein Script:
PHP:
<?php
session_start();
header("Content-Type: text/xml;");
$liste = "japdjpoa";
echo '<?xml version="1.0" encoding="UTF-8"?> 
<Module>
<ModulePrefs title="BestGuest" /> 
<Content type="html"><![CDATA[ 
'.$liste.'
]]></Content> 
</Module>';
 
Alles was in <![CDATA[ steht wird normalerweise vom Parser übergangen. Soll das google net parsen?

*edirt
hat nix mit deinem Fehler zu tun.