想在谷歌搜索描述上显示谷歌评论明星

时间:2015-01-27 05:40:37

标签: php html review

想在谷歌搜索描述中显示谷歌评论明星,如本图所示。

我使用过这段代码。请告诉我。这可以吗?或者什么时候我会工作?同一时间或几小时后。

<div itemscope itemtype="http://schema.org/Product">
   <span itemprop="name"></span>
   <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
     Rated <span itemprop="ratingValue"></span>/5 based on <span itemprop="reviewCount"></span> reviews
</div>

1 个答案:

答案 0 :(得分:1)

根据this文章:

基本大纲:

<div itemprop="review" itemscope itemtype="http://schema.org/Review">
    <meta itemprop="author" content="Ashley">

    <strong itemprop="itemreviewed">Sweet Peril</strong> by <a href="http://www.nosegraze.com/reviews/authors/wendy-higgins/">Wendy Higgins</a><br />

    Other book info can go in here...

    <strong>My Rating:</strong> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"><img src="http://www.nosegraze.com/wp-content/uploads/2012/08/three-stars.png" alt="3 Stars" class="stars" /><meta itemprop="ratingValue" content="3" /><meta itemprop="bestRating" content="5" /></span>
</div>

会返回此信息:


enter image description here