Maybe the appropriate term here is "Sitemap tag definitions" (i.e. <urlset>, <url>, <loc>, <lastmod>, <changefreg>
My sitemap that was generated by GoogleSiteMap Add-on contains no sitemap tag definitions, and I wonder if this is hindering SEO.
I see that the content generated is in a logical order, but it does not have the actual tag definitions. Maybe GoogleSiteMap presented the information in a compressed format, and this is fine?
You can't view it correctly in any editor as it needs modx to output what is generated after modx has done its magic, the only way to see what the search engines see is to view it in the browser ;o)
-
☆ A M B ☆
- 427 Posts
There are two different types of sitemaps: one for search engines - typically in XML and one for people - typically in an unordered list.
GoogleSiteMap can create either, the XML version compatible with Search Engines is default, you simply need to create your own template Chunks to create unordered lists and call them with the appropriate snippet call:
itemTpl - The Chunk to use for each result listed.
containerTpl - The Chunk to use for wrapping the results.
If you are using Google Webmaster Tools or Bing they have facilities to verify your site map is readable and acceptable to their specific platform.
You can also utilize
http://www.xml-sitemaps.com/validate-xml-sitemap.html
Paul chimed in on my post and I determined that there is a difference between the way the .xml file displays in a browser vs. a web text editor and am pretty sure that my sitemap.xml is OK.
I have another site that is traditional html for which I used an online sitemap.xml generator. That site's sitemap file when viewed in the browser window looks just like what is being generated by GoogleSiteMap in MODx. So... I think I'm good to go.
An yes—my SEO validation tool confirmed that the sitemap verified out ok.
Thanks for the response. Great feedback.
Marc