有没有办法为具有总评分的单个评论格式化微数据?

时间:2013-03-21 16:49:48

标签: microdata

我不能为我的生活弄清楚如何为具有单一评论但多个评级的页面构建微数据,以便谷歌正确地解释它。

以下是一些示例标记,这似乎是合法的,但谷歌忽略了评级部分:

    <div itemscope itemtype="http://data-vocabulary.org/Product">
  <span itemprop="name">Executive
    Anvil</span>
<span itemprop="review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate"><span itemprop="rating">4.4</span> stars, based on <span itemprop="count">89 </span> votes</span>
 <div itemscope itemtype="http://data-vocabulary.org/Review">
<span itemprop="itemreviewed">Executive
    Anvil</span>
    Reviewed by <span itemprop="reviewer">Ulysses Grant</span> on
    <time itemprop="dtreviewed" datetime="2009-01-06">Jan 6</time>.
    <span itemprop="summary">Delicious, tasty pizza in Eastlake!</span>
    <span itemprop="description">L'Amourita serves up traditional wood-fired Neapolitan-style pizza, 
      brought to your table promptly and without fuss. An ideal neighborhood pizza joint.</span>
  </div>
</div>

1 个答案:

答案 0 :(得分:0)

没关系!事实证明我应该使用schema.org。