[uf-discuss] hReview Question/Statement

David Janes -- BlogMatrix davidjanes at blogmatrix.com
Tue Dec 6 07:36:10 PST 2005


What's the rule for associating "rating" with "best"? I'm looking at 
this example [1] from the Wiki:

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

and the implied rule (if it follows) seems rather loosey goosey: if it's 
under the same parent element, associate them?. For example, there's 
clear way to write:

<p>
On Fred's <span class="best">4</a> ICBM scale, I give this a <span 
class="rating">2</a>.
</p>

Would it not be better to explicitly place them within a named parent 
container (say "rated")? Then one no longer needs to make sure 
everything is grouped in some explicit way:

<p class="rated">
I rate all my Chilis on a <span class="best">4</span> ICBM scale. The 
best I ever had was Texas Joe's Twister, which render large parts of the 
midwest uninhabitable later that night and earned a <span 
class="rating">4</span> from me.
</p>

Regards, etc...





More information about the microformats-discuss mailing list