0

Does Bing allow sitemaps with images?

I'm tring to submit my sitemap to Bing. But, I got this error:

We were unable to add your sitemap because: Http status code: 200 Severity: Error Line: 1292 Position: 12 Message: The 'http://www.sitemaps.org/schemas/sitemap/0.9:loc' element is invalid - The value '' is invalid according to its datatype 'http://www.sitemaps.org/schemas/sitemap/0.9:tLoc' - The actual length is less than the MinLength value. Severity: Error Line: 1596 Position: 6 Message: The element 'image' in namespace 'http://www.sitemaps.org/schemas/sitemap-image/1.1' has invalid child element 'geo_location' in namespace 'http://www.sitemaps.org/schemas/sitemap-image/1.1'. List of possible elements expected: 'license' in namespace 'http://www.sitemaps.org/schemas/sitemap-image/1.1'.

What does this error mean?

My sitemap.xml is in this format. I've cut it down to a one page example:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 
        xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1">

  <url> 
    <loc>http://www.mysite.com/#</loc> 
    <lastmod>2010-09-23</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <image:image>
       <image:loc>http://www.mysite.com/images/theplace.jpg</image:loc>
       <image:caption>This is the place</image:caption>
       <image:geo_location>Place, State</image:geo_location> 
    </image:image>
  </url>
</urlset>

Thank you.

-Laxmidi

4

1 回答 1

0

它是谷歌目前唯一支持图片站点地图的搜索引擎。其他搜索引擎可能会成功解析这些站点地图,但它们可能会忽略与图像站点地图扩展相关的标签。

请注意,在您的示例中存在错误,这很可能是导致 Bing 解析困难的原因。图片架构中心​​位于http://www.google.com/schemas/sitemap-image/1.1/

也就是说,您需要替换以下位:

xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1"

xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
于 2010-09-27T08:28:48.293 回答