1
根據schema.org Place
應該支持AggregateRating
。Rich Snippet AggregateRating類型地點
但是當我使用這個片段:直到我Product
交換Place
<div class="row-fluid rating-summary" itemscope itemtype="http://schema.org/Place">
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4.5</span>
<span itemprop="bestRating">5</span>
<span itemprop="ratingCount"21</span>
</div>
</div>
Googles Rich Snippet tester將不顯示等級。這當然是錯誤的。
我可以用
itemscope itemtype="http://schema.org/WebPage"
在
body
解決這個問題,但我真的想知道什麼是整合Rating
用於出租物業的最佳途徑。這樣
<div itemscope itemtype="http://schema.org/Review">
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/AggregateRating">
Avg. Rating:
<span itemprop="ratingValue">9</span>
<meta itemprop="bestRating" content="10"/>
<span itemprop="ratingCount">4</span> Reviews
</div>
<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Place">
<a itemprop="url" href="wells-fargo-center.html">
Wells Fargo Center
</a>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Philadelphia</span>,
<span itemprop="addressRegion">PA</span>
</div>
</div>
</div>
我不明白這一點。當我使用Google或Yandex(http://webmaster.yandex.ru/microtest.xml)工具驗證您的代碼段時,它工作得很好。 (ITEMTYPE = http://schema.org/Place aggregaterating ITEMTYPE = http://schema.org/AggregateRating ratingvalue = 4.5 bestrating = 5 ratingcount = 21) – ajax
呀,但產品替代地方,你會看到Google會在實際搜索列表中顯示評分星。 – Mike
星星,有你。請參閱下面的答案。 – ajax