I am trying to add "Star Ratings" to my sites google serps.
On my local Testsite i tested fivestar - it works fine, but it does not create rich snippets.
Is there an easy way to add that?
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="worstRating" content="1">
<meta itemprop="ratingValue" content="<?php $rating = $node->field_rating['rating']; print $rating / 20; ?>">
<meta itemprop="bestRating" content="5">
But somehow I cant import the ranking from the fivestar field. (Yes the fivestar field is named: field_rating)
Or is there a generally easier way to add rating richt snippets to a site?
Thanks a lot!
I hope im in the right section of the forum. :)