mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-01 05:32:15 -05:00
0.0.4
This commit is contained in:
parent
52fd0441e1
commit
c8d9b677aa
@ -31,6 +31,12 @@
|
|||||||
<jid>samizzi@cisco.com</jid>
|
<jid>samizzi@cisco.com</jid>
|
||||||
</author>
|
</author>
|
||||||
&stpeter;
|
&stpeter;
|
||||||
|
<revision>
|
||||||
|
<version>0.0.4</version>
|
||||||
|
<date>2011-02-25</date>
|
||||||
|
<initials>psa</initials>
|
||||||
|
<remark><p>Corrected some errors in the examples.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.0.3</version>
|
<version>0.0.3</version>
|
||||||
<date>2011-02-12</date>
|
<date>2011-02-12</date>
|
||||||
@ -51,14 +57,14 @@
|
|||||||
</revision>
|
</revision>
|
||||||
</header>
|
</header>
|
||||||
<section1 topic='Introduction' anchor='intro'>
|
<section1 topic='Introduction' anchor='intro'>
|
||||||
<p>Since 1999, the Jabber/XMPP community has used an interim, unofficial XML representation of vCard data for personal contacts. Recently, the IETF has upgraded vCard from version 3 to version 4, and at the same time has defined an official XML format for vCard4. This document specifies an XMPP extension for use of the vCard4 XML format in XMPP systems, with the intent of obsoleting the vcard-temp format. Primarily this document defines the encapsulation method itself; secondarily it also defines transport methods and a mapping to the vcard-temp format for migration by clients and servers.</p>
|
<p>Since 1999, the Jabber/XMPP community has used an interim, unofficial XML representation of vCard data for personal contacts, called &xep0054;. Recently, the IETF has upgraded vCard from vCard3 to &vcardrev;, and at the same time has defined &vcardxml; as an official XML format for vCard4. This document specifies an XMPP extension for use of the vCard4 XML format in XMPP systems, with the intent of obsoleting the vcard-temp format. Primarily this document defines the encapsulation method itself; secondarily it also defines transport methods and a mapping to the vcard-temp format for migration by clients and servers.</p>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Requirements' anchor='reqs'>
|
<section1 topic='Requirements' anchor='reqs'>
|
||||||
<p>This specification was designed with the following documents in mind.</p>
|
<p>This specification was designed with the following documents in mind.</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Reuse vCard4 as defined in &vcardrev;.</li>
|
<li>Reuse vCard4 as defined in draft-ietf-vcarddav-vcardrev.</li>
|
||||||
<li>Reuse the vCard4 XML format as defined in &vcardxml;.</li>
|
<li>Reuse the vCard4 XML format as defined in draft-ietf-vcarddav-vcardxml.</li>
|
||||||
<li>Ensure that clients and servers can easily migrate from &xep0054; to the new encapsulation format.</li>
|
<li>Ensure that clients and servers can easily migrate from vcard-temp to the new encapsulation format.</li>
|
||||||
<li>Notify interested parties of changes to vCard data using standard XMPP extensions, specifically &xep0163;.</li>
|
<li>Notify interested parties of changes to vCard data using standard XMPP extensions, specifically &xep0163;.</li>
|
||||||
<li>Enable XMPP servers to store vCard4 XML data in LDAP directories if desired.</li>
|
<li>Enable XMPP servers to store vCard4 XML data in LDAP directories if desired.</li>
|
||||||
</ol>
|
</ol>
|
||||||
@ -71,7 +77,7 @@
|
|||||||
</section1>
|
</section1>
|
||||||
<section1 topic='PubSub Binding' anchor='pubsub'>
|
<section1 topic='PubSub Binding' anchor='pubsub'>
|
||||||
<section2 topic='Location' anchor='pubsub-location'>
|
<section2 topic='Location' anchor='pubsub-location'>
|
||||||
<p>When the &xep0163; "flavor" of XMPP publish-subscribe is used, the canonical location for a user's vCard is a pubsub node whose name is "urn:ietf:params:xml:ns:vcard-4.0". For instance, if the Shakespearean character Romeo has a JabberID of 'romeo@montague.lit' then his vCard would be located at that JID with a node of "urn:ietf:params:xml:ns:vcard-4.0".</p>
|
<p>When the Personal Eventing Protocol (PEP) "flavor" of XMPP publish-subscribe is used, the canonical location for a user's vCard is a pubsub node whose name is "urn:ietf:params:xml:ns:vcard-4.0". For instance, if the Shakespearean character Romeo has a JabberID of 'romeo@montague.lit' then his vCard would be located at that JID with a node of "urn:ietf:params:xml:ns:vcard-4.0".</p>
|
||||||
<p>When "raw" &xep0060; is used, the location is a generic publish-subscribe node that is not attached to an user's IM account.</p>
|
<p>When "raw" &xep0060; is used, the location is a generic publish-subscribe node that is not attached to an user's IM account.</p>
|
||||||
<p>Use of PEP is RECOMMENDED to simplify the process of discovering and subscribing to the vCard information.</p>
|
<p>Use of PEP is RECOMMENDED to simplify the process of discovering and subscribing to the vCard information.</p>
|
||||||
</section2>
|
</section2>
|
||||||
@ -92,8 +98,8 @@
|
|||||||
type='set'>
|
type='set'>
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
<publish node='urn:ietf:param:xml:ns:vcard-4.0'>
|
<publish node='urn:ietf:param:xml:ns:vcard-4.0'>
|
||||||
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
|
<item>
|
||||||
<vcard>
|
<vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
|
||||||
<fn><text>Romeo Montague</text></fn>
|
<fn><text>Romeo Montague</text></fn>
|
||||||
<n>
|
<n>
|
||||||
<surname><text>Montague</text></surname>
|
<surname><text>Montague</text></surname>
|
||||||
@ -107,7 +113,7 @@
|
|||||||
<anniversary>
|
<anniversary>
|
||||||
<date-time>15000808T1430-0500</date-time>
|
<date-time>15000808T1430-0500</date-time>
|
||||||
</anniversary>
|
</anniversary>
|
||||||
<sex><integer>0</integer></sex>
|
<gender><text>male</text></gender>
|
||||||
<org>
|
<org>
|
||||||
<parameters><type>love</type></parameters>
|
<parameters><type>love</type></parameters>
|
||||||
<text>Juliet</text>
|
<text>Juliet</text>
|
||||||
@ -124,9 +130,7 @@
|
|||||||
</email>
|
</email>
|
||||||
<class><text>PUBLIC</text></class>
|
<class><text>PUBLIC</text></class>
|
||||||
</vcard>
|
</vcard>
|
||||||
</vcards>
|
</item>
|
||||||
<published>2010-11-08T18:30:02Z</published>
|
|
||||||
<updated>2010-11-08T18:30:02Z</updated>
|
|
||||||
</publish>
|
</publish>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</iq>
|
</iq>
|
||||||
@ -140,8 +144,8 @@
|
|||||||
type='headline'>
|
type='headline'>
|
||||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
<items node='urn:ietf:param:xml:ns:vcard-4.0'>
|
<items node='urn:ietf:param:xml:ns:vcard-4.0'>
|
||||||
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
|
<item id='foobar'>
|
||||||
<vcard>
|
<vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
|
||||||
<fn><text>Romeo Montague</text></fn>
|
<fn><text>Romeo Montague</text></fn>
|
||||||
<n>
|
<n>
|
||||||
<surname><text>Montague</text></surname>
|
<surname><text>Montague</text></surname>
|
||||||
@ -155,7 +159,7 @@
|
|||||||
<anniversary>
|
<anniversary>
|
||||||
<date-time>15000808T1430-0500</date-time>
|
<date-time>15000808T1430-0500</date-time>
|
||||||
</anniversary>
|
</anniversary>
|
||||||
<sex><integer>0</integer></sex>
|
<gender><text>male</text></gender>
|
||||||
<org>
|
<org>
|
||||||
<parameters><type>love</type></parameters>
|
<parameters><type>love</type></parameters>
|
||||||
<text>Juliet</text>
|
<text>Juliet</text>
|
||||||
@ -172,9 +176,7 @@
|
|||||||
</email>
|
</email>
|
||||||
<class><text>PUBLIC</text></class>
|
<class><text>PUBLIC</text></class>
|
||||||
</vcard>
|
</vcard>
|
||||||
</vcards>
|
</item>
|
||||||
<published>2010-05-08T18:30:02Z</published>
|
|
||||||
<updated>2010-05-08T18:30:02Z</updated>
|
|
||||||
</items>
|
</items>
|
||||||
</event>
|
</event>
|
||||||
</message>
|
</message>
|
||||||
|
Loading…
Reference in New Issue
Block a user