技术型 SEO
站点地图扩展验证器(图片、视频、新闻)
粘贴包含 <image:image>、<video:video> 或 <news:news> 元素的 sitemap.xml,查看是否违反 Google 真实的扩展规范——而不只是检查基础站点地图能否解析。
完全在您的浏览器中运行。您粘贴的内容除匿名使用次数外不会发送到任何地方。
粘贴 sitemap.xml(<urlset>)的完整内容,其 <url> 条目内应包含 <image:image>、<video:video> 和/或 <news:news> 子元素。
本工具检查什么,以及如何修复常见错误
本工具验证 Google 的三种站点地图扩展——图片、视频和新闻——它们各自在普通 <url> 条目内添加自己的命名空间元素。它不会重新检查基础 sitemaps.org 协议(XML 是否格式正确、50,000 条 URL 上限等)——请使用“站点地图 XML 验证器”进行那项检查。
图片扩展:每个 <image:image> 都需要有效的绝对 <image:loc> URL,Google 每个 <url> 最多读取 1,000 张图片。<image:caption>、<image:title>、<image:geo_location> 和 <image:license> 为可选项。
视频扩展:<video:thumbnail_loc>、<video:title> 和 <video:description> 为必填项,并且 <video:content_loc> 或 <video:player_loc> 至少需要一个。如果存在,<video:duration> 必须为 1–28,800 秒,<video:rating> 必须为 0.0–5.0,<video:family_friendly>/<video:requires_subscription>/<video:live> 必须恰好是 "yes" 或 "no"。
新闻扩展:<news:publication>(含 <news:name> 和 <news:language>)、<news:publication_date> 和 <news:title> 为必填项。Google 新闻站点地图应仅列出大约最近 2 天内发布的文章,且每个文件不得超过 1,000 条 URL——<news:keywords> 已完全不被读取。
限制:本工具仅验证您粘贴的 XML 文档本身——不会抓取所列的页面、缩略图或视频以确认其确实存在,也不会检查 Google 是否已将其收录。