Hi,

I found that the markup to display the ratings using the contributed module fivestar is incorrect (aggregateRating, ratingValue, ratingCount should be used instead of aggregateReview, average and count). I changed it and now it's working in the Google rich snippet tool.

I'd like if some maintainer could take look and review it.

Additionally I created the markup for for best and worst ratings.

I attach here the modified version.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frankye’s picture

Priority: Normal » Major
FileSize
1.42 KB

I attach a patch to change the module.

BestRating data and worstRating I have not used, because these data as default.

scor’s picture

Status: Needs review » Fixed

Thanks @frankye for the patch and @valery86 for the bug report!

  • scor committed 074b9db on 7.x-1.x
    Issue #2239323 by frankye, valery86: Fixed Incorrect markup for fivestar...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.