[uf-discuss] hReview Question/Statement

Charles Iliya Krempeaux supercanadian at gmail.com
Tue Dec 6 09:44:01 PST 2005


On 12/6/05, David Janes -- BlogMatrix <davidjanes at blogmatrix.com> wrote:
> 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>

I'd say yes.  (Unless you want to make them share some unique class
name that binds them together.)

See ya

    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
 Never forget where you came from

More information about the microformats-discuss mailing list