我是新來的代碼。我想我的聯繫頁面上添加結構化數據的代碼谷歌的評論:「屬性publisher.itemtype具有無效值」
http://www.catnips.co.uk/in-home-mobile-cat-groomer-feline-behaviourist.html
我使用從我的谷歌地圖客戶端評論的評論。
在谷歌結構化數據測試工具測試它,它說
屬性publisher.itemtype值無效。
我無法弄清楚我做錯了什麼。
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<meta itemprop="author" content="Anita Kelsey">
<strong itemprop="itemreviewed">Mobile Cat Grooming</strong> by <a href="https://www.google.co.uk/maps/place/The+Notting+Hill+Cat+Sitting+and+Cat+Grooming+Company/@51.5254631,-0.2526499,12z/data=!4m10!1m2!2m1!1smobile+cat+grooming!3m6!1s0x4876101c4f92036d:0x8514584f53249c41!8m2!3d51.5180716!4d-0.2036502!9m1!1b1/">Jen Crothers</a><br />
<strong>My Rating:</strong> <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"><img src="http://www.catnips.co.uk/wp-content/uploads/2014/09/5-stars-356x73.png" alt="5 stars" width="356" height="73" class="alignnone size-medium wp-image-4614" /><meta itemprop="ratingValue" content="5" /><meta itemprop="bestRating" content="5" /></span>
</div>
<span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
Anita was absolutely brilliant with my Persian cat Ernie, who was a wriggly customer at times. She skillfully and gently removed the mats on his coat and gave him a very thorough groom. Brilliant, professional and easily a five star service provided from start to finish.
<meta itemprop="ratingValue" content="5" /><meta itemprop="bestRating" content="5" />
包含的標記不會給這個(或任何其他)錯誤。 – unor
我在這裏找到了一個相當不錯的答案:[https://webmasters.stackexchange.com/a/95983](https://webmasters.stackexchange.com/a/95983) – AnarchyOutlaw