[microformats-discuss] quick hReview question
Tantek Ç elik
tantek at cs.stanford.edu
Mon Aug 8 21:56:54 PDT 2005
Hi Lucas,
On 8/8/05 9:26 PM, "Lucas Gonze" <lucas.gonze at gmail.com> wrote:
> I have an hReview where all I know about the author is their username
> and URL*. Is this correct syntax for the reviewer field?
>
> <div class="hreview">
> ...
> by <span class="reviewer"><a
> href="http://example.com/">...username...</a></span>
> </div>
Yes that looks fine to me if all you want to capture is the username of the
reviewer. For the URL, without more markup, it is not obvious that it
belongs to the reviewer. To associate the URL with the reviewer, you need
to upgrade the reviewer to an hCard, e.g.:
<span class="reviewer vcard">
<a class="fn nickname url" href="http://example.com/">
username
</a>
</span>
> ...I'm still at the stage where I'm internalizing the rules, so I'd be
> grateful for corrections if I'm misunderstanding something.
You're asking in the right place!
Thanks,
Tantek
More information about the microformats-discuss
mailing list