评论

时间:2018-02-12 00:11:53

标签: schema.org google-rich-snippets

我想知道什么是Schema.org用于产品审核的正确方法。我看到两个不同的建议:

我检查过的网站的Majory使用了这种结构:

"review": {
  "@type": "Review",
  "author": "Daniela",
  "datePublished": "2016-11-01",
  "description": "Fantastic product! It really helped me. I would recommend to all my friends and family.",
  "name": "Awesome!",
 "reviewRating": {
  "@type": "Rating",
  "bestRating": "5",
  "ratingValue": "5",
  "worstRating": "1"
  }
 }

它在结构化数据测试工具中得到了正确验证。

但结构化数据助手和文档显示以下格式:

  "review" : {
    "@type" : "Review",
    "author" : {
      "@type" : "Person",
      "name" : "Daniela"
    },
    "datePublished" : "2017-06-08",
    "reviewRating" : {
      "@type" : "Rating",
      "ratingValue" : "5",
      "bestRating" : "5",
      "worstRating" : "0"
    },
    "reviewBody" : "Fantastic product! It really helped me. I would recommend to all my friends and family. "
  }

它们相似,唯一的区别是descriptionreviewBody

哪个是对的?

1 个答案:

答案 0 :(得分:1)

它们是不同的属性:

没有理由在这里只选择一个。如果您拥有两者的数据,则可以使用这两个属性。

对于Google的评论丰富的结果,只需check the documentation

  • 对于“评论家评论”,需要description
  • 对于“审核代码段”,建议使用reviewBody