Hi,

To be able to display fivestar ratings in the search results of Google, the Schema.org should be supported.
When I enable Schema.org and fivestar, the "ratingValue" is missing. Is it possible to add this "ratingValue" to the average number tag so that Google would understand it ?

Update: Was able to fix this just editing the fivestar theme files and now Google shows the ratings in the search results. This is so cool :)

Comments

jukka792 created an issue. See original summary.

jukka792’s picture

Issue summary: View changes
dbt102’s picture

Status: Active » Needs work

@jukka792 thanks for the info.

You should post the details of what you did so the rest of the community can benefit. Patches are really easy to do, and then you can get 'credit' for the contribution on your Drupal profile as well.

Please see this for how to create the patch --> https://www.drupal.org/project/fivestar/git-instructions

DeeVee’s picture

Hi jukka792,

How did you associate rich snippets for ratings here? I'd appreciate your advice.

-David

Shuler’s picture

This can be achieved by enabling Schema.org UI module and then editing the rating field and assigning "ratingValue" as its Schema.org mapping.