【发布时间】:2016-02-23 16:28:19
【问题描述】:
我们的主页包含我们组织的 JSON-LD。我们的产品页面也应该有那段代码吗?
如果 Google 抓取我们的某个产品页面并找到 @type: Organization 和 @type: Product,是否会难以确定该特定页面的性质?
【问题讨论】:
标签: seo schema.org rich-snippets json-ld google-rich-snippets
我们的主页包含我们组织的 JSON-LD。我们的产品页面也应该有那段代码吗?
如果 Google 抓取我们的某个产品页面并找到 @type: Organization 和 @type: Product,是否会难以确定该特定页面的性质?
【问题讨论】:
标签: seo schema.org rich-snippets json-ld google-rich-snippets
假设您想传达您的Organization 是manufacturer 的manufacturer:
在Product 节点内部,您可以提供完整的Organization 节点作为值,也可以提供Organization 的URI 作为值,它在Organization 中使用@id 指定节点(see an example)。
引用标识符的优点是您不必重复自己,但缺点是它可能对消费者来说工作更多(他们可能不支持它)。
Google 没有在他们的 Rich Snippets documentation 中明确提及他们是否遵循 URI 并考虑引用的节点,而根据他们的示例和他们的 SDTT 似乎支持嵌入节点。
如果 Google 抓取我们的某个产品页面并找到
@type:Organization和@type:Product,是否会难以确定该特定页面的性质?
Google 甚至将 recommends 标记(或在 JSON-LD 的情况下,提供数据)页面上的所有实体。
另请注意,Schema.org 提供了一个属性,允许表示哪个实体是主要实体(例如,产品页面上的 Product,主页上的 Organization):mainEntity/mainEntityOfPage(请参阅我的answer with more details)。
【讨论】: