[uf-discuss] hreview parsing question
Tantek Ç elik
tantek at cs.stanford.edu
Thu Feb 2 11:19:53 PST 2006
On 2/2/06 10:57 AM, "Ryan King" <ryan at technorati.com> wrote:
> On Feb 2, 2006, at 4:18 AM, Chris Roos wrote:
>
>> Hi,
>>
>> I have a specific question regarding the parsing of the hreview on
>> this yahoo movie review[1]
>>
>> The rating given in the review is as follows
>>
>> <dt>Rating</dt>
>> <dd>
>> <em>3.5/5
>> <img src='http://eur.i1.yimg.com/eur.yimg.com/i/eu/mov/
>> 35onw.gif' width='71' height='14' alt='3.5 stars' border='0'>
>> </em>
>> </dd>
>>
>> My initial impression is that this is invalid based on hreview
>> rules but I'd like to be sure, so if anyone can shed any light I'd
>> be most grateful.
>
>... At least, there is no rating.
Right. It's not that it's "invalid", the markup itself certainly is not in
error.
However, the rating is simply not marked up and thus won't be recognized as
part of the hReview.
Note that the rating uses a single decimal point of precision (as apparently
many real world examples do), and thus can't be marked up in hReview 0.2
accurately.
Thus we are adding a decimal point of precision to hReview 0.3.
http://microformats.org/wiki/review-brainstorming#hReview_0.3_thoughts
Thanks,
Tantek
More information about the microformats-discuss
mailing list