[uf-discuss] rel-hcard?

Siegfried Gipp siegfried at rorkvell.de
Tue Nov 7 09:07:54 PST 2006


Am Dienstag, 7. November 2006 15:36 schrieb Adam Darowski:

> Pardon me if this came up before on the list. But I'm a bit worried
> about what type of/how much data is being marked up in hCard.
> Sometimes it seems to just be names, titles, and organizations. So,
> when these are converted to vCard, it doesn't really provide true
> *contact* information. So, I'm throwing "rel-hcard" out there. You
> post someone's name and add a link back to their own personal site
> (which THERE is marked up in hCard). On that link, you put a
> rel-hcard. This also helps make sure that content is up to date.

Nice idea. This would work, if the target resource (i.e. the target html page) 
has a root element of class vcard, or in case of html, at least a <body 
class="vcard">.
Or the url points to a container with an id within that page. Then f.ex. the 
target page may contain some
<address class="vcard" id="AlbertEinstein">
...
</address>

and then you might link to that address record with <a 
href="http://where.ever/me.html#AlbertEinstein" rel="vcard">bla</a>

This would then have a similar meaning as the type attribute. The type 
attribute with its property defines the mime type of the target, the 
rel="vcard" would define a microformats address record as target. Nice idea.



More information about the microformats-discuss mailing list