【问题标题】:Schema.org type for collectibles or catalogs?收藏品或目录的 Schema.org 类型?
【发布时间】:2019-10-08 12:24:38
【问题描述】:

有钱币目录https://colnect.com/en/coins/list/year/1889

列表中的每个项目都有Product 微数据,市场中的某些项目具有offers 属性。例如:this stamp

最近Structured Data Testing Tool 开始显示错误而不是警告Product 页面上缺少offers 属性,但在product rich result docs 中仍将其描述为推荐属性。这里还有 Google Search Console 中的“应指定“offers”、“review”或“aggregateRating”错误。

什么样的结构化数据最适合这些项目?

如何避免这些结构化数据错误?将Thing 输入目录项然后将其更改为Product 是否正确?

2019 年 10 月 15 日更新:mentioned above stamp 的结构化数据是 here。目前它有offers,所以只有3个警告。

对于没有offerssome other stampStructured Data,这里是缺少offers 提交的错误。

Google 似乎不允许在没有 offers 的情况下使用 schema.org Product 标记。

【问题讨论】:

    标签: schema.org google-rich-snippets


    【解决方案1】:

    很难回答您的问题(下次请添加一些代码示例)。

    一般在这个网址中:

    https://colnect.com/en/stamps/stamp/2376-Snowstorm_-_Steamer_off_a_Harbours_Mouth-Birth_Bicentenary_of_JMW_Turner_painter-United_Kingdom_of_Great_Britain_Northern_Ireland

    没有这个警告:

    'Either "offers", "review", or "aggregateRating" should be specified' - 但请阅读: https://www.checkerboard.com/web-development/fix-offers-review-aggregaterating-specified/

    Product VS Thing - 最好使用更具体的对象类型(这与在线支付的“市场”选项无关)(Google rich-sn-p 与产品相关)。

    产品本体: 对于硬币/体育卡等,您可以通过 productontology 添加额外数据(非强制性): http://www.productontology.org/

    相关: Can we make structured page data for any type of entities?

    【讨论】:

    • 感谢回复,添加了一些代码示例。似乎 productontology 用于扩展Product 数据,但谷歌在这里没有看到“产品”。 GoodRelations 使用不是很方便的 RDF 格式。使用自己的HTML5 microdata 词汇表会有什么好处吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-11
    • 2013-09-12
    • 2012-08-10
    • 2015-06-20
    • 1970-01-01
    相关资源
    最近更新 更多