2014-11-04 74 views
1

Google email markup - 特別是Review Action。下面的虛擬實例提供:如何將Schema.org標記添加到Google Plus評論的電子郵件中?

<div itemscope itemtype="http://schema.org/EmailMessage"> 
    <div itemprop="action" itemscope itemtype="http://schema.org/ReviewAction"> 
     <div itemprop="review" itemscope itemtype="http://schema.org/Review"> 
      <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/FoodEstablishment"> 
       <meta itemprop="name" content="Joe's Diner"/> 
      </div> 
      <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> 
       <meta itemprop="bestRating" content="5"/> 
       <meta itemprop="worstRating" content="1"/> 
      </div> 
     </div> 
     <div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler"> 
      <link itemprop="url" href="http://reviews.com/review?id=123"/> 
      <div itemprop="requiredProperty" itemscope itemtype="http://schema.org/Property"> 
       <meta itemprop="name" content="review.reviewRating.ratingValue"/> 
      </div> 
      <link itemprop="method" href="http://schema.org/HttpRequestMethod/POST"/> 
     </div> 
    </div> 
    <meta itemprop="description" content="We hope you enjoyed your meal at Joe's Diner. Please rate your experience."/> 
</div> 

有什麼方法來定製這個作爲一個review for a Google Plus page作用?

回答

0

ReviewAction要求您輸入審閱數據的網址。 Google+評論不提供這樣的API,因此您可以做的最好的方式是要求用戶留下評論並鏈接到評論列表。

相關問題