Support » Plugins and Hacks » microformat hReview – how to make “half-stars”?

  • I have integrated the hReview structured blogging microformat into my blog. I am only using the hReview for movie reviews, but I find the 5 star rating constaining. Preferably, I would like to have half stars as well to allow a rating of 3.5 stars, for instance; or worse case, a 1-10 rated scale.

    Has anyone modified the hReview like this, or does anyone know where I’d go about making the change?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Bump…is anyone using the structured blogging stuff?

    Hi Arlo, Thanks. I was actaully trying to get this working in the structured blogging plugin using the hReview format. I did figure out how to get the 1 – 10 stars working. This is specified in the “mc_renderers.php” file. If anyone is looking to do this, find this code snippet from the mc_renderers.php file:

    $min = empty($min) ? 0 : intval($min);
    $max = empty($max) ? 5 : intval($max);

    and switch it to this:

    $min = empty($min) ? 1 : intval($min);
    $max = empty($max) ? 10 : intval($max);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘microformat hReview – how to make “half-stars”?’ is closed to new replies.