Errors in XML file when updating it
-
<?xml version="1.0"?> <rss xmlns:g="https://base.google.com/ns/1.0" xmlns:c="https://base.google.com/cns/1.0" version="2.0"> <channel> <title> <![CDATA[ SITE ]]> </title> <link><![CDATA[ https://site.com ]]></link> <description><![CDATA[ WebToffee Product Feed - This product feed is generated with the WebToffee Product Feed. For support queries check out https://www.webtoffee.com/support or e-mail to: [email protected] ]]></description> <?xml version="1.0"?> <rss xmlns:g="https://base.google.com/ns/1.0" xmlns:c="https://base.google.com/cns/1.0" version="2.0"> <channel> <title> <![CDATA[ SITE ]]> </title> <link><![CDATA[ https://site.com ]]></link> <description><![CDATA[ WebToffee Product Feed - This product feed is generated with the WebToffee Product Feed. For support queries check out https://www.webtoffee.com/support or e-mail to: [email protected] ]]></description> <item>...
When you first create the XML feed for Facebook (FB), everything works perfectly. The XML file is generated with all the necessary headers and content. However, every time you update the feed, your script adds the $xml_start_data section again at the top of the class-xmlwriter.php file. This repetition causes the XML to become malformed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.