Wordpress has a plugin called "All In One Schema.org Rich Snippets"
which makes the five star reviews on a product page show in the search results

How would you do the same with the drupal five star module?

Thanks for your help

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

roderik’s picture

(Is there a tutorial for this already? I guess not, so I'll just do a 3-line blurb. since this issue seems like a likely candidate to be picked up from search queries...)

Install Microdata module for schema.org support.

Then you should get "Microdata field mapping" properties in field settings of your fivestar field. (See screenshot.)

After that, you should see the properties which Google picks up, show up in your HTML.

roderik’s picture

FileSize
67.02 KB

Actually this is not complete.

  • Install microdata support
  • Then you need to set an "Item Type" in the microdata settings of your content type. See screenshot '1-content-type'. The value 'http://schema.org/Product' is just an example; only you know what Item Type you want to output in your HTML.
  • Then, you can set "Microdata field mapping" properties in field settings of your fivestar field. (See Screen Shot 2014-08-23 at 3.49.58 PM.png. There is now a button on the screen just below those text field; pressing it, may automatically fill those values; not sure.)