Computer Science Canada

hcard alternative link?

Author:  DtY [ Thu Oct 15, 2009 3:37 pm ]
Post subject:  hcard alternative link?

How would I add an alternative website link with hcard? I looked on their wiki, but I didn't see anything that looked right.
Specifically, I want to add a facebook link.

Author:  Tony [ Thu Oct 15, 2009 3:44 pm ]
Post subject:  RE:hcard alternative link?

Quote:

Singular properties: 'fn', 'n', 'bday', 'tz', 'geo', 'sort-string', 'uid', 'class', 'rev'. For properties which are singular, the first descendant element with that class SHOULD take effect, any others being ignored.

All other properties MAY be plural. Each class instance of such properties creates a new instance of that property.

url may be plural, so you can have multiple url elements in an hCard.

Author:  DtY [ Thu Oct 15, 2009 3:50 pm ]
Post subject:  RE:hcard alternative link?

Ah, thanks.

[edit] When I put that in, do I add rel="self" to the link to the main website (where the hcard is), and rel="alt" for the FB link?

Author:  Tony [ Thu Oct 15, 2009 4:09 pm ]
Post subject:  RE:hcard alternative link?

I think that should be rel="me" instead of "self"

Author:  DtY [ Thu Oct 15, 2009 6:14 pm ]
Post subject:  RE:hcard alternative link?

Okay, thanks


: