2014-01-30 68 views
2

我在網站中使用schema.org類型Article。該頁面允許用戶評論文章。在文章中提到,評論可以用UserComments類型標記。我做到了這一點,並且很長一段時間它工作得很好。我是否必須爲UserComments使用'location'和'startDate'?

幾天前Google(網站管理員工具)開始抱怨我的標記錯誤。 他們希望我爲每個評論添加屬性locationstartDate

目前我只使用屬性creator,commentTimecommentText

爲什麼需要添加上述屬性?我不知道locationstartDate對於簡單的用戶評論可能是什麼。

(這也許只是谷歌招收集更多的數據?)

回答

0

現在,Googles網站站長工具中的失敗消息已消失。看起來谷歌已經解決了這個問題。

0

谷歌抱怨哪裏?下面的例子中,根據微數據和schema.org是有效的(與Google Structured Data Testing Tool不顯示任何警告/錯誤):

<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> 

(I也測試含有creatorcommentTime一個片段:無警告要麼)

+1

哦,對不起,忘了提及。 Google正在抱怨Google網站站長工具中缺少的屬性。 – Manuel

相關問題