hcard-cheatsheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
**class="''agent''" | **class="''agent''" | ||
**class="[[hcard-singular-properties#bday|bday]]" (ISO date) | **class="[[hcard-singular-properties#bday|bday]]" (ISO date) | ||
**class="[[hcard-singular-properties#class|class]]" | **class="[[hcard-singular-properties#class|class]]" – confidentiality/access classification of the hCard | ||
**class="''category''" | **class="''category''" | ||
**class="''email''" | **class="''email''" | ||
Line 44: | Line 44: | ||
***class="type" [home|work|pref|fax|cell|pager] | ***class="type" [home|work|pref|fax|cell|pager] | ||
***class="value" | ***class="value" | ||
**class="[[hcard-singular-properties#tz|tz]]" | **class="[[hcard-singular-properties#tz|tz]]" – timezone of the person | ||
**class="[[hcard-singular-properties#uid|uid]]" | **class="[[hcard-singular-properties#uid|uid]]" – datetime of the revision of the hCard | ||
**class="''url''" | **class="''url''" | ||
Line 55: | Line 55: | ||
::[common list of values] | ::[common list of values] | ||
::(data format) | ::(data format) | ||
---- | |||
* <code>URL</code> in vCard becomes <code><a class="url" href="...">...</a></code> inside the element with <code>class="vcard"</code> in hCard. | |||
* Similarly, <code>EMAIL</code> in vCard becomes <code><nowiki><a class="email" href="mailto:...">...</a></nowiki></code> | |||
* <code>PHOTO</code> in vCard becomes <code><img class="photo" src="..." alt="Photo of ..." /></code> or <code><object class="photo" data="..." type="...">Photo of ...</object></code> | |||
* <code>UID</code> in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard. |
Revision as of 22:04, 26 November 2006
- class="vcard"
- class="adr"
- class="type" [work|home|pref|postal|dom|intl]
- class="post-office-box"
- class="street-address"
- class="extended-address"
- class="region"
- class="locality"
- class="postal-code"
- class="country-name"
- class="agent"
- class="bday" (ISO date)
- class="class" – confidentiality/access classification of the hCard
- class="category"
- class="email"
- class="type"
- class="value"
- class="fn"
- class="geo"
- class="latitude"
- class="longitude"
- class="key"
- class="label"
- class="logo"
- class="mailer"
- class="n"
- class="honorific-prefix"
- class="given-name"
- class="additional-name"
- class="family-name"
- class="honorific-suffix"
- class="nickname"
- class="note"
- class="org"
- class="organization-name"
- class="organization-unit"
- class="photo"
- class="rev"
- class="role"
- class="sort-string"
- class="sound"
- class="title"
- class="tel"
- class="type" [home|work|pref|fax|cell|pager]
- class="value"
- class="tz" – timezone of the person
- class="uid" – datetime of the revision of the hCard
- class="url"
- class="adr"
- Key
- Single occurrence required
- One or more, required
- single occurrence optional
- zero or more occurrence
- [common list of values]
- (data format)
URL
in vCard becomes<a class="url" href="...">...</a>
inside the element withclass="vcard"
in hCard.- Similarly,
EMAIL
in vCard becomes<a class="email" href="mailto:...">...</a>
PHOTO
in vCard becomes<img class="photo" src="..." alt="Photo of ..." />
or<object class="photo" data="..." type="...">Photo of ...</object>
UID
in vCard simply becomes another semantic applied to a specific URL (or EMAIL) for an hCard.