Topic on Extension talk:AutoSitemap

AutoSitemap generating invalid sitemaps (according to inspyder.com's SitemapValidator tool)

2
Summary by Martynov Maxim

Google's sitemap validator is totally ok with a format used by extension

MichaelBeijer (talkcontribs)

I just validated the sitemap generated by the latest version of AutoSitemap, and am being told it is invalid. I used this free service:


https://www.inspyder.com/free/SitemapValidator.aspx


I am being told:

The element 'url' has invalid child element 'lastmod'. List of possible elements expected: any element in namespace 'http://www.google.com/schemas/sitemap-image/1.1, http://www.google.com/schemas/sitemap-mobile/1.0, http://www.google.com/schemas/sitemap-video/1.1'.


Is this related to this: https://webmasters.stackexchange.com/questions/50440/why-is-this-date-in-my-sitemap-invalid-according-to-google ??

Martynov Maxim (talkcontribs)

Hello.


Actually, I have no idea why do you use this validator.


Firstly, all the schemas which are used here correspond to pages which contains only one image or video, not any type of page. They are not a part of the standard.

Secondly, the standard scheme is saying that lastmod tag can contain any datetime value matching the format. AutoSitemap uses yyyy-mm-ddThh-mm-ssZ format which does match this format.

Thirdly, have you checked your sitemap using Google's own sitemap checker? I'm using it for checking my wiki's sitemap and it is totally OK: