【发布时间】:2015-11-17 14:00:48
【问题描述】:
考虑到 18 x 24 英寸的视觉艺术作品:
<div itemscope="itemscope" itemtype="http://schema.org/VisualArtwork">
<span itemprop="height" itemscope="itemscope"
itemtype="http://schema.org/Distance">18 inches</span>
<span itemprop="width" itemscope="itemscope"
itemtype="http://schema.org/Distance">24 inches</span>
</div>
此标记使Structured Data Testing Tool 失败并出现错误,“Google 无法识别 Distance 类型的对象的属性 height。” 宽度也是如此。
有趣的是,如果您将来自 Schema.org 的VisualArtwork 的第一个示例(关于马格利特绘画的示例)插入 SDTT,您会得到相同的错误。测试工具对此有误吗?
【问题讨论】:
标签: html schema.org structured-data