我必须对用户评论使用'location'和'startDate'吗?



我在网站中使用schema.org类型Article。该页面允许用户对文章发表评论。在文章中提到的是,可以用UserComments类型标记注释。我做到了,而且很长一段时间内效果很好。

几天前,Google(网站管理员工具)开始抱怨我的标记中的错误。他们希望我将属性locationstartDate添加到每个注释中。

目前,我仅使用属性creatorcommentTimecommentText

为什么需要添加上述属性?我不知道locationstartDate对简单用户评论是什么。

(这可能只是收集更多数据的Google技巧吗?)

Google在哪里抱怨?以下示例根据microdata和schema.org有效(并且Google结构化数据测试工具没有显示任何警告/错误):

<article itemscope itemtype="http://schema.org/Article">
  <h1 itemprop="name">Article name</h1>
  <article itemprop="comment" itemscope itemtype="http://schema.org/UserComments">
    <p itemprop="commentText">Comment text</p>
  </article>
</article>

(我还测试了包含creatorcommentTime的摘要:也没有警告。)

现在,Google网站管理员工具中的故障消息已经消失了。看起来Google解决了问题。

最新更新