agent - use to specify another person who will act on behalf of the individual, e.g., a secretary. Often the
value of this property is a link to the agent's vCard, e.g.,
org - use to specify the name of the organization that the person is associated with (e.g., company name)
and the name of the organizational unit associated with the person (e.g., department name). This is accomplished
using these two subproperties:
Use Brian Suda's xhtml2vcard.xsl tool to extract the hCard and generate a vCard (.vcf file). In the
lab 5 folder is run.bat. Double click on it, and it will invoke Brian's tool.
Explanatory Properties
These properties are used to provide additional information (such as you might write on a business card):
category (repeatable)
note (repeatable)
rev
sort-string
sound
uid
url
category Property
category - use to specify application category information about the hCard.
Example: a travel agent's business card (i.e., hCard) has a category of "travel agent":
<span class="category">Travel Agent</span>
note Property
note - use to specify supplemental information, e.g.,
<span class="note">The fax number is operational 0800 to 1715 EST, Mon-Fri</span>
rev Property
rev - use to specify the datetime that the hCard was last revised.
<abbr class="rev" title="2006-11-05T18:33:10-05Z">Nov. 5, 2006, at 6:33pm</abbr>
sort-string Property
sort-string - use to specify the part of the person's name which is to be used when sorting (such as in white pages).
Example: consider this name: Robert Pau Shou Chang. We can indicate that Pau is the sort string:
<div class="fn n">
<span class="given-name">Robert</span>
<span class="additional-name">Shou Chang</span>
<span class="family-name sort-string">Pau</span>
</div>
sound Property
sound - use to specify the proper pronunciation of the person's name. The value is a URL to an audio file.
<a class="sound" href="http://www.example.org/jsmith.mpeg">Pronunciation of my name</a>
uid Property
uid - use to specify a globally unique identifier for the person. A "type" subproperty can be used
to specify the format of the identifier. The format should be in an IANA registered format.
We have covered all the properties that you can use with hCard.
Recall that the only mandatory property is fn. The rest are optional. Of course, it is to your benefit to
use as many properties as possible - the more you use, the more semantically rich your Web page is because there
is more information for Web tools to utilize.
The following slides contain additional information about hCard, and information about hCard tools.