Para el siguiente encabezado, obtengo los mismos dos errores en todos mis sitemaps. Es confuso porque, si Google no puede leer mi mapa del sitio, ¿cómo pueden decir que cada URL tiene la misma prioridad? El encabezado cuenta como la línea 2, después de la declaración XML. Google afirma que solo ha indexado aproximadamente el 2% de las URL de los mapas. Por favor ayuda.¿Cómo validar el mapa de sitio XML compatible?
ACTUALIZACIÓN: Creo que el problema es que no sé cómo validar contra un esquema. ¿Como hacer eso?
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
==Parsing error
We were unable to read your Sitemap. It may contain an entry we are
unable to recognize. Please validate your Sitemap before resubmitting.
==Notice
All the URLs in your Sitemap have the same priority...
ACTUALIZACIÓN: Por favor, sea paciente, por primera vez XML de validación. No entiendo los errores.
Errors in the XML document:
4: 80 SchemaLocation: schemaLocation value = 'http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd' must have even number of URI's.
4: 80 cvc-elt.1: Cannot find the declaration of element 'urlset'.
XML document:
1 <?xml version="1.0" encoding="UTF-8"?>
2 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
5 <url>
6 <loc>http://nutrograph.com/1-butter-salted</loc>
7 <changefreq>monthly</changefreq>
8 <priority>0.8</priority>
9 </url>
10 <url>
11 <loc>http://nutrograph.com/2-butter-whipped-with-salt</loc>
12 <changefreq>monthly</changefreq>
13 <priority>0.8</priority>
14 </url>
15 </urlset>
¿Cómo saben los errores están en la cabecera? ¿Puedes publicar algo más del archivo del mapa del sitio? – Slavo