jlannone Posted October 25, 2013 Share Posted October 25, 2013 Help : I've just updated the standar prestashop certified google sitemap module in prestashop 1.5.4, and it gave wrong date format in google webmaster tools when I uploaded it. Also, le xml address given by the module, is not the same as the one that is created. <lastmod>2013-10-21 15:56:22</lastmod> should be written <lastmod>2013-10-21T15:56:22+2.00</lastmod> for it to be accepted by google Thank you for your help in these issues 1 Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 can you check this topic http://www.prestashop.com/forums/topic/283362-new-sitemap-module-bad-data-format/ 2grosiek7 reported that solution provided there works well 1 Link to comment Share on other sites More sharing options...
jlannone Posted October 25, 2013 Author Share Posted October 25, 2013 I modified the php file as mentionned and the the return value from google webmaster tools is still wrong : Errors Invalid date An invalid date was found. Please fix the date or formatting before resubmitting. 5,120 Parent tag: url Tag: lastmod Value: 2013-10-25 08:45:54 91 Oct 25, 2013 Parent tag: url Tag: lastmod Value: 2013-10-25 08:46:39 103 Oct 25, 2013 Parent tag: url Tag: lastmod Value: 2013-10-25 08:46:39 115 Oct 25, 2013 Link to comment Share on other sites More sharing options...
jlannone Posted October 25, 2013 Author Share Posted October 25, 2013 applyed solution #8 of http://www.prestashop.com/forums/topic/283362-new-sitemap-module-bad-data-format/ and it works ok now . Thanks Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 you're welcome topic marked as [solved] so we have working solution for this issue with regards, Milos Link to comment Share on other sites More sharing options...
kmorgen Posted October 30, 2013 Share Posted October 30, 2013 If the problem have been fixed, how come there is no official sitemap update released yet in BO? This is so frustrating! Link to comment Share on other sites More sharing options...
vekia Posted October 30, 2013 Share Posted October 30, 2013 If the problem have been fixed, how come there is no official sitemap update released yet in BO? This is so frustrating! take a look on githubg: https://github.com/PrestaShop/PrestaShop-modules/commit/1e3d511c46c39de5e5bbd08ae0381704a92f14bd it's fixed, it mean that update is already on github Link to comment Share on other sites More sharing options...
ThreeWest Posted December 10, 2014 Share Posted December 10, 2014 take a look on githubg: https://github.com/PrestaShop/PrestaShop-modules/commit/1e3d511c46c39de5e5bbd08ae0381704a92f14bd it's fixed, it mean that update is already on github If it's fixed, why is it still an issue in the latest version of Prestashop? Link to comment Share on other sites More sharing options...
vekia Posted December 12, 2014 Share Posted December 12, 2014 because 1.6.0.10 is not released yet :-) you have 1.6.0.9 (i suppose so) Link to comment Share on other sites More sharing options...
yourtoolcrib Posted July 9, 2015 Share Posted July 9, 2015 applyed solution #8 of http://www.prestashop.com/forums/topic/283362-new-sitemap-module-bad-data-format/ and it works ok now . Thanks I don't know where in the file to add code in the answer #8 in. Can you please explain. Link to comment Share on other sites More sharing options...
Recommended Posts