1
我正在嘗試引入Schema.org微數據,以在Google搜索結果中顯示評分星級。爲此,我使用Google結構化數據測試工具(Google Webmaster Tools)來測試我的代碼。下面的代碼段不起作用:爲什麼我的schema.org評分標記不是由Google顯示的地點?
<article itemscope itemtype="http://schema.org/Place">
<div class="rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<meta itemprop="ratingValue" content="4" />
<meta itemprop="bestRating" content="5" />
<meta itemprop="ratingCount" content="1" />
</div>
<div class="content"><h1 itemprop="name">This is my Page name</h1></div>
</article>
有沒有人有想法,爲什麼不做或做什麼?
非常感謝。我也發現了這一點,但我唯一可以使用的具體類型是LandmarksOrHistoricalBuildings或TouristAttraction,它們都不是由google顯示:(而且我只是使用元標籤,因爲我將評級星標顯示爲(重複)背景圖像。 – bernhardh