[uf-dev] hReview, rating, and best/worse

Tantek Ç elik tantek at cs.stanford.edu
Fri Mar 23 19:52:26 PST 2007


On 3/23/07 6:16 PM, "Ian Bicking" <ianb at colorstudy.com> wrote:

> But... that's not very clear.  What does that actually look like?
> There's no examples that use that.

>From the spec:

http://microformats.org/wiki/hreview#Multidimensional_Restaurant_Review

...
Food: 18/30; Ambience: 19/30; Service: 15/30; Price: $$...
...

 <ul>
  <li class="rating"><a href="http://en.wikipedia.org/wiki/Food" rel="tag">
   Food: <span class="value">18</span>/<span
class="best">30</span></a>;</li>
  <li class="rating"><a href="http://flickr.com/photos/tags/Ambience"
rel="tag">
   Ambience: <span class="value">19</span>/<span
class="best">30</span></a>;</li>
  <li class="rating"><a href="http://en.wikipedia.org/wiki/Service"
rel="tag">
   Service: <span class="value">15</span>/<span
class="best">30</span></a>;</li>
  <li class="rating"><a href="http://en.wikipedia.org/wiki/Price" rel="tag">
   Price: <abbr class="value" title="2">$$</abbr>...</a></li>
 </ul>


...

Note the <span class="best">30</span> inside the <li class="rating">


Tantek



More information about the microformats-dev mailing list