Robin2005

现在,你可以使用Sitemaps来告诉Google如何索引图片数据了,支持的字段包括images; image, location, caption, geographic location, title 和 license details。

比如最简单的例子:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>http://example.com/sample.html</loc>
<image:image>
<image:loc>http://example.com/image.jpg</image:loc>
</image:image>
</url>
</urlset>

这里还有更多技术细节

Via Google Webmaster Central Blog

分类:

技术点:

相关文章:

  • 2021-10-19
  • 2021-10-05
  • 2021-12-06
  • 2021-10-27
  • 2021-09-19
  • 2021-06-29
  • 2022-12-23
  • 2021-11-10
猜你喜欢
  • 2021-10-15
  • 2021-12-02
  • 2022-01-19
  • 2021-09-25
  • 2021-09-27
  • 2021-12-04
  • 2022-12-23
相关资源
相似解决方案