Beim Aufruf der google_xml.php erhalte ich folgende Fehlermeldung:
Dieser Feed kann nicht angezeigt werden
Die folgenden Tags wurden nicht geschlossen: rss, channel.
Zeile: 0 Zeichen: 0
Ich habe mir diese Datei dann auch mal mit dem Validator prüfen lassen, mit folgendem Ergebnis:
Line 8, Column 187: end tag for "channel" omitted, but OMITTAG NO was specified …docs/modified eCommerce Shopsoftwareneu/inc/shopstat_functions.inc.php</b> on line <b>123</b><br />
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Info Line 3, Column 1: start tag was here <channel>
Error Line 8, Column 187: end tag for "rss" omitted, but OMITTAG NO was specified …docs/modified eCommerce Shopsoftwareneu/inc/shopstat_functions.inc.php</b> on line <b>123</b><br />
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Info Line 2, Column 1: start tag was here <rss xmlns:g="
http://base.google.com/ns/1.0" version="2.0">
Hier noch ein Auszug meiner "google_xml.php":
// Start OUTPUT
// start caching
ob_start();
echo '<?xml version="1.0" encoding="UTF-8"?>'.LN;
echo '<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">'.LN;
echo '<channel>',LN;
echo '<title><![CDATA[',utf8_encode(STORE_NAME),']]></title>',LN;
echo '<link><![CDATA[',utf8_encode(HTTP_SERVER),']]></link>',LN;
echo '<description><![CDATA[Google product feed created at ',date('Y-m-d H:i'),']]></description>',LN;
....
echo '</channel>',LN;
echo '</rss>';
// END OUTPUT
// end caching
...
Kann mir hier einer sagen, was ich da ändern muss?
Linkback: https://www.modified-shop.org/forum/index.php?topic=26379.0