我对模式ImageObject的正确使用有疑问。
我有一张小图片和一个大尺寸的链接,但我不知道这三种形式中哪一种是正确的。
<span itemprop='image' itemscope itemtype='http://schema.org/ImageObject'>
<a href='big_1280x720.jpg' itemprop='contentUrl'><img src='small_90x60.jpg' itemprop='image'></a>
</span>
<span itemprop='image' itemscope itemtype='http://schema.org/ImageObject'>
<a href='big_1280x720.jpg' itemprop='image'><img src='small_90x60.jpg' itemprop='thumbnailUrl'></a>
</span>
<span itemprop='image' itemscope itemtype='http://schema.org/ImageObject'>
<a href='big_1280x720.jpg' itemprop='contentUrl'><img src='small_90x60.jpg' itemprop='thumbnailUrl'></a>
</span>发布于 2013-11-16 11:41:10
删除第一次出现的itemprop='image‘的第三个是正确的。
<div itemscope itemtype='http://schema.org/ImageObject'>
<a href='big_1280x720.jpg' itemprop='contentUrl'>
<img src='small_90x60.jpg' itemprop='thumbnailUrl'>
</a>
</div>发布于 2015-12-16 20:47:46
也许有人在搜索“如何使用Schema.org ImageObject”时发现了这个问题,就像我一样,所以,仅供参考,下面是Schema.org文档中的一个示例:
不带标记的
:
http://schema.org/ImageObject#examples
https://stackoverflow.com/questions/19984221
复制相似问题