Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 hcard alternative link?
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DtY




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
DtY




PostPosted: 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?
Tony




PostPosted: Thu Oct 15, 2009 4:09 pm   Post subject: RE:hcard alternative link?

I think that should be rel="me" instead of "self"
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
DtY




PostPosted: Thu Oct 15, 2009 6:14 pm   Post subject: RE:hcard alternative link?

Okay, thanks
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: