Atechstl Posted January 3, 2014 Share Posted January 3, 2014 I setup Google merchant Account and linked to sitemap.xml.gz. I receive an error: No Line XML Formatting Error so no products get added. Any ideas? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2014 Share Posted January 3, 2014 I am confident the sitemap generator works. But... I am not familiar with this error message -- I have not read any other postings about it. An "XML Formatting Error" is self-explanatory, but the "No Line" part...??? So... Would you be able to post the first 10 or so lines from the sitemap.xml file? Or maybe provide a link to download it so we can examine it ourselves? Quote Link to comment Share on other sites More sharing options...
Atechstl Posted January 3, 2014 Author Share Posted January 3, 2014 www.breambugs.com/sitemap.xml.gz Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2014 Share Posted January 3, 2014 The only thing I have a question about is: <url> <loc>http://www.breambugs.com/index.php?_a=category&amp;cat_id=4</loc> <lastmod>2014-01-01T17:01:27-06:00</lastmod> </url> The &amp; means this is double html-entity encoded. I do not know if that is intended. Nor do I know if that is a real problem. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 3, 2014 Share Posted January 3, 2014 Here's the link to mine that Google does accept, just as a frame of reference: http://dirtybutterestates.com/sitemap.xml.gz Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2014 Share Posted January 3, 2014 What I would like for you to do is to edit the file /classes/seo.class.php, near line 845: $this->_sitemap_xml->setElement('loc', htmlspecialchars($input['url']),false, false); Change to: $this->_sitemap_xml->setElement('loc', $input['url'], false, false); A note for XMLWriter::text says that the string is automatically processed with htmlspecialchars(). No need to do it twice. Dirty Butter's file uses SEO-friendly URLs -- which does not reveal issues with standard CC5 Cat/Prod/Doc URLs. Quote Link to comment Share on other sites More sharing options...
Atechstl Posted January 3, 2014 Author Share Posted January 3, 2014 Thank you Bsmither and Dirty Butter. I will try this tonight and let you know what happens. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.