[uf-discuss] multiple hCards on a user's profile page - how can I
mark one as the actual user?
brian.suda at gmail.com
Mon Apr 14 07:34:11 PDT 2008
2008/4/14 Micah Wedemeyer <micah at aisleten.com>:
> Now the problem I'm dealing with is that I have possibly dozens of
> hCards on the profile page (user + friends + recent updates + comments).
> If a spider finds the page and looks for hCards, there is no (easy) way
> to tell that the profile belongs to user A and not A's friends.
--- there is a wiki page somewhere (which i can't find at the moment),
but there are a few options. HTML has the <address> element to
describe the contact info of the page owner. There are issues with
<address> due to it being an inline element, and not accepting
block-level inside it.
Also, the hResume microformat makes use of class="contact" to help
describe which hcard to use. I would recommend using one of those
options and seeing if that works in your markup.
If i or someone finds that wiki page, please add your thoughts and
experiences to it as well.
More information about the microformats-discuss