Short URL: http://html5.org/r/6816
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 6816 | 13986 | Attempt to update to the latest vCard spec | 2011-11-03 20:47 |
Index: source
===================================================================
--- source (revision 6815)
+++ source (revision 6816)
@@ -66122,11 +66122,35 @@
name">defined property names</span>. They are based on the
vocabulary defined in the vCard specification and its extensions,
where more information on how to interpret the values can be
- found. <a href="#refsRFC2426">[RFC2426]</a> <a
- href="#refsRFC4770">[RFC4770]</a></p>
+ found. <a
+ href="#refsRFC6350">[RFC6350]</a></p>
<dl>
+ <dt><dfn title="md-vcard-kind"><code>kind</code></dfn></dt>
+
+ <dd>
+
+ <p>Describes what kind of contact the item represents.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be
+ text that, when compared in a <span>case-sensitive</span> manner,
+ is equal to one of the <span>kind strings</span>.</p>
+
+ <p>A single property with the name <code
+ title="md-vcard-kind">kind</code> may be present within each <span
+ title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+
+ <!-- XML not included since there's no good way to do it here -->
+ <!-- Note: vCard->microdata->vCard doesn't count as "propagating
+ vCards" according to Tantek, so we're not non-conforming when
+ we drop it, despite vCard's requirement -->
+
+
<dt><dfn title="md-vcard-fn"><code>fn</code></dfn></dt>
<dd>
@@ -66323,6 +66347,63 @@
</dd>
+ <dt><dfn title="md-vcard-anniversary"><code>anniversary</code></dfn></dt>
+
+ <dd>
+
+ <p>Gives the birth date of the person or organization.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be a
+ <span>valid date string</span>.</p>
+
+ <p>A single property with the name <code
+ title="md-vcard-anniversary">anniversary</code> may be present
+ within each <span title="concept-item">item</span> with the type
+ <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+
+ <dt><dfn title="md-vcard-sex"><code>sex</code></dfn></dt>
+
+ <dd>
+
+ <p>Gives the biological sex of the person.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be one of
+ <code title="">F</code>, meaning "female",
+ <code title="">M</code>, meaning "male",
+ <code title="">N</code>, meaning "none or not applicable",
+ <code title="">O</code>, meaning "other", or
+ <code title="">U</code>, meaning "unknown".</p>
+
+ <p>A single property with the name <code
+ title="md-vcard-sex">sex</code> may be present within each <span
+ title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+
+ <dt><dfn title="md-vcard-gender-identity"><code>gender-identity</code></dfn></dt>
+
+ <dd>
+
+ <p>Gives the gender identity of the person.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be
+ text.</p>
+
+ <p>A single property with the name <code
+ title="md-vcard-gender-identity">gender-identity</code> may be
+ present within each <span title="concept-item">item</span> with
+ the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+
<dt><dfn title="md-vcard-adr"><code>adr</code></dfn></dt>
<dd>
@@ -66713,23 +66794,8 @@
<p>Gives the e-mail address of the person or organization.</p>
<p>The <span title="concept-property-value">value</span> must be
- either text or an <span title="concept-item">item</span> with zero
- or more <code title="md-vcard-email-type">type</code> properties
- and exactly one <code title="md-vcard-email-value">value</code>
- property.</p>
+ text.</p>
- <p>If no <code title="md-vcard-email-type">type</code> properties
- are present within an <span title="concept-item">item</span> that
- forms the <span title="concept-property-value">value</span> of an
- <code title="md-vcard-email">email</code> property of an <span
- title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>, or if the <span
- title="concept-property-value">value</span> of such an <code
- title="md-vcard-email">email</code> property is text, then the
- <span title="e-mail type strings">e-mail type string</span> <code
- title="mv-vcard-type-email-internet">internet</code> is
- implied.</p>
-
<p>Any number of properties with the name <code
title="md-vcard-email">email</code> may be present within each
<span title="concept-item">item</span> with the type <code
@@ -66737,70 +66803,36 @@
</dd>
- <dt><dfn title="md-vcard-email-type"><code>type</code></dfn> (inside <code title="md-vcard-email">email</code>)</dt>
- <dd>
+ <dt><dfn title="md-vcard-impp"><code>impp</code></dfn></dt>
- <p>Gives the type of e-mail address.</p>
-
- <p>The <span title="concept-property-value">value</span> must be
- text that, when compared in a <span>case-sensitive</span> manner,
- is equal to one of the <span>e-mail type strings</span>.</p>
-
- <p>Within each <span title="concept-item">item</span> with the
- type <code title="md-vcard">http://microformats.org/profile/hcard</code>, there must be no more
- than one <code title="md-vcard-email">email</code> property <span
- title="concept-item">item</span> with a <code
- title="md-vcard-email-type">type</code> property whose value is
- <code title="md-vcard-type-email-pref">pref</code>.</p>
-
- <p>Any number of properties with the name <code
- title="md-vcard-email-type">type</code> may be present within the
- <span title="concept-item">item</span> that forms the <span
- title="concept-property-value">value</span> of an <code
- title="md-vcard-email">email</code> property of an <span
- title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>, but within each such <code
- title="md-vcard-email">email</code> property <span
- title="concept-item">item</span> there must only be one <code
- title="md-vcard-email-type">type</code> property per distinct
- value.</p>
-
- </dd>
-
- <dt><dfn title="md-vcard-email-value"><code>value</code></dfn> (inside <code title="md-vcard-email">email</code>)</dt>
-
<dd>
- <p>Gives the actual e-mail address of the person or
- organization.</p>
+ <p>Gives a <span>URL</span> for instant messaging and presence
+ protocol communications with the person or organization.</p>
<p>The <span title="concept-property-value">value</span> must be
- text.</p>
+ an <span>absolute URL</span>.</p>
- <p>Exactly one property with the name <code
- title="md-vcard-email-value">value</code> must be present within
- the <span title="concept-item">item</span> that forms the <span
- title="concept-property-value">value</span> of an <code
- title="md-vcard-email">email</code> property of an <span
- title="concept-item">item</span> with the type <code
+ <p>Any number of properties with the name <code
+ title="md-vcard-impp">impp</code> may be present within each
+ <span title="concept-item">item</span> with the type <code
title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
</dd>
- <dt><dfn title="md-vcard-mailer"><code>mailer</code></dfn></dt>
+ <dt><dfn title="md-vcard-lang"><code>lang</code></dfn></dt>
<dd>
- <p>Gives the name of the e-mail software used by the person or
- organization.</p>
+ <p>Gives a language understood by the person or organization.</p>
<p>The <span title="concept-property-value">value</span> must be
- text.</p>
+ a valid BCP 47 language tag. <a href="#refsBCP47">[BCP47]</a>.</p>
<p>Any number of properties with the name <code
- title="md-vcard-mailer">mailer</code> may be present within each
+ title="md-vcard-lang">lang</code> may be present within each
<span title="concept-item">item</span> with the type <code
title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
@@ -67029,6 +67061,86 @@
</dd>
+ <dt><dfn title="md-vcard-member"><code>member</code></dfn></dt>
+
+ <dd>
+
+ <p>Gives a <span>URL</span> that represents a member of the
+ group.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be
+ an <span>absolute URL</span>.</p>
+
+ <p>Any number of properties with the name <code
+ title="md-vcard-member">member</code> may be present within each
+ <span title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code> if
+ the <span title="concept-item">item</span> also has a property
+ with the name <code title="md-vcard-kind">kind</code> whose value
+ is "<code title="md-vcard-kind-group">group</code>".</p>
+
+ </dd>
+
+
+ <dt><dfn title="md-vcard-related"><code>related</code></dfn></dt>
+
+ <dd>
+
+ <p>Gives a relationship to another entity.</p>
+
+ <p>The <span title="concept-property-value">value</span> must an
+ <span title="concept-item">item</span> with one <code
+ title="md-vcard-org-related-url">url</code> property and one <code
+ title="md-vcard-org-related-rel">rel</code> properties.</p>
+
+ <p>Any number of properties with the name <code
+ title="md-vcard-related">orrelated</code> may be present within
+ each <span title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+ <dt><dfn title="md-vcard-org-related-url"><code>url</code></dfn> (inside <code title="md-vcard-related">related</code>)</dt>
+
+ <dd>
+
+ <p>Gives the <span>URL</span> for the related entity.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be
+ an <span>absolute URL</span>.</p>
+
+ <p>Exactly one property with the name <code
+ title="md-vcard-org-url">url</code> must be present within the
+ <span title="concept-item">item</span> that forms the <span
+ title="concept-property-value">value</span> of an <code
+ title="md-vcard-related">related</code> property of an <span
+ title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+ <dt><dfn title="md-vcard-org-related-rel"><code>rel</code></dfn> (inside <code title="md-vcard-related">related</code>)</dt>
+
+ <dd>
+
+ <p>Gives the relationship between the entity and the related
+ entity.</p>
+
+ <p>The <span title="concept-property-value">value</span> must be
+ text that, when compared in a <span>case-sensitive</span> manner,
+ is equal to one of the <span>relationship strings</span>.</p>
+
+ <p>Exactly one property with the name <code
+ title="md-vcard-org-rel">rel</code> must be present within the
+ <span title="concept-item">item</span> that forms the <span
+ title="concept-property-value">value</span> of an <code
+ title="md-vcard-related">related</code> property of an <span
+ title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+
+ </dd>
+
+
<dt><dfn title="md-vcard-categories"><code>categories</code></dfn></dt>
<dd>
@@ -67090,24 +67202,6 @@
</dd>
- <dt><dfn title="md-vcard-sort-string"><code>sort-string</code></dfn></dt>
-
- <dd>
-
- <p>Gives the string to be used for sorting the person or
- organization.</p>
-
- <p>The <span title="concept-property-value">value</span> must be
- text.</p>
-
- <p>Any number of properties with the name <code
- title="md-vcard-sort-string">sort-string</code> may be present
- within each <span title="concept-item">item</span> with the type
- <code title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
-
- </dd>
-
-
<dt><dfn title="md-vcard-sound"><code>sound</code></dfn></dt>
<dd>
@@ -67143,6 +67237,9 @@
</dd>
+ <!-- CLIENTPIDMAP not included since the global parameters are not included -->
+
+
<dt><dfn title="md-vcard-url"><code>url</code></dfn></dt>
<dd>
@@ -67161,124 +67258,39 @@
</dd>
- <!-- VERSION not included - always 3.0 -->
+ <!-- VERSION not included - always 4.0 -->
+ <!-- KEY not included - no way to include binary data at this time -->
- <dt><dfn title="md-vcard-class"><code>class</code></dfn></dt>
+ <!-- FBURL, CALADRURI, CALURI not included - unclear how calendars would be exposed on the web -->
- <dd>
+ </dl>
- <p>Gives the access classification of the information regarding
- the person or organization.</p>
+ <p>The <dfn>kind strings</dfn> are:</p>
- <p>The <span title="concept-property-value">value</span> must be
- text with one of the following values:</p>
+ <dl>
- <ul class="brief">
- <li><code title="">public</code></li>
- <li><code title="">private</code></li>
- <li><code title="">confidential</code></li>
- </ul>
-
- <p class="warning">This is merely advisory and cannot be
- considered a confidentiality measure.</p>
-
- <p>Any number of properties with the name <code
- title="md-vcard-class">class</code> may be present
- within each <span title="concept-item">item</span> with the type
- <code title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
-
+ <dt><dfn title="md-vcard-kind-individual"><code>individual</code></dfn></dt>
+ <dd>
+ <p>Indicates a single entity (e.g. a person).</p>
</dd>
-
- <!-- KEY not included - no way to include binary data at this time -->
-
-
- <!-- IMPP is from RFC4770 -->
-
- <dt><dfn title="md-vcard-impp"><code>impp</code></dfn></dt>
-
+ <dt><dfn title="md-vcard-kind-group"><code>group</code></dfn></dt>
<dd>
-
- <p>Gives a <span>URL</span> for instant messaging and presence
- protocol communications with the person or organization.</p>
-
- <p>The <span title="concept-property-value">value</span> must be
- either an <span>absolute URL</span> or an <span
- title="concept-item">item</span> with zero or more <code
- title="md-vcard-impp-type">type</code> properties and exactly one
- <code title="md-vcard-impp-value">value</code> property.</p>
-
- <p>If no <code title="md-vcard-impp-type">type</code> properties
- are present within an <span title="concept-item">item</span> that
- forms the <span title="concept-property-value">value</span> of an
- <code title="md-vcard-impp">impp</code> property of an <span
- title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>, or if the <span
- title="concept-property-value">value</span> of such an <code
- title="md-vcard-impp">impp</code> property is an <span>absolute
- URL</span>, then no <span>IMPP type strings</span> are
- implied.</p>
-
- <p>Any number of properties with the name <code
- title="md-vcard-impp">impp</code> may be present within each
- <span title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
-
+ <p>Indicates multiple entities (e.g. a mailing list).</p>
</dd>
- <dt><dfn title="md-vcard-impp-type"><code>type</code></dfn> (inside <code title="md-vcard-impp">impp</code>)</dt>
-
+ <dt><dfn title="md-vcard-kind-org"><code>org</code></dfn></dt>
<dd>
-
- <p>Gives the intended use of the IMPP <span>URL</span>.</p>
-
- <p>The <span title="concept-property-value">value</span> must be
- text that, when compared in a <span>case-sensitive</span> manner,
- is equal to one of the <span>IMPP type strings</span>.</p>
-
- <p>Within each <span title="concept-item">item</span> with the
- type <code title="md-vcard">http://microformats.org/profile/hcard</code>, there must be no more
- than one <code title="md-vcard-impp">impp</code> property <span
- title="concept-item">item</span> with a <code
- title="md-vcard-impp-type">type</code> property whose value is
- <code title="md-vcard-type-impp-pref">pref</code>.</p>
-
- <p>Any number of properties with the name <code
- title="md-vcard-impp-type">type</code> may be present within the
- <span title="concept-item">item</span> that forms the <span
- title="concept-property-value">value</span> of an <code
- title="md-vcard-impp">impp</code> property of an <span
- title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>, but within each such <code
- title="md-vcard-impp">impp</code> property <span
- title="concept-item">item</span> there must only be one <code
- title="md-vcard-impp-type">type</code> property per distinct
- value.</p>
-
+ <p>Indicates a single entity that is not a person (e.g. a company).</p>
</dd>
- <dt><dfn title="md-vcard-impp-value"><code>value</code></dfn> (inside <code title="md-vcard-impp">impp</code>)</dt>
-
+ <dt><dfn title="md-vcard-kind-location"><code>location</code></dfn></dt>
<dd>
-
- <p>Gives the actual <span>URL</span> for instant messaging and
- presence protocol communications with the person or
- organization.</p>
-
- <p>The <span title="concept-property-value">value</span> must be
- an <span>absolute URL</span>.</p>
-
- <p>Exactly one property with the name <code
- title="md-vcard-impp-value">value</code> must be present within
- the <span title="concept-item">item</span> that forms the <span
- title="concept-property-value">value</span> of an <code
- title="md-vcard-impp">impp</code> property of an <span
- title="concept-item">item</span> with the type <code
- title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
-
+ <p>Indicates a geographical place (e.g. an office building).</p>
</dd>
+ <!-- update this when http://www.iana.org/assignments/vcard-elements/vcard-elements.xml#property-values is updated -->
</dl>
@@ -67286,26 +67298,6 @@
<dl>
- <dt><dfn title="md-vcard-type-adr-dom"><code>dom</code></dfn></dt>
- <dd>
- <p>Indicates a domestic delivery address.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-adr-intl"><code>intl</code></dfn></dt>
- <dd>
- <p>Indicates an international delivery address.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-adr-postal"><code>postal</code></dfn></dt>
- <dd>
- <p>Indicates a postal delivery address.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-adr-parcel"><code>parcel</code></dfn></dt>
- <dd>
- <p>Indicates a parcel delivery address.</p>
- </dd>
-
<dt><dfn title="md-vcard-type-adr-home"><code>home</code></dfn></dt>
<dd>
<p>Indicates a residential delivery address.</p>
@@ -67316,14 +67308,6 @@
<p>Indicates a delivery address for a place of work.</p>
</dd>
- <dt><dfn title="md-vcard-type-adr-pref"><code>pref</code></dfn></dt>
- <dd>
-
- <p>Indicates the preferred delivery address when multiple
- addresses are specified.</p>
-
- </dd>
-
</dl>
<p>The <dfn>telephone type strings</dfn> are:</p>
@@ -67335,14 +67319,14 @@
<p>Indicates a residential number.</p>
</dd>
- <dt><dfn title="md-vcard-type-tel-msg"><code>msg</code></dfn></dt>
+ <dt><dfn title="md-vcard-type-tel-work"><code>work</code></dfn></dt>
<dd>
- <p>Indicates a telephone number with voice messaging support.</p>
+ <p>Indicates a telephone number for a place of work.</p>
</dd>
- <dt><dfn title="md-vcard-type-tel-work"><code>work</code></dfn></dt>
+ <dt><dfn title="md-vcard-type-tel-text"><code>text</code></dfn></dt>
<dd>
- <p>Indicates a telephone number for a place of work.</p>
+ <p>Indicates that the telephone number supports text messages (SMS).</p>
</dd>
<dt><dfn title="md-vcard-type-tel-voice"><code>voice</code></dfn></dt>
@@ -67370,93 +67354,53 @@
<p>Indicates a paging device telephone number.</p>
</dd>
- <dt><dfn title="md-vcard-type-tel-bbs"><code>bbs</code></dfn></dt>
+ <dt><dfn title="md-vcard-type-tel-textphone"><code>textphone</code></dfn></dt>
<dd>
- <p>Indicates a bulletin board system telephone number.</p>
+ <p>Indicates a telecommunication device for people with hearing or speech difficulties.</p>
</dd>
- <dt><dfn title="md-vcard-type-tel-modem"><code>modem</code></dfn></dt>
- <dd>
- <p>Indicates a MODEM-connected telephone number.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-tel-car"><code>car</code></dfn></dt>
- <dd>
- <p>Indicates a car-phone telephone number.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-tel-isdn"><code>isdn</code></dfn></dt>
- <dd>
- <p>Indicates an ISDN service telephone number.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-tel-pcs"><code>pcs</code></dfn></dt>
- <dd>
- <p>Indicates a personal communication services telephone number.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-tel-pref"><code>pref</code></dfn></dt>
- <dd>
-
- <p>Indicates the preferred telephone number when multiple
- telephone numbers are specified.</p>
-
- </dd>
-
</dl>
- <p>The <dfn>e-mail type strings</dfn> are:</p>
+ <p>The <dfn>relationship strings</dfn> are:</p>
<dl>
- <dt><dfn title="md-vcard-type-email-internet"><code>internet</code></dfn></dt>
+ <dt><dfn title="md-vcard-rel-emergency"><code>emergency</code></dfn></dt>
<dd>
- <p>Indicates an Internet e-mail address.</p>
+ <p>An emergency contact.</p>
</dd>
- <dt><dfn title="md-vcard-type-email-x400"><code>x400</code></dfn></dt>
+ <dt><dfn title="md-vcard-rel-agent"><code>agent</code></dfn></dt>
<dd>
- <p>Indicates an X.400 addressing type.</p>
+ <p>Another entity that acts on behalf of this entity.</p>
</dd>
- <dt><dfn title="md-vcard-type-email-pref"><code>pref</code></dfn></dt>
+ <dt><dfn title="md-vcard-rel-contact">contact</dfn></dt>
+ <dt><dfn title="md-vcard-rel-acquaintance">acquaintance</dfn></dt>
+ <dt><dfn title="md-vcard-rel-friend">friend</dfn></dt>
+ <dt><dfn title="md-vcard-rel-met">met</dfn></dt>
+ <dt><dfn title="md-vcard-rel-co-worker">worker</dfn></dt>
+ <dt><dfn title="md-vcard-rel-colleague">colleague</dfn></dt>
+ <dt><dfn title="md-vcard-rel-co-resident">resident</dfn></dt>
+ <dt><dfn title="md-vcard-rel-neighbor">neighbor</dfn></dt>
+ <dt><dfn title="md-vcard-rel-child">child</dfn></dt>
+ <dt><dfn title="md-vcard-rel-parent">parent</dfn></dt>
+ <dt><dfn title="md-vcard-rel-sibling">sibling</dfn></dt>
+ <dt><dfn title="md-vcard-rel-spouse">spouse</dfn></dt>
+ <dt><dfn title="md-vcard-rel-kin">kin</dfn></dt>
+ <dt><dfn title="md-vcard-rel-muse">muse</dfn></dt>
+ <dt><dfn title="md-vcard-rel-crush">crush</dfn></dt>
+ <dt><dfn title="md-vcard-rel-date">date</dfn></dt>
+ <dt><dfn title="md-vcard-rel-sweetheart">sweetheart</dfn></dt>
+ <dt><dfn title="md-vcard-rel-me">me</dfn></dt>
<dd>
-
- <p>Indicates the preferred e-mail address when multiple e-mail
- addresses are specified.</p>
-
+ <p>Has the meaning defined in XFN. <a href="#refsXFN">[XFN]</a></p>
</dd>
+ <!-- update this when http://www.iana.org/assignments/vcard-elements/vcard-elements.xml#parameter-values is updated -->
</dl>
- <p>The <dfn>IMPP type strings</dfn> are:</p>
- <dl>
-
- <dt><dfn title="md-vcard-type-impp-personal"><code>personal</code></dfn></dt>
- <dt><dfn title="md-vcard-type-impp-business"><code>business</code></dfn></dt>
- <dd>
- <p>Indicates the type of communication for which this IMPP
- <span>URL</span> is appropriate.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-impp-home"><code>home</code></dfn></dt>
- <dt><dfn title="md-vcard-type-impp-work"><code>work</code></dfn></dt>
- <dt><dfn title="md-vcard-type-impp-mobile"><code>mobile</code></dfn></dt>
- <dd>
- <p>Indicates the location of a device associated with this IMPP
- <span>URL</span>.</p>
- </dd>
-
- <dt><dfn title="md-vcard-type-impp-pref"><code>pref</code></dfn></dt>
- <dd>
- <p>Indicates the preferred address when multiple IMPP
- <span>URL</span>s are specified.</p>
- </dd>
-
- </dl>
-
-
<h5>Conversion to vCard</h5>
<p>Given a list of nodes <var title="">nodes</var> in a
@@ -67490,7 +67434,7 @@
title="">VCARD</code>" to <var title="">output</var>.</p></li>
<li><p><span>Add a vCard line</span> with the type "<code
- title="">VERSION</code>" and the value "<code title="">3.0</code>"
+ title="">VERSION</code>" and the value "<code title="">4.0</code>"
to <var title="">output</var>.</p></li>
<li><p><span>Add a vCard line</span> with the type "<code
@@ -67505,6 +67449,11 @@
of <span>the <code>title</code> element</span> as the value to <var
title="">output</var>.</p></li>
+ <li><p>Let <var title="">sex</var> be the empty string.</p></li>
+
+ <li><p>Let <var title="">gender-identity</var> be the empty
+ string.</p></li>
+
<li>
<p>For each element <var title="">element</var> that is <span
@@ -67718,31 +67667,38 @@
with the <span title="item types">item type</span> <code
title="md-vcard">http://microformats.org/profile/hcard</code>
and <var title="">name</var> is <code
- title="md-vcard-agent">agent</code></dt>
+ title="md-vcard-related">related</code></dt>
<dd>
<ol>
- <li>
+ <li><p>Let <var title="">value</var> be the empty
+ string.</p></li>
- <p>If the user agent is already attempting to <span
- title="extracting a vCard">extract a vCard</span> from the
- element that represents <var title="">subitem</var>, then
- let <var title="">value</var> be the string "<code
- title="">ERROR</code>".</p>
-
- <p>Otherwise, let <var title="">value</var> be the result of
- <span>escaping the vCard text string</span> obtained from
- <span>extracting a vCard</span> from the element that
- represents <var title="">subitem</var>.</p>
-
- </li>
-
- <li><p>Add a parameter named "<code title="">VALUE</code>"
- whose value is "<code title="">VCARD</code>" to <var
+ <li><p>If there is a property named <code
+ title="md-vcard-related-url">url</code> in <var
+ title="">subitem</var>, and its element is a <span title="URL
+ property elements">URL property element</span>, then append
+ the result of <span>escaping the vCard text string</span>
+ given by the <span
+ title="concept-property-value">value</span> of the first such
+ property to <var title="">value</var>, and add a parameter
+ with the name "<code title="">VALUE</code>" and the value
+ "<code title="">URI</code>" to <var
title="">parameters</var>.</p></li>
+ <li><p>If there is a property named <code
+ title="md-vcard-related-rel">rel</code> in <var
+ title="">subitem</var>, and the first such property has a
+ <span title="concept-property-value">value</span> that is not
+ an <span title="concept-item">item</span> and whose value
+ consists only of <span>alphanumeric ASCII characters</span>,
+ then add a parameter named "<code title="">RELATION</code>"
+ whose value is the <span
+ title="concept-property-value">value</span> of that property
+ to <var title="">parameters</var>.</p></li>
+
</ol>
</dd>
@@ -67752,6 +67708,8 @@
title="concept-item">item</span> and <var title="">name</var>
is none of the above</dt>
+ <!-- tel, adr -->
+
<dd>
<ol>
@@ -67776,6 +67734,37 @@
</dd>
+
+ <dt>If the property's <span
+ title="concept-property-value">value</span> is not an <span
+ title="concept-item">item</span> and its <var
+ title="">name</var> is <code
+ title="md-vcard-sex">sex</code></dt>
+
+ <dd>
+
+ <p>If this is the first such property to be found, set <var
+ title="">sex</var> to the property's <span
+ title="concept-property-value">value</span>.</p>
+
+ </dd>
+
+
+ <dt>If the property's <span
+ title="concept-property-value">value</span> is not an <span
+ title="concept-item">item</span> and its <var
+ title="">name</var> is <code
+ title="md-vcard-gender-identity">gender-identity</code></dt>
+
+ <dd>
+
+ <p>If this is the first such property to be found, set <var
+ title="">gender-identity</var> to the property's <span
+ title="concept-property-value">value</span>.</p>
+
+ </dd>
+
+
<dt>Otherwise (the property's <span
title="concept-property-value">value</span> is not an <span
title="concept-item">item</span>)</dt>
@@ -67794,14 +67783,15 @@
title="">parameters</var>.</p></li>
<li><p>Otherwise, if <var title="">name</var> is <code
- title="md-vcard-bday">bday</code> and the <var
+ title="md-vcard-bday">bday</code> or <code
+ title="md-vcard-anniversary">anniversary</code> and the <var
title="">value</var> is a <span>valid date string</span>, add
a parameter with the name "<code title="">VALUE</code>" and
the value "<code title="">DATE</code>" to <var
title="">parameters</var>.</p></li>
<li><p>Otherwise, if <var title="">name</var> is <code
- title="md-vcard-bday">rev</code> and the <var
+ title="md-vcard-rev">rev</code> and the <var
title="">value</var> is a <span>valid global date and time
string</span>, add a parameter with the name "<code
title="">VALUE</code>" and the value "<code
@@ -67852,6 +67842,14 @@
</li>
+ <li><p>If either of <var title="">sex</var> or <var
+ title="">gender-identity</var> have a value that is not the empty
+ string, <span>add a vCard line</span> with the type "<code
+ title="">GENDER</code>" and the value consisting of the
+ concatenation of <var title="">sex</var>, a U+003B SEMICOLON
+ character (;), and <var title="">gender-identity</var> to <var
+ title="">output</var>.</p></li>
+
<li><p><span>Add a vCard line</span> with the type "<code
title="">END</code>" and the value "<code title="">VCARD</code>"
to <var title="">output</var>.</p></li>
@@ -68085,7 +68083,7 @@
<ul>
<li itemprop="tel" itemscope>
<span itemprop="value">+1 (310) 597 3781</span> <span itemprop="type">work</span>
- <meta itemprop="type" content="pref">
+ <meta itemprop="type" content="voice">
</li>
<li><a itemprop="url" href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on Wikipedia</a>
so you can leave a message on my user talk page.</li>
@@ -68096,19 +68094,8 @@
<meta itemprop="type" content="cell">mobile phone</span>
</li>
</ul>
- <p itemprop="note">If I'm out in the field, you may be better off contacting <span
- itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
- itemprop="email" href="mailto:c.obrian@la.ctu.gov.invalid"><span
- itemprop="fn"><span itemprop="n" itemscope><span
- itemprop="given-name">Chloe</span> <span
- itemprop="family-name">O'Brian</span></span></span></a></span>
- if it's about work, or ask <span itemprop="agent">Tony Almeida</span>
- if you're interested in the CTU five-a-side football team we're trying to get going.</p>
<ins datetime="2008-07-20T21:00:00+01:00">
- <span itemprop="rev" itemscope>
- <meta itemprop="type" content="date-time">
- <meta itemprop="value" content="2008-07-20T21:00:00+01:00">
- </span>
+ <meta itemprop="rev" content="2008-07-20T21:00:00+01:00">
<p itemprop="tel" itemscope><strong>Update!</strong>
My new <span itemprop="type">home</span> phone number is
<span itemprop="value">01632 960 123</span>.</p>
@@ -68159,7 +68146,7 @@
<pre>BEGIN:VCARD
PROFILE:VCARD
-VERSION:3.0
+VERSION:4.0
SOURCE:<var title="">document's address</var>
FN:George Washington
N:Washington;George;;;
@@ -79846,19 +79833,17 @@
method allows Web sites to register themselves as possible handlers
for particular schemes. For example, an online telephone messaging
service could register itself as a handler of the <code>sms:</code>
- scheme (<a href="#refsRFC5724">[RFC5724]</a>), so that if the user
- clicks on such a link, he is given the opportunity to use that Web
- site. Analogously, the <dfn
+ scheme, so that if the user clicks on such a link, he is given the
+ opportunity to use that Web site. Analogously, the <dfn
title="dom-navigator-registerContentHandler"><code>registerContentHandler()</code></dfn>
method allows Web sites to register themselves as possible handlers
for content in a particular <span>MIME type</span>. For example, the
same online telephone messaging service could register itself as a
- handler for <code>text/directory</code> files (<a
- href="#refsRFC2425">[RFC2425]</a>), so that if the user has no
- native application capable of handling vCards (<a
- href="#refsRFC2426">[RFC2426]</a>), his Web browser can instead
- suggest he use that site to view contact information stored on
- vCards that he opens.</p>
+ handler for <code>text/vcard</code> files, so that if the user has
+ no native application capable of handling vCards, his Web browser
+ can instead suggest he use that site to view contact information
+ stored on vCards that he opens. <a href="#refsRFC5724">[RFC5724]</a>
+ <a href="#refsRFC6350">RFC6350</a></p>
<dl class="domintro">
@@ -115399,15 +115384,6 @@
<dd><cite><a href="http://tools.ietf.org/html/rfc2397">The "data"
URL scheme</a></cite>, L. Masinter. IETF.</dd>
- <dt id="refsRFC2425">[RFC2425]</dt>
- <dd><cite><a href="http://tools.ietf.org/html/rfc2425">A MIME
- Content-Type for Directory Information</a></cite>, T. Howes,
- M. Smith, F. Dawson. IETF.</dd>
-
- <dt id="refsRFC2426">[RFC2426]</dt>
- <dd><cite><a href="http://tools.ietf.org/html/rfc2426">vCard MIME Directory
- Profile</a></cite>, F. Dawson, T. Howes. IETF.</dd>
-
<dt id="refsRFC2445">[RFC2445]</dt>
<dd><cite><a href="http://tools.ietf.org/html/rfc2445">Internet Calendaring
and Scheduling Core Object Specification (iCalendar)</a></cite>, F. Dawson, D.
@@ -115509,6 +115485,9 @@
<dt id="refsRFC6266">[RFC6266]</dt>
<dd><cite><a href="http://tools.ietf.org/html/rfc6266">Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)</a></cite>, J. Reschke. IETF.</dd>
+ <dt id="refsRFC6350">[RFC6350]</dt>
+ <dd><cite><a href="http://tools.ietf.org/html/rfc6350">vCard Format Specification</a></cite>, S. Perreault. IETF.</dd>
+
<dt id="refsSCSU">[SCSU]</dt>
<dd>(Non-normative) <cite><a
href="http://www.unicode.org/reports/tr6/">UTR #6: A Standard
@@ -115689,6 +115668,9 @@
Rules (CER), and Distinguished Encoding Rules
(DER)</a></cite>. International Telecommunication Union.</dd>
+ <dt id="refsXFN">[XFN]</dt>
+ <dd><cite><a href="http://gmpg.org/xfn/11">XFN 1.1 profile</a></cite>, T. Çelik, M. Mullenweg, E. Meyer. GMPG.</dd>
+
<dt id="refsXHR">[XHR]</dt>
<!--
<dd><cite><a href="http://www.w3.org/TR/XMLHttpRequest/">The XMLHttpRequest