schema.org - Google 能否识别所有架构属性?

标签 schema.org google-search-console

根据CreativeWork Schema ,“license ”是一个有效的属性,但使用 Google Structured Data Testing Tool 测试以下代码出现错误:

Error: Page contains property "license" which is not part of the schema

<span itemscope itemtype="http://schema.org/CreativeWork">
    <meta itemprop="genre" content="Travel">
    <meta itemprop="isFamilyFriendly" content="true">
    <link itemprop="license" content="http://creativecommons.org/licenses/by-nd-nc/1.0/">
</span

我是否可以假设这是测试工具中的一个故障,或者 Google 忽略了该属性并被其他 SE 在其他地方使用?

最佳答案

license propertyadded in version 1.6 (2014-06-16)

Google 结构化数据测试工具无法识别此版本之后甚至之前的许多其他属性,因此它们很可能还没有跟上。

无法回答 Google 是否使用(或将使用)此属性。 Google 和其他 schema.org 使用者都不一定使用所有属性和类,并且特定用途可能没有记录或保密。

(旁注:由于您有一个 URL 作为 license 属性的值,因此 must use the link element instead of meta 。)

关于schema.org - Google 能否识别所有架构属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26366183/

相关文章:

image - 结构化数据测试工具 : "The value provided for image must be a valid URL."

html - 我可以使用 http ://schema. org/Organization 的多个实例吗?

schema.org - 如何在 JSON-LD 中使用多个元素

seo - 谷歌站点链接问题

seo - 如何避免多个页面使用相同的内容和关键字并仅关注母版页

schema.org - schema.org 中的产品类别?

html - Schema.org 标记中的 "description"是否必须不含 HTML 标记?

css - SVG Logo 的上方/下方有不需要的空白,仅在 Google 网站管理员工具页面缩略图中

html - 具有翻译标题的相同内容页面是否需要 rel=canonical?

谷歌图像搜索的搜索结果显示 slider 图像