X out of Y people recommend - microformat markup

191 views Asked by At

I'm in the process of marking up a site with microformats, using hcard, hreview and hreview-aggregate.

The documentation on http://microformats.org/ and http://www.google.com/support/webmasters/bin/topic.py?topic=21997 is pretty good.

However one thing has got me totally stumped - Can anybody explain to me how I can express something in the form:

X out of Y people recommend...

Thanks

1

There are 1 answers

2
Scott Reynen On BEST ANSWER

That sounds like hreview-aggregate to me. A simple recommendation doesn't necessarily have a numeric value, but you can arbitrarily assign one based on the number of people. The scale will keep changing, but the proportions will stay the same. Example:

<div class="hreview-aggregate">
  <span class="item">...</span>
  <span class="rating"><span class="average">90</span> out of <span class="best count">100</span> people recommend.</span>
</div>

So every time you add a new person, both best and count would change. That makes sense, since the best scenario would be everyone recommending. That may be a bit misleading, since people aren't really rating on a 100-point scale, but the average of 90% is still accurate.