No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0292.xml 72KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  3. <!ENTITY % ents SYSTEM 'xep.ent'>
  4. %ents;
  5. ]>
  6. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  7. <xep>
  8. <header>
  9. <title>vCard4 Over XMPP</title>
  10. <abstract>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.</abstract>
  11. &LEGALNOTICE;
  12. <number>0292</number>
  13. <status>Deferred</status>
  14. <type>Standards Track</type>
  15. <sig>Standards</sig>
  16. <approver>Council</approver>
  17. <dependencies>
  18. <spec>XMPP Core</spec>
  19. <spec>RFC 6350</spec>
  20. <spec>RFC 6351</spec>
  21. </dependencies>
  22. <supersedes>
  23. <spec>XEP-0054</spec>
  24. </supersedes>
  25. <supersededby/>
  26. <shortname>NOT_YET_ASSIGNED</shortname>
  27. &stpeter;
  28. <author>
  29. <firstname>Samantha</firstname>
  30. <surname>Mizzi</surname>
  31. <email>samizzi@cisco.com</email>
  32. <jid>samizzi@cisco.com</jid>
  33. </author>
  34. <revision>
  35. <version>0.10</version>
  36. <date>2013-09-12</date>
  37. <initials>psa</initials>
  38. <remark><p>Added information about determining support; corrected the XSLT; corrected data: URL example and added reference to RFC 2397; corrected mapping of middle name property.</p></remark>
  39. </revision>
  40. <revision>
  41. <version>0.9</version>
  42. <date>2011-10-09</date>
  43. <initials>psa</initials>
  44. <remark><p>Described how to use the vCard format for storing private data about one's contacts; added XMPP Registrar considerations.</p></remark>
  45. </revision>
  46. <revision>
  47. <version>0.8</version>
  48. <date>2011-08-31</date>
  49. <initials>psa</initials>
  50. <remark><p>Updated to reflect RFC 6350, RFC 6351, and draft-ietf-vcarddav-kind-app.</p></remark>
  51. </revision>
  52. <revision>
  53. <version>0.7</version>
  54. <date>2011-07-10</date>
  55. <initials>psa</initials>
  56. <remark><p>Updated to reflect draft-saintandre-vcarddav-thing-02.</p></remark>
  57. </revision>
  58. <revision>
  59. <version>0.6</version>
  60. <date>2011-06-27</date>
  61. <initials>sm/psa</initials>
  62. <remark><p>Clarified status of VERSION and TZ properties.</p></remark>
  63. </revision>
  64. <revision>
  65. <version>0.5</version>
  66. <date>2011-06-24</date>
  67. <initials>psa</initials>
  68. <remark><p>Corrected XSLT script; provided detailed examples of the vcard-temp and vCard4 XML formats.</p></remark>
  69. </revision>
  70. <revision>
  71. <version>0.4</version>
  72. <date>2011-06-20</date>
  73. <initials>psa</initials>
  74. <remark><p>Defined provisional mapping from vcard-temp to vCard4.</p></remark>
  75. </revision>
  76. <revision>
  77. <version>0.3</version>
  78. <date>2011-04-07</date>
  79. <initials>psa</initials>
  80. <remark><p>Updated to track base vCard4 specs; defined IQ transport, with pubsub for notifications; added examples for server vCards; described several problematic aspects of mapping from vcard-temp.</p></remark>
  81. </revision>
  82. <revision>
  83. <version>0.2</version>
  84. <date>2011-04-07</date>
  85. <initials>psa</initials>
  86. <remark><p>Updated to track base vCard4 specs; defined IQ transport, with pubsub for notifications; added examples for server vCards; specified mapping from vcard-temp.</p></remark>
  87. </revision>
  88. <revision>
  89. <version>0.1</version>
  90. <date>2011-03-02</date>
  91. <initials>psa</initials>
  92. <remark><p>Initial published version.</p></remark>
  93. </revision>
  94. <revision>
  95. <version>0.0.5</version>
  96. <date>2011-02-28</date>
  97. <initials>psa</initials>
  98. <remark><p>Corrected more errors in the examples.</p></remark>
  99. </revision>
  100. <revision>
  101. <version>0.0.4</version>
  102. <date>2011-02-25</date>
  103. <initials>psa</initials>
  104. <remark><p>Corrected some errors in the examples.</p></remark>
  105. </revision>
  106. <revision>
  107. <version>0.0.3</version>
  108. <date>2011-02-12</date>
  109. <initials>psa</initials>
  110. <remark><p>Third draft.</p></remark>
  111. </revision>
  112. <revision>
  113. <version>0.0.2</version>
  114. <date>2011-01-31</date>
  115. <initials>srm</initials>
  116. <remark><p>Second draft.</p></remark>
  117. </revision>
  118. <revision>
  119. <version>0.0.1</version>
  120. <date>2010-11-30</date>
  121. <initials>srm</initials>
  122. <remark><p>First draft.</p></remark>
  123. </revision>
  124. </header>
  125. <section1 topic='Introduction' anchor='intro'>
  126. <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 vCard 4 (&rfc6350;), and at the same time has defined an official XML format for vCard4 (&rfc6351;). 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>
  127. </section1>
  128. <section1 topic='Requirements' anchor='reqs'>
  129. <p>This specification was designed with the following requirements in mind.</p>
  130. <ol>
  131. <li>Reuse vCard4 as defined in <cite>RFC 6350</cite>.</li>
  132. <li>Reuse the vCard4 XML format as defined in <cite>RFC 6351</cite>.</li>
  133. <li>Ensure that clients and servers can easily migrate from vcard-temp to the new encapsulation format.</li>
  134. <li>Notify interested parties of changes to vCard data using standard XMPP extensions, specifically &xep0163;.</li>
  135. <li>Support vCards for non-human entities such as XMPP servers and &xep0045; rooms.</li>
  136. <li>Enable XMPP servers to store vCard4 XML data in LDAP directories if desired.</li>
  137. </ol>
  138. </section1>
  139. <section1 topic='Reuse of vCard4' anchor='reuse'>
  140. <p>Because there is now an XML namespace for the official vCard format, we can simply re-use that namespace: "urn:ietf:params:xml:ns:vcard-4.0".</p>
  141. <p>The vCard XML format defined at the IETF specifies that the root element is &lt;vcards/&gt;, where the only defined child element is &lt;vcard/&gt;. For use in XMPP, we specify that the root element shall be &lt;vcard/&gt;, not &lt;vcards/&gt;.</p>
  142. </section1>
  143. <section1 topic='Self vCards' anchor='public'>
  144. <p>This section describes the use of the vCard format for self-publication and retrieval of publicly-accessible information about any entity on an XMPP network, thus fulfilling all the use cases of the old vcard-temp format.</p>
  145. <section2 topic='IQ-Based Publication and Retrieval' anchor='self-iq'>
  146. <p>As in <cite>XEP-0054</cite>, the primary method for publishing and retrieving vCards is the XMPP &IQ; stanza. (Although it would have been possible to use &xep0222; for public storage and retrieval, community consensus is that storage via IQ is more backward-compatible with <cite>XEP-0054</cite>, and that publish-subscribe is more appropriate only for event notifications.)</p>
  147. <section3 topic='Retrieval' anchor='self-iq-retrieval'>
  148. <p>An XMPP entity retrieves the vCard of another entity (or itself) by sending an IQ-get to the target entity containing a &lt;vcard/&gt; child element (note the lowercase "c"!) qualified by the 'urn:ietf:params:xml:ns:vcard-4.0' namespace.</p>
  149. <example caption="vCard Retrieval Request"><![CDATA[
  150. <iq from='samizzi@cisco.com/foo'
  151. id='bx81v356'
  152. to='stpeter@jabber.org'
  153. type='get'>
  154. <vcard xmlns='urn:ietf:params:xml:ns:vcard-4.0'/>
  155. </iq>
  156. ]]></example>
  157. <p>If a vCard exists for the target entity, the responsible entity (e.g., the XMPP server that hosts the account for a bare JID) MUST return the data in an IQ-result:</p>
  158. <example caption="Server Returns vCard"><![CDATA[
  159. <iq from='stpeter@jabber.org'
  160. id='bx81v356'
  161. to='samizzi@cisco.com/foo'
  162. type='result'>
  163. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  164. <fn><text>Peter Saint-Andre</text></fn>
  165. <n><surname>Saint-Andre</surname><given>Peter</given><additional></additional></n>
  166. <nickname><text>stpeter</text></nickname>
  167. <nickname><text>psa</text></nickname>
  168. <photo><uri>https://stpeter.im/images/stpeter_oscon.jpg</uri></photo>
  169. <bday><date>1966-08-06</date></bday>
  170. <adr>
  171. <parameters>
  172. <type><text>work</text><text>voice</text></type>
  173. <pref><integer>1</integer></pref>
  174. </parameters>
  175. <ext>Suite 600</ext>
  176. <street>1899 Wynkoop Street</street>
  177. <locality>Denver</locality>
  178. <region>CO</region>
  179. <code>80202</code>
  180. <country>USA</country>
  181. </adr>
  182. <adr>
  183. <parameters><type><text>home</text></type></parameters>
  184. <ext></ext>
  185. <street></street>
  186. <locality>Parker</locality>
  187. <region>CO</region>
  188. <code>80138</code>
  189. <country>USA</country>
  190. </adr>
  191. <tel>
  192. <parameters>
  193. <type><text>work</text><text>voice</text></type>
  194. <pref><integer>1</integer></pref>
  195. </parameters>
  196. <uri>tel:+1-303-308-3282</uri>
  197. </tel>
  198. <tel>
  199. <parameters><type><text>work</text><text>fax</text></type></parameters>
  200. <uri>tel:+1-303-308-3219</uri>
  201. </tel>
  202. <tel>
  203. <parameters>
  204. <type><text>cell</text><text>voice</text><text>text</text></type>
  205. </parameters>
  206. <uri>tel:+1-720-256-6756</uri>
  207. </tel>
  208. <tel>
  209. <parameters><type><text>home</text><text>voice</text></type></parameters>
  210. <uri>tel:+1-303-555-1212</uri>
  211. </tel>
  212. <geo><uri>geo:39.59,-105.01</uri></geo>
  213. <title><text>Executive Director</text></title>
  214. <role><text>Patron Saint</text></role>
  215. <org>
  216. <parameters><type><text>work</text></type></parameters>
  217. <text>XMPP Standards Foundation</text>
  218. </org>
  219. <url><uri>https://stpeter.im/</uri></url>
  220. <note>
  221. <text>
  222. More information about me is located on my
  223. personal website: https://stpeter.im/
  224. </text>
  225. </note>
  226. <gender><sex><text>M</text></sex></gender>
  227. <lang>
  228. <parameters><pref>1</pref></parameters>
  229. <language-tag>en</language-tag>
  230. </lang>
  231. <email>
  232. <parameters><type><text>work</text></type></parameters>
  233. <text>psaintan@cisco.com</text>
  234. </email>
  235. <email>
  236. <parameters><type><text>home</text></type></parameters>
  237. <text>stpeter@jabber.org</text>
  238. </email>
  239. <impp>
  240. <parameters><type><text>work</text></type></parameters>
  241. <uri>xmpp:psaintan@cisco.com</uri>
  242. </impp>
  243. <impp>
  244. <parameters><type><text>home</text></type></parameters>
  245. <uri>xmpp:stpeter@jabber.org</uri>
  246. </impp>
  247. <key>
  248. <uri>https://stpeter.im/stpeter.asc</uri>
  249. </key>
  250. </vcard>
  251. </iq>
  252. ]]></example>
  253. <p>If no vCard exists, the server MUST return an IQ-result containing an empty &lt;vcard/&gt; element.</p>
  254. <example caption="No vCard (empty element)"><![CDATA[
  255. <iq from='stpeter@jabber.org'
  256. id='bx81v356'
  257. to='samizzi@cisco.com/foo'
  258. type='result'>
  259. <vcard xmlns='urn:ietf:params:xml:ns:vcard-4.0'/>
  260. </iq>
  261. ]]></example>
  262. </section3>
  263. <section3 topic='Publication' anchor='self-iq-publication'>
  264. <p>An XMPP entity publishes or updates its vCard by sending an IQ-set to itself (typically its bare JID), containing a &lt;vcard/&gt; child element qualified by the 'urn:ietf:params:xml:ns:vcard-4.0' namespace. The publication request needs to include the entire vCard, not a "diff" against the prior data (if any).</p>
  265. <example caption="vCard Publication Request"><![CDATA[
  266. <iq from='stpeter@jabber.org/squire
  267. id='h3vz319m'
  268. to='stpeter@jabber.org'
  269. type='set'>
  270. <vcard xmlns='urn:ietf:params:xml:ns:vcard-4.0'>
  271. [...]
  272. </vcard>
  273. </iq>
  274. ]]></example>
  275. <p>If no error occurs, the responsible entity returns an IQ-result.</p>
  276. <example caption="Server Acknowledges Publication"><![CDATA[
  277. <iq from='stpeter@jabber.org'
  278. id='bx81v356'
  279. to='stpeter@jabber.org/squire'
  280. type='result'/>
  281. ]]></example>
  282. <p>Note: An entity MAY have authorization to update the vCard of another entity (e.g., a server administrator might have authorization to modify the server's vCard).</p>
  283. </section3>
  284. </section2>
  285. <section2 topic='Event Notifications' anchor='self-pubsub'>
  286. <p>&xep0060; provides a way to subscribe to events, and &xep0163; defines a pubsub profile for events associated with instant messaging (IM) accounts. If PEP is supported by an IM server, it can be used to automatically generate event notifications when a user's vCard is modified.</p>
  287. <section3 topic='Location' anchor='self-pubsub-location'>
  288. <p>The canonical location for notifications regarding a user's vCard is a pubsub node whose name is "urn:xmpp:vcard4".</p>
  289. </section3>
  290. <section3 topic='Subscribing to vCard Notifications' anchor='self-pubsub-subscribe'>
  291. <p>Let us imagine that Juliet wishes to receive the updates that Romeo publishes to his vCard. She has two options:</p>
  292. <ol>
  293. <li>Implicitly subscribe by advertising support for "urn:xmpp:vcard4+notify" in her &xep0115; data. Romeo's PEP service then automatically sends vCard updates to her when it receives presence from her, until and unless she sends presence of type unavailable or stops advertising an interest in vCard updates. This is in accordance with XEP-0060, section 6.1.</li>
  294. <li>Explicitly subscribe by sending a formal subscription request to the "urn:xmpp:vcard4" node at Romeo's JabberID. Romeo's PEP service might send her all vCard updates even if she is offline at the time (depending on service policies regarding presence integration).</li>
  295. </ol>
  296. </section3>
  297. <section3 topic='Receiving a vCard Notification'>
  298. <p>Because Juliet has sent presence to Romeo including Entity Capabilities data that includes the "urn:xmpp:vcard4+notify" feature, Romeo's XMPP server will send a PEP notification to Juliet. The notification can include an XMPP message body for backward-compatibility with XMPP clients that are not pubsub-capable. This is in accordance with XEP-0060, second 6.1.7.</p>
  299. <example caption="Receiving a vCard publication/update"><![CDATA[
  300. <message from='romeo@montague.lit'
  301. to='juliet@capulet.lit'
  302. type='headline'>
  303. <event xmlns='http://jabber.org/protocol/pubsub#event'>
  304. <items node='urn:xmpp:vcard4'>
  305. <item id='current'/>
  306. </items>
  307. </event>
  308. </message>
  309. ]]></example>
  310. <p>Note: There is no payload, because this is a pure notification (the receiver needs to retrieve the vCard using an IQ-get as described earlier).</p>
  311. </section3>
  312. </section2>
  313. </section1>
  314. <section1 topic='Contact vCards' anchor='contacts'>
  315. <p>In addition to enabling the publication and retrieval of vCards about any entity on an XMPP network, the vCard format can also be used to store information about an entity's contacts.</p>
  316. <section2 topic='Format' anchor='contacts-format'>
  317. <p>A contact is simply a vCard about someone else (or something else, in the case of automated entities). If the other person or entity is in the user's roster &rfc6121;, the vCard SHOULD contain the Jabber ID of the person or entity. This enables a user to store information about the contact outside of the roster, thus obviating the need for changes or extensions to the roster namespace itself (as in &xep0145;).</p>
  318. <example caption="Contact"><![CDATA[
  319. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  320. <fn><text>Samantha Mizzi</text></fn>
  321. <n>
  322. <surname>Mizzi</surname>
  323. <given>Samantha</given>
  324. <additional></additional>
  325. </n>
  326. <nickname><text>Sam</text></nickname>
  327. <nickname><text>samizzi</text></nickname>
  328. <geo><uri>geo:39.59,-105.01</uri></geo>
  329. <org>
  330. <parameters><type><text>work</text></type></parameters>
  331. <text>Cisco</text>
  332. </org>
  333. <note>
  334. <text>
  335. My co-author on XEP-0292. She's cool!
  336. </text>
  337. </note>
  338. <impp>
  339. <parameters><type><text>work</text></type></parameters>
  340. <uri>xmpp:samizzi@cisco.com</uri>
  341. </impp>
  342. </vcard>
  343. ]]></example>
  344. </section2>
  345. <section2 topic='Storage' anchor='contacts-storage'>
  346. <p>Because contact vCards are private information, they are best stored using &xep0223;. The canonical location is a well-known pubsub node "urn:xmpp:contacts". In accordance with <cite>XEP-0223</cite>, this node MUST have an access type of "whitelist" by default. When a client stores items at this node, it SHOULD NOT include an ItemID, so that the pubsub service can assign those identifiers.</p>
  347. <example caption='Storing a Contact vCard'><![CDATA[
  348. <iq from='stpeter@stpeter.im/squire' type='set' id='h3vs7163'>
  349. <pubsub xmlns='http://jabber.org/protocol/pubsub'>
  350. <publish node='urn:xmpp:contacts'>
  351. <item>
  352. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  353. <fn><text>Samantha Mizzi</text></fn>
  354. <n>
  355. <surname>Mizzi</surname>
  356. <given>Samantha</given>
  357. <additional></additional>
  358. </n>
  359. <nickname><text>Sam</text></nickname>
  360. <nickname><text>samizzi</text></nickname>
  361. <geo><uri>geo:39.59,-105.01</uri></geo>
  362. <org>
  363. <parameters><type><text>work</text></type></parameters>
  364. <text>Cisco</text>
  365. </org>
  366. <note>
  367. <text>
  368. My co-author on XEP-0292. She's cool!
  369. </text>
  370. </note>
  371. <impp>
  372. <parameters><type><text>work</text></type></parameters>
  373. <uri>xmpp:samizzi@cisco.com</uri>
  374. </impp>
  375. </vcard>
  376. </item>
  377. </publish>
  378. <publish-options>
  379. <x xmlns='jabber:x:data' type='submit'>
  380. <field var='FORM_TYPE' type='hidden'>
  381. <value>http://jabber.org/protocol/pubsub#publish-options</value>
  382. </field>
  383. <field var='pubsub#persist_items'>
  384. <value>true</value>
  385. </field>
  386. <field var='pubsub#access_model'>
  387. <value>whitelist</value>
  388. </field>
  389. </x>
  390. </publish-options>
  391. </pubsub>
  392. </iq>
  393. ]]></example>
  394. <p>When a contact's vCard is stored in a private node, it is pushed out to all of the user's resources that have included in their entity capabilities (XEP-0115) data a service discovery feature of "urn:xmpp:contacts+notify" (in the following example those resources are "squire" and "roundabout").</p>
  395. <example caption='Publisher resources receive event notification'><![CDATA[
  396. <message from='stpeter@stpeter.im'
  397. to='stpeter@stpeter.im/squire'
  398. type='headline'
  399. id='ka92g1b5'>
  400. <event xmlns='http://jabber.org/protocol/pubsub#event'>
  401. <items node='urn:xmpp:contacts'>
  402. <item id='9703CC4E-CF7E-4A86-9E61-2C670235F9CB'>
  403. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  404. <fn><text>Samantha Mizzi</text></fn>
  405. <n>
  406. <surname>Mizzi</surname>
  407. <given>Samantha</given>
  408. <additional></additional>
  409. </n>
  410. <nickname><text>Sam</text></nickname>
  411. <nickname><text>samizzi</text></nickname>
  412. <geo><uri>geo:39.59,-105.01</uri></geo>
  413. <org>
  414. <parameters><type><text>work</text></type></parameters>
  415. <text>Cisco</text>
  416. </org>
  417. <note>
  418. <text>
  419. My co-author on XEP-0292. She's cool!
  420. </text>
  421. </note>
  422. <impp>
  423. <parameters><type><text>work</text></type></parameters>
  424. <uri>xmpp:samizzi@cisco.com</uri>
  425. </impp>
  426. </vcard>
  427. </item>
  428. </items>
  429. </event>
  430. </message>
  431. <message from='stpeter@stpeter.im'
  432. to='stpeter@stpeter.im/roundabout'
  433. type='headline'
  434. id='pty14x69'>
  435. <event xmlns='http://jabber.org/protocol/pubsub#event'>
  436. <items node='urn:xmpp:contacts'>
  437. <item id='9703CC4E-CF7E-4A86-9E61-2C670235F9CB'>
  438. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  439. <fn><text>Samantha Mizzi</text></fn>
  440. <n>
  441. <surname>Mizzi</surname>
  442. <given>Samantha</given>
  443. <additional></additional>
  444. </n>
  445. <nickname><text>Sam</text></nickname>
  446. <nickname><text>samizzi</text></nickname>
  447. <geo><uri>geo:39.59,-105.01</uri></geo>
  448. <org>
  449. <parameters><type><text>work</text></type></parameters>
  450. <text>Cisco</text>
  451. </org>
  452. <note>
  453. <text>
  454. My co-author on XEP-0292. She's cool!
  455. </text>
  456. </note>
  457. <impp>
  458. <parameters><type><text>work</text></type></parameters>
  459. <uri>xmpp:samizzi@cisco.com</uri>
  460. </impp>
  461. </vcard>
  462. </item>
  463. </items>
  464. </event>
  465. </message>
  466. ]]></example>
  467. </section2>
  468. </section1>
  469. <section1 topic='vCards of Automated Entities' anchor='apps'>
  470. <p>Traditionally, vCards have been used on the XMPP network for entities other than human users, e.g. by XMPP servers and chatrooms. When such automated entities use vCards, it is RECOMMENDED to specify a value of "application" for the vCard4 KIND property &rfc6473;, as illustrated in the following example:</p>
  471. <example caption="vCard for a Thing"><![CDATA[
  472. <iq from='jabber.org'
  473. id='yhx51c35'
  474. to='samizzi@cisco.com/foo'
  475. type='result'>
  476. <vcard xmlns='urn:ietf:params:xml:ns:vcard-4.0'>
  477. <fn><text>jabber.org IM service</text></fn>
  478. <url><uri>http://www.jabber.org/</uri></url>
  479. <lang>
  480. <parameters><pref>1</pref></parameters>
  481. <language-tag>en</language-tag>
  482. </lang>
  483. <email><text>xmpp@jabber.org</text></email>
  484. <impp><uri>xmpp:jabber.org</uri></impp>
  485. <logo><uri>http://www.jabber.org/images/logo.png</uri></logo>
  486. <geo><uri>geo:42.25,-91.05</uri></geo>
  487. <tz><text>America/Chicago</text></tz>
  488. <kind><text>application</text></kind>
  489. </vcard>
  490. </iq>
  491. ]]></example>
  492. </section1>
  493. <section1 topic='Determining Support' anchor='disco'>
  494. <p>If an XMPP client or server supports the vCard4 namespace, it MUST advertise that fact in its responses to &xep0030; information ("disco#info") requests by returning a feature of "urn:ietf:params:xml:ns:vcard-4.0":</p>
  495. <example caption='A disco#info query'><![CDATA[
  496. <iq type='get'
  497. from='stpeter@jabber.org/squire'
  498. to='samizzi@cisco.com/foo'
  499. id='disco1'>
  500. <query xmlns='http://jabber.org/protocol/disco#info'/>
  501. </iq>
  502. ]]></example>
  503. <example caption='A disco#info response'><![CDATA[
  504. <iq type='result'
  505. from='samizzi@cisco.com/foo'
  506. to='stpeter@jabber.org/squire'
  507. id='disco1'>
  508. <query xmlns='http://jabber.org/protocol/disco#info'>
  509. ...
  510. <feature var='urn:ietf:params:xml:ns:vcard-4.0'/>
  511. ...
  512. </query>
  513. </iq>
  514. ]]></example>
  515. <p>In order for an application to determine whether an entity supports this protocol, where possible it SHOULD use the dynamic, presence-based profile of service discovery defined in &xep0115;. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.</p>
  516. </section1>
  517. <section1 topic='Security Considerations' anchor='security'>
  518. <p>The vCard information published to one's XMPP server is world-readable; therefore, users should exercise due caution when determining what information to include (e.g., street addresses, personal telephone numbers, or email addresses).</p>
  519. </section1>
  520. <section1 topic='IANA Considerations' anchor='iana'>
  521. <p>This document does not require interaction with &IANA;.</p>
  522. </section1>
  523. <section1 topic='XMPP Registrar Considerations' anchor='registrar'>
  524. <section2 topic='Well-Known Service Discovery Nodes' anchor='registrar-nodes'>
  525. <p>The &REGISTRAR; shall include 'urn:xmpp:contact' and 'urn:xmpp:vcard4' in its registry of Nodes for Service Discovery and Publish-Subscribe at &NODES;.</p>
  526. </section2>
  527. </section1>
  528. <section1 topic='Mapping from vcard-temp to vCard4' anchor='mapping'>
  529. <p>This section provides a more detailed description of mapping vcard-temp properties to vcard4 properties.</p>
  530. <section2 topic='Properties Defined in vcard-temp but not in vCard3 or vCard4' anchor='mapping-temponly'>
  531. <section3 topic='DESC' anchor='mapping-temponly-desc'>
  532. <p>The vcard-temp specification defined a &lt;DESC/&gt; element. This element was not part of the vCard3 schema. Mapping the vcard-temp &lt;DESC/&gt; element to the vCard4 NOTE property is appropriate.</p>
  533. <example caption="Deprecated DESC element"><![CDATA[
  534. <DESC>
  535. More information about me is located on my
  536. personal website: https://stpeter.im/
  537. </DESC>
  538. ]]></example>
  539. <example caption="NOTE property"><![CDATA[
  540. <note>
  541. <text>
  542. More information about me is located on my
  543. personal website: https://stpeter.im/
  544. </text>
  545. </note>
  546. ]]></example>
  547. </section3>
  548. <section3 topic='JABBERID' anchor='mapping-temponly-jabberid'>
  549. <p>The vcard-temp specification defined a &lt;JABBERID/&gt; element:</p>
  550. <example caption="Deprecated JABBERID element"><![CDATA[
  551. <JABBERID>stpeter@jabber.org</JABBERID>
  552. ]]></example>
  553. <p>Although the JABBERID field was not part of the vCard3 schema and was simply hacked into vcard-temp, &rfc4770; defined an IMPP property for instant messaging and presence addresses, which was ported to vCard4. In the vCard4 XML format, the IMPP property for a JabberID would be as follows.</p>
  554. <example caption="IMPP property"><![CDATA[
  555. <impp>
  556. <uri>xmpp:stpeter@jabber.org</uri>
  557. </impp>
  558. ]]></example>
  559. </section3>
  560. <section3 topic='MIDDLE' anchor='mapping-temponly-middle'>
  561. <p>The vcard-temp specification defined a &lt;MIDDLE/&gt; element as the third allowable element within the &lt;N/&gt; ("name") element. This element was not part of the vCard3 schema, although the Dawson drafts did contain an &lt;other/&gt; element in the third position of child elements within the &lt;n/&gt; element. It is appropriate to map the vcard-temp &lt;MIDDLE/&gt; element to the vCard4 "Additional Name" part of the "N" structured property value, which in xCard is the &lt;additional/&gt; child of the &lt;n/&gt; element.</p>
  562. </section3>
  563. </section2>
  564. <section2 topic='Properties Defined Incorrectly in vcard-temp' anchor='mapping-incorrect'>
  565. <p>Several of the properties in vcard-temp are defined differently in vCard3. In fact, the definitions even differ from those provisionally made in the so-called "Dawson drafts" from which vcard-temp was supposedly derived (for reference, the last of these is archived at &lt;<link url='http://www.watersprings.org/pub/id/draft-dawson-vcard-xml-dtd-03.txt'>http://www.watersprings.org/pub/id/draft-dawson-vcard-xml-dtd-03.txt</link>&gt;). The reasons for these discrepancies are unknown. However, care must be taken in correctly mapping these properties from vcard-temp to vCard4.</p>
  566. <section3 topic='KEY' anchor='mapping-incorrect-key'>
  567. <p>The DTD in <cite>XEP-0054</cite> provided this definition for the KEY element:</p>
  568. <code><![CDATA[
  569. <!ELEMENT KEY (TYPE?, CRED)>
  570. ]]></code>
  571. <p>However, the DTD in the final Dawson draft provided the following definition:</p>
  572. <code><![CDATA[
  573. <!ELEMENT key (extref | b64bin)>
  574. ]]></code>
  575. <p>The relevant RelaxNG definition in vCard4 XML is as follows:</p>
  576. <code><![CDATA[
  577. property-key = element key {
  578. (value-uri | value-text)
  579. }
  580. ]]></code>
  581. <p>The source of the spurious &lt;TYPE/&gt; and &lt;CRED/&gt; elements is unknown. The vcard-temp &lt;CRED/&gt; element is mapped to the vCard4 value-text construction.</p>
  582. </section3>
  583. <section3 topic='SOUND' anchor='mapping-incorrect-sound'>
  584. <p>The DTD in <cite>XEP-0054</cite> provided this definition for the SOUND element:</p>
  585. <code><![CDATA[
  586. <!ELEMENT SOUND (PHONETIC | BINVAL | EXTVAL)>
  587. ]]></code>
  588. <p>However, the DTD in the final Dawson draft provided the following definition:</p>
  589. <code><![CDATA[
  590. <!ELEMENT sound (extref | b64bin)>
  591. ]]></code>
  592. <p>The source of the spurious vcard-temp &lt;PHONETIC/&gt; element is unknown. However, it does not exist in vCard4 and therefore is simply discarded when mapping. The vcard-temp &lt;BINVAL/&gt; element is mapped to the vCard4 b64bin construction and the vcard-temp &lt;EXTVAL/&gt; element is mapped to the vCard4 extref construction.</p>
  593. </section3>
  594. <section3 topic='VERSION' anchor='mapping-incorrect-version'>
  595. <p>As explained in <cite>XEP-0054</cite>, the &lt;VERSION/&gt; element from the final Dawson draft was not used in vcard-temp; instead, the vcard-temp protocol used a 'version' attribute (in fact the Dawson drafts were inconsistent, since the DTD defined a &lt;VERSION/&gt; element and the body of the specification used a 'version' attribute).</p>
  596. </section3>
  597. </section2>
  598. <section2 topic='Properties Defined Differently in vcard-temp, vCard3, and vCard4' anchor='mapping-different'>
  599. <p>The following properties are defined differently in vcard-temp and vCard4. As a result, the mappings are workable but might not preserve all information that could have been contained in vcard-temp data.</p>
  600. <section3 topic='ADR' anchor='mapping-different-adr'>
  601. <p>The following address type values allowed in vCard3 were removed from vCard4:</p>
  602. <ul>
  603. <li>DOM</li>
  604. <li>INTL</li>
  605. <li>PARCEL</li>
  606. <li>POSTAL</li>
  607. </ul>
  608. </section3>
  609. <section3 topic='AGENT' anchor='mapping-different-agent'>
  610. <p>In vCard3 and vcard-temp, the AGENT property was allowed to contain the inline vCard of someone who could act as an agent for the primary owner of the referenced vCard. In vCard4, inline vCards are disallowed. Therefore only pointers to external vCard objects are now allowed, by means of a URI.</p>
  611. </section3>
  612. <section3 topic='ORG' anchor='mapping-different-org'>
  613. <p>The ORGUNIT property was removed from vCard4, with the result that the ORGNAME property becomes the only child of ORG.</p>
  614. </section3>
  615. <section3 topic='SORT-STRING' anchor='mapping-different-sortstring'>
  616. <p>The SORT-STRING property from vCard3 was renamed to SORT-AS in vCard4.</p>
  617. </section3>
  618. <section3 topic='TEL' anchor='mapping-different-tel'>
  619. <p>The following telephony type values allowed in vCard3 were removed from vCard4:</p>
  620. <ul>
  621. <li>BBS</li>
  622. <li>ISDN</li>
  623. <li>MODEM</li>
  624. <li>MSG</li>
  625. <li>PCS</li>
  626. </ul>
  627. <p>In addition, in vCard4 the telephone number is represented as a tel: URI, not by means of a NUMBER property.</p>
  628. </section3>
  629. </section2>
  630. <section2 topic='Properties Defined Similarly in vcard-temp, vCard3, and vCard4' anchor='mapping-similar'>
  631. <p>The following properties are defined similarly in vcard-temp, vCard3, and vCard4. The mappings are fairly straightforward (a future version of this document might provide more detailed narrative descriptions of the mappings).</p>
  632. <ul>
  633. <li>BDAY</li>
  634. <li>CATEGORIES</li>
  635. <li>EMAIL</li>
  636. <li>FN</li>
  637. <li>GEO</li>
  638. <li>LOGO</li>
  639. <li>N</li>
  640. <li>NICKNAME</li>
  641. <li>NOTE</li>
  642. <li>PHOTO (mapped to a 'data:' URI in vCard4, see &rfc2397;)</li>
  643. <li>PRODID</li>
  644. <li>REV</li>
  645. <li>ROLE</li>
  646. <li>TITLE</li>
  647. <li>TZ</li>
  648. <li>UID</li>
  649. <li>URL</li>
  650. </ul>
  651. </section2>
  652. <section2 topic='Properties Defined in vCard3 but Removed from vCard4' anchor='mapping-removed'>
  653. <p>The following properties were defined in vCard3 but were removed from vCard4:</p>
  654. <ul>
  655. <li>CLASS</li>
  656. <li>LABEL</li>
  657. <li>MAILER</li>
  658. </ul>
  659. <p>There is no mapping from these properties to vCard4.</p>
  660. </section2>
  661. </section1>
  662. <section1 topic='Migration Tools' anchor='migration'>
  663. <p>This section contains three tools that are intended to help developers in migrating from vcard-temp to vCard4 XML:</p>
  664. <ol>
  665. <li>An Extensible Stylesheet Language Transformation (XSLT) script for automatically translating the vcard-temp XML format into the vCard4 XML format.</li>
  666. <li>An example of vcard-temp data that uses most of the elements defined in <cite>XEP-0054</cite> that can be mapped to vCard4 properties (note that some of these elements were never used in practice).</li>
  667. <li>An example of vCard4 XML data showing the transformation of the vcard-temp example using the XSLT stylesheet.</li>
  668. </ol>
  669. <p>The tools are <strong>purely informational</strong> and are not a normative part of this specification.</p>
  670. <section2 topic='Extensible Stylesheet Language Transformation (XSLT) from vcard-temp to vCard4' anchor='migration-xslt'>
  671. <code><![CDATA[
  672. <?xml version='1.0' encoding='UTF-8'?>
  673. <!--
  674. Copyright (c) 1999 - 2017 XMPP Standards Foundation
  675. Permission is hereby granted, free of charge, to any
  676. person obtaining a copy of this software and
  677. associated documentation files (the "Software"), to
  678. deal in the Software without restriction, including
  679. without limitation the rights to use, copy, modify,
  680. merge, publish, distribute, sublicense, and/or sell
  681. copies of the Software, and to permit persons to whom
  682. the Software is furnished to do so, subject to the
  683. following conditions:
  684. The above copyright notice and this permission notice
  685. shall be included in all copies or substantial portions
  686. of the Software.
  687. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
  688. ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
  689. TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  690. PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
  691. SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
  692. ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  693. ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  694. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
  695. OR OTHER DEALINGS IN THE SOFTWARE.
  696. -->
  697. <!-- Author: stpeter@jabber.org -->
  698. <!-- Version: 0.0.3 -->
  699. <!-- Last Updated: 2012-09-12 -->
  700. <xsl:stylesheet
  701. xmlns='urn:ietf:params:xml:ns:vcard-4.0'
  702. xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
  703. version='1.0'>
  704. <xsl:output method='xml'/>
  705. <xsl:template match='/'>
  706. <vcard>
  707. <!-- BEGIN VARIABLES -->
  708. <!-- in case we need them, count instances of the vcard-temp
  709. elements per the DTD in XEP-0054 -->
  710. <xsl:variable name='FN.count' select='count(/vCard/FN)'/>
  711. <xsl:variable name='N.count' select='count(/vCard/N)'/>
  712. <xsl:variable name='NICKNAME.count' select='count(/vCard/NICKNAME)'/>
  713. <xsl:variable name='PHOTO.count' select='count(/vCard/PHOTO)'/>
  714. <xsl:variable name='BDAY.count' select='count(/vCard/BDAY)'/>
  715. <xsl:variable name='ADR.count' select='count(/vCard/ADR)'/>
  716. <xsl:variable name='LABEL.count' select='count(/vCard/LABEL)'/>
  717. <xsl:variable name='TEL.count' select='count(/vCard/TEL)'/>
  718. <xsl:variable name='EMAIL.count' select='count(/vCard/EMAIL)'/>
  719. <xsl:variable name='JABBERID.count' select='count(/vCard/JABBERID)'/>
  720. <xsl:variable name='MAILER.count' select='count(/vCard/MAILER)'/>
  721. <xsl:variable name='TZ.count' select='count(/vCard/TZ)'/>
  722. <xsl:variable name='GEO.count' select='count(/vCard/GEO)'/>
  723. <xsl:variable name='TITLE.count' select='count(/vCard/TITLE)'/>
  724. <xsl:variable name='ROLE.count' select='count(/vCard/ROLE)'/>
  725. <xsl:variable name='LOGO.count' select='count(/vCard/LOGO)'/>
  726. <xsl:variable name='AGENT.count' select='count(/vCard/AGENT)'/>
  727. <xsl:variable name='ORG.count' select='count(/vCard/ORG)'/>
  728. <xsl:variable name='CATEGORIES.count' select='count(/vCard/CATEGORIES)'/>
  729. <xsl:variable name='NOTE.count' select='count(/vCard/NOTE)'/>
  730. <xsl:variable name='PRODID.count' select='count(/vCard/PRODID)'/>
  731. <xsl:variable name='REV.count' select='count(/vCard/REV)'/>
  732. <xsl:variable name='SORT-STRING.count' select='count(/vCard/SORT-STRING)'/>
  733. <xsl:variable name='SOUND.count' select='count(/vCard/SOUND)'/>
  734. <xsl:variable name='UID.count' select='count(/vCard/UID)'/>
  735. <xsl:variable name='URL.count' select='count(/vCard/URL)'/>
  736. <xsl:variable name='CLASS.count' select='count(/vCard/CLASS)'/>
  737. <xsl:variable name='KEY.count' select='count(/vCard/KEY)'/>
  738. <xsl:variable name='DESC.count' select='count(/vCard/DESC)'/>
  739. <!-- END VARIABLES -->
  740. <!-- BEGIN VCARD4 OUTPUT -->
  741. <!-- FN is required -->
  742. <fn><text><xsl:value-of select='/vCard/FN'/></text></fn>
  743. <!-- N is required -->
  744. <xsl:apply-templates select='/vCard/N'/>
  745. <!-- NICKNAME can be included one or more times -->
  746. <xsl:for-each select='/vCard/NICKNAME'>
  747. <nickname><text><xsl:value-of select='.'/></text></nickname>
  748. </xsl:for-each>
  749. <!-- PHOTO can be included one or more times -->
  750. <!-- content is either a pointer to a URL or inline binary,
  751. which is mapped to a data: URI in vCard4 -->
  752. <xsl:for-each select='/vCard/PHOTO'>
  753. <xsl:variable name='PHOTO.ext' select='count(EXTVAL)'/>
  754. <xsl:variable name='PHOTO.type' select='TYPE'/>
  755. <xsl:choose>
  756. <xsl:when test='$PHOTO.ext=1'>
  757. <photo><uri><xsl:value-of select='EXTVAL'/></uri></photo>
  758. </xsl:when>
  759. <xsl:otherwise>
  760. <photo>
  761. <uri>
  762. <xsl:text>data:</xsl:text><xsl:value-of select='TYPE'/><xsl:text>;</xsl:text><xsl:value-of select='BINVAL'/>
  763. </uri>
  764. </photo>
  765. </xsl:otherwise>
  766. </xsl:choose>
  767. </xsl:for-each>
  768. <!-- BDAY can be included once -->
  769. <xsl:if test='$BDAY.count=1'>
  770. <bday><date><xsl:value-of select='/vCard/BDAY'/></date></bday>
  771. </xsl:if>
  772. <!-- ADR can be included one or more times -->
  773. <xsl:apply-templates select='/vCard/ADR'/>
  774. <!-- NOTE: vcard-temp allowed a LABEL element,
  775. but it was removed from vCard4 -->
  776. <!-- one or more TEL elements can be included -->
  777. <xsl:apply-templates select='/vCard/TEL'/>
  778. <!-- one or more EMAIL elements can be included -->
  779. <xsl:apply-templates select='/vCard/EMAIL'/>
  780. <!-- JABBERID can be included one or more times -->
  781. <!-- we map this to the vCard4 IMPP property -->
  782. <xsl:for-each select='/vCard/JABBERID'>
  783. <impp><uri><xsl:text>xmpp:</xsl:text><xsl:value-of select='.'/></uri></impp>
  784. </xsl:for-each>
  785. <!-- NOTE: vcard-temp allowed a MAILER element,
  786. but it was removed from vCard4 -->
  787. <!-- one or more TZ elements can be included -->
  788. <xsl:for-each select='/vCard/TZ'>
  789. <tz><text><xsl:value-of select='.'/></text></tz>
  790. </xsl:for-each>
  791. <!-- one or more GEO elements can be included -->
  792. <xsl:for-each select='/vCard/GEO'>
  793. <geo><uri><xsl:text>geo:</xsl:text><xsl:value-of select='LAT'/><xsl:text>,</xsl:text><xsl:value-of select='LON'/></uri></geo>
  794. </xsl:for-each>
  795. <!-- one or more TITLE elements can be included -->
  796. <xsl:for-each select='/vCard/TITLE'>
  797. <title><text><xsl:value-of select='.'/></text></title>
  798. </xsl:for-each>
  799. <!-- one or more ROLE elements can be included -->
  800. <xsl:for-each select='/vCard/ROLE'>
  801. <role><text><xsl:value-of select='.'/></text></role>
  802. </xsl:for-each>
  803. <!-- one or more LOGO elements can be included -->
  804. <!-- content is either a pointer to a URL or inline binary,
  805. which is mapped to a data: URI in vCard4 -->
  806. <xsl:for-each select='/vCard/LOGO'>
  807. <xsl:variable name='LOGO.ext' select='count(EXTVAL)'/>
  808. <xsl:variable name='LOGO.type' select='TYPE'/>
  809. <xsl:choose>
  810. <xsl:when test='$LOGO.ext=1'>
  811. <logo><uri><xsl:value-of select='EXTVAL'/></uri></logo>
  812. </xsl:when>
  813. <xsl:otherwise>
  814. <logo>
  815. <uri><xsl:text>data:</xsl:text><xsl:value-of select='TYPE'/><xsl:text>;base64,</xsl:text><xsl:value-of select='BINVAL'/>
  816. </uri>
  817. </logo>
  818. </xsl:otherwise>
  819. </xsl:choose>
  820. </xsl:for-each>
  821. <!-- one or more AGENT elements can be included -->
  822. <!-- however, inline vcards are not supported in vCard4 -->
  823. <!-- the relevant vCard4 property is RELATED -->
  824. <!-- only EXTVAL is supported now via URIs -->
  825. <!-- NOTE: this element was probably unused in vcard-temp -->
  826. <xsl:for-each select='/vCard/AGENT'>
  827. <xsl:variable name='AGENT.ext' select='count(EXTVAL)'/>
  828. <xsl:if test='$AGENT.ext=1'>
  829. <agent><uri><xsl:value-of select='EXTVAL'/></uri></agent>
  830. </xsl:if>
  831. </xsl:for-each>
  832. <!-- one or more ORG elements can be included -->
  833. <!-- NOTE: ORGUNIT is no longer used in vcard4 -->
  834. <xsl:for-each select='/vCard/ORG'>
  835. <org>
  836. <xsl:variable name='ORGNAME.count' select='count(ORGNAME)'/>
  837. <xsl:if test='$ORGNAME.count=1'>
  838. <text><xsl:value-of select='ORGNAME'/></text>
  839. </xsl:if>
  840. </org>
  841. </xsl:for-each>
  842. <!-- one or more CATEGORIES elements can be included -->
  843. <!-- NOTE: this element was probably unused in vcard-temp -->
  844. <xsl:for-each select='/vCard/CATEGORIES'>
  845. <categories><text><xsl:value-of select='.'/></text></categories>
  846. </xsl:for-each>
  847. <!-- one or more NOTE elements can be included -->
  848. <!-- NOTE: this element was probably unused in vcard-temp -->
  849. <xsl:for-each select='/vCard/NOTE'>
  850. <note><text><xsl:value-of select='.'/></text></note>
  851. </xsl:for-each>
  852. <!-- PRODID can be included exactly once -->
  853. <!-- NOTE: this element was probably unused in vcard-temp -->
  854. <xsl:if test='$PRODID.count=1'>
  855. <prodid><text><xsl:value-of select='.'/></text></prodid>
  856. </xsl:if>
  857. <!-- REV can be included exactly once -->
  858. <!-- NOTE: this element was probably unused in vcard-temp -->
  859. <xsl:if test='$REV.count=1'>
  860. <rev><timestamp><xsl:value-of select='.'/></timestamp></rev>
  861. </xsl:if>
  862. <!-- one or more SORT-STRING elements can be included -->
  863. <!-- this element maps to SORT-AS in vCard4 -->
  864. <xsl:for-each select='/vCard/SORT-STRING'>
  865. <sort-as><xsl:value-of select='.'/></sort-as>
  866. </xsl:for-each>
  867. <!-- one or more SOUND elements can be included -->
  868. <!-- NOTE: for some reason, vcard-temp allowed a <PHONETIC/>
  869. child element, but that was not documented in the
  870. original Dawson I-Ds and is not supported in vCard4 -->
  871. <xsl:for-each select='/vCard/SOUND'>
  872. <xsl:variable name='SOUND.ext' select='count(EXTVAL)'/>
  873. <xsl:variable name='SOUND.bin' select='count(BINVAL)'/>
  874. <xsl:choose>
  875. <xsl:when test='$SOUND.ext=1'>
  876. <sound><uri><xsl:value-of select='EXTVAL'/></uri></sound>
  877. </xsl:when>
  878. <xsl:when test='$SOUND.ext=1'>
  879. <sound>
  880. <uri><xsl:text>data:audio/basic;base64,</xsl:text><xsl:value-of select='BINVAL'/>
  881. </uri>
  882. </sound>
  883. </xsl:when>
  884. <xsl:otherwise>
  885. </xsl:otherwise>
  886. </xsl:choose>
  887. </xsl:for-each>
  888. <!-- UID can be included exactly once -->
  889. <xsl:if test='$UID.count=1'>
  890. <uid><uri><xsl:value-of select='/vCard/UID'/></uri></uid>
  891. </xsl:if>
  892. <!-- URL can be included one or more times -->
  893. <xsl:for-each select='/vCard/URL'>
  894. <url><uri><xsl:value-of select='.'/></uri></url>
  895. </xsl:for-each>
  896. <!-- NOTE: vcard-temp allowed a CLASS element,
  897. but it was removed from vCard4 -->
  898. <!-- KEY can be included one or more times -->
  899. <xsl:for-each select='/vCard/KEY'>
  900. <key><text><xsl:value-of select='CRED'/></text></key>
  901. </xsl:for-each>
  902. <!-- DESC can be included one or more times -->
  903. <!-- this existed in vcard-temp but not vCard3 -->
  904. <!-- mapped to the NOTE element -->
  905. <xsl:for-each select='/vCard/DESC'>
  906. <note><text><xsl:value-of select='.'/></text></note>
  907. </xsl:for-each>
  908. </vcard>
  909. </xsl:template>
  910. <xsl:template match='N'>
  911. <n>
  912. <xsl:variable name='FAMILY.count' select='count(FAMILY)'/>
  913. <xsl:variable name='GIVEN.count' select='count(GIVEN)'/>
  914. <xsl:variable name='MIDDLE.count' select='count(MIDDLE)'/>
  915. <xsl:variable name='PREFIX.count' select='count(PREFIX)'/>
  916. <xsl:variable name='SUFFIX.count' select='count(SUFFIX)'/>
  917. <xsl:if test='$FAMILY.count=1'>
  918. <surname><xsl:value-of select='FAMILY'/></surname>
  919. </xsl:if>
  920. <xsl:if test='$GIVEN.count=1'>
  921. <given><xsl:value-of select='GIVEN'/></given>
  922. </xsl:if>
  923. <xsl:if test='$MIDDLE.count=1'>
  924. <additional><xsl:value-of select='MIDDLE'/></additional>
  925. </xsl:if>
  926. <xsl:if test='$PREFIX.count=1'>
  927. <prefix><xsl:value-of select='PREFIX'/></prefix>
  928. </xsl:if>
  929. <xsl:if test='$SUFFIX.count=1'>
  930. <suffix><xsl:value-of select='SUFFIX'/></suffix>
  931. </xsl:if>
  932. </n>
  933. </xsl:template>
  934. <xsl:template match='ADR'>
  935. <adr>
  936. <xsl:variable name='HOME.count' select='count(HOME)'/>
  937. <xsl:variable name='WORK.count' select='count(WORK)'/>
  938. <!-- NOTE: vcard-temp allowed address types of POSTAL, PARCEL,
  939. DOM, and INTL, but they were removed from vCard4 -->
  940. <xsl:variable name='PREF.count' select='count(PREF)'/>
  941. <xsl:variable name='POBOX.count' select='count(POBOX)'/>
  942. <xsl:variable name='EXTADD.count' select='count(EXTADD)'/>
  943. <xsl:variable name='STREET.count' select='count(STREET)'/>
  944. <xsl:variable name='LOCALITY.count' select='count(LOCALITY)'/>
  945. <xsl:variable name='REGION.count' select='count(REGION)'/>
  946. <xsl:variable name='PCODE.count' select='count(PCODE)'/>
  947. <!-- NOTE: yes, vcard-temp has CTRY, not COUNTRY -->
  948. <xsl:variable name='CTRY.count' select='count(CTRY)'/>
  949. <!-- first we count the number of vCard TYPE parameters -->
  950. <xsl:variable name='TYPE.count' select='$HOME.count + $WORK.count'/>
  951. <!-- now we output all the parameters -->
  952. <xsl:if test='$TYPE.count &gt; 0'>
  953. <parameters>
  954. <type>
  955. <xsl:if test='$HOME.count=1'>
  956. <text>home</text>
  957. </xsl:if>
  958. <xsl:if test='$WORK.count=1'>
  959. <text>work</text>
  960. </xsl:if>
  961. </type>
  962. <xsl:if test='$PREF.count=1'>
  963. <pref><integer>1</integer></pref>
  964. </xsl:if>
  965. </parameters>
  966. </xsl:if>
  967. <xsl:if test='$POBOX.count=1'>
  968. <pobox><xsl:value-of select='POBOX'/></pobox>
  969. </xsl:if>
  970. <xsl:if test='$EXTADD.count=1'>
  971. <ext><xsl:value-of select='EXTADD'/></ext>
  972. </xsl:if>
  973. <xsl:if test='$STREET.count=1'>
  974. <street><xsl:value-of select='STREET'/></street>
  975. </xsl:if>
  976. <xsl:if test='$LOCALITY.count=1'>
  977. <locality><xsl:value-of select='LOCALITY'/></locality>
  978. </xsl:if>
  979. <xsl:if test='$REGION.count=1'>
  980. <region><xsl:value-of select='REGION'/></region>
  981. </xsl:if>
  982. <xsl:if test='$PCODE.count=1'>
  983. <code><xsl:value-of select='PCODE'/></code>
  984. </xsl:if>
  985. <xsl:if test='$CTRY.count=1'>
  986. <country><xsl:value-of select='CTRY'/></country>
  987. </xsl:if>
  988. </adr>
  989. </xsl:template>
  990. <xsl:template match='TEL'>
  991. <tel>
  992. <xsl:variable name='HOME.count' select='count(HOME)'/>
  993. <xsl:variable name='WORK.count' select='count(WORK)'/>
  994. <xsl:variable name='TEXT.count' select='count(TEXT)'/>
  995. <xsl:variable name='VOICE.count' select='count(VOICE)'/>
  996. <xsl:variable name='FAX.count' select='count(FAX)'/>
  997. <xsl:variable name='CELL.count' select='count(CELL)'/>
  998. <xsl:variable name='VIDEO.count' select='count(VIDEO)'/>
  999. <xsl:variable name='PAGER.count' select='count(PAGER)'/>
  1000. <xsl:variable name='TEXTPHONE.count' select='count(TEXTPHONE)'/>
  1001. <!-- NOTE: vcard-temp allowed telephony types of MSG, BBS,
  1002. MODEM, ISDN, and PCS but they were removed from vCard4 -->
  1003. <xsl:variable name='PREF.count' select='count(PREF)'/>
  1004. <xsl:variable name='NUMBER.count' select='count(NUMBER)'/>
  1005. <!-- first we count the number of vCard TYPE parameters -->
  1006. <xsl:variable name='TYPE.count'
  1007. select='$HOME.count
  1008. + $WORK.count
  1009. + $TEXT.count
  1010. + $VOICE.count
  1011. + $FAX.count
  1012. + $CELL.count
  1013. + $VIDEO.count
  1014. + $PAGER.count
  1015. + $TEXTPHONE.count'/>
  1016. <!-- now we output all the parameters -->
  1017. <xsl:if test='$TYPE.count &gt; 0'>
  1018. <parameters>
  1019. <type>
  1020. <xsl:if test='$HOME.count=1'>
  1021. <text>home</text>
  1022. </xsl:if>
  1023. <xsl:if test='$WORK.count=1'>
  1024. <text>work</text>
  1025. </xsl:if>
  1026. <xsl:if test='$TEXT.count=1'>
  1027. <text>text</text>
  1028. </xsl:if>
  1029. <xsl:if test='$VOICE.count=1'>
  1030. <text>voice</text>
  1031. </xsl:if>
  1032. <xsl:if test='$FAX.count=1'>
  1033. <text>fax</text>
  1034. </xsl:if>
  1035. <xsl:if test='$CELL.count=1'>
  1036. <text>cell</text>
  1037. </xsl:if>
  1038. <xsl:if test='$VIDEO.count=1'>
  1039. <text>video</text>
  1040. </xsl:if>
  1041. <xsl:if test='$PAGER.count=1'>
  1042. <text>pager</text>
  1043. </xsl:if>
  1044. <xsl:if test='$TEXTPHONE.count=1'>
  1045. <text>texphone</text>
  1046. </xsl:if>
  1047. </type>
  1048. <xsl:if test='$PREF.count=1'>
  1049. <pref><integer>1</integer></pref>
  1050. </xsl:if>
  1051. </parameters>
  1052. </xsl:if>
  1053. <xsl:if test='$NUMBER.count=1'>
  1054. <uri><xsl:text>tel:</xsl:text><xsl:value-of select='NUMBER'/></uri>
  1055. </xsl:if>
  1056. </tel>
  1057. </xsl:template>
  1058. <xsl:template match='EMAIL'>
  1059. <email>
  1060. <xsl:variable name='HOME.count' select='count(HOME)'/>
  1061. <xsl:variable name='WORK.count' select='count(WORK)'/>
  1062. <!-- NOTE: vcard-temp allowed email types of INTERNET
  1063. and X400, but they were never in vCard3 -->
  1064. <xsl:variable name='PREF.count' select='count(PREF)'/>
  1065. <xsl:variable name='USERID.count' select='count(USERID)'/>
  1066. <!-- first we count the number of vCard TYPE parameters -->
  1067. <xsl:variable name='TYPE.count' select='$HOME.count + $WORK.count'/>
  1068. <!-- now we output all the parameters -->
  1069. <xsl:if test='$TYPE.count &gt; 0'>
  1070. <parameters>
  1071. <type>
  1072. <xsl:if test='$HOME.count=1'>
  1073. <text>home</text>
  1074. </xsl:if>
  1075. <xsl:if test='$WORK.count=1'>
  1076. <text>work</text>
  1077. </xsl:if>
  1078. </type>
  1079. <xsl:if test='$PREF.count=1'>
  1080. <pref><integer>1</integer></pref>
  1081. </xsl:if>
  1082. </parameters>
  1083. </xsl:if>
  1084. <xsl:if test='$USERID.count=1'>
  1085. <text><xsl:value-of select='USERID'/></text>
  1086. </xsl:if>
  1087. </email>
  1088. </xsl:template>
  1089. </xsl:stylesheet>
  1090. ]]></code>
  1091. </section2>
  1092. <section2 topic='Example of vcard-temp Data' anchor='migration-vcardtemp'>
  1093. <code><![CDATA[
  1094. <vCard>
  1095. <FN>Peter Saint-Andre</FN>
  1096. <N>
  1097. <FAMILY>Saint-Andre</FAMILY>
  1098. <GIVEN>Peter</GIVEN>
  1099. <MIDDLE/>
  1100. </N>
  1101. <NICKNAME>stpeter</NICKNAME>
  1102. <NICKNAME>psa</NICKNAME>
  1103. <PHOTO><EXTVAL>http://stpeter.im/images/stpeter_oscon.jpg</EXTVAL></PHOTO>
  1104. <PHOTO><EXTVAL>http://stpeter.im/images/stpeter_hell.jpg</EXTVAL></PHOTO>
  1105. <BDAY>1966-08-06</BDAY>
  1106. <ADR>
  1107. <WORK/>
  1108. <PREF/>
  1109. <EXTADD>Suite 600</EXTADD>
  1110. <STREET>1899 Wynkoop Street</STREET>
  1111. <LOCALITY>Denver</LOCALITY>
  1112. <REGION>CO</REGION>
  1113. <PCODE>80202</PCODE>
  1114. <CTRY>USA</CTRY>
  1115. </ADR>
  1116. <ADR>
  1117. <HOME/>
  1118. <EXTADD/>
  1119. <STREET/>
  1120. <LOCALITY>Parker</LOCALITY>
  1121. <REGION>CO</REGION>
  1122. <PCODE>80138</PCODE>
  1123. <CTRY>USA</CTRY>
  1124. </ADR>
  1125. <TEL><PREF/><WORK/><VOICE/><NUMBER>+1-303-308-3282</NUMBER></TEL>
  1126. <TEL><WORK/><FAX/><NUMBER>+1-303-308-3219</NUMBER></TEL>
  1127. <TEL><CELL/><VOICE/><TEXT/><NUMBER>+1-720-256-6756</NUMBER></TEL>
  1128. <TEL><HOME/><VOICE/><NUMBER>+1-303-555-1212</NUMBER></TEL>
  1129. <EMAIL><INTERNET/><PREF/><USERID>stpeter@jabber.org</USERID></EMAIL>
  1130. <EMAIL><WORK/><USERID>psaintan@cisco.com</USERID></EMAIL>
  1131. <JABBERID>stpeter@jabber.org</JABBERID>
  1132. <TZ>America/Denver</TZ>
  1133. <GEO><LAT>39.59</LAT><LON>-105.01</LON></GEO>
  1134. <TITLE>Executive Director</TITLE>
  1135. <ROLE>Patron Saint</ROLE>
  1136. <LOGO>
  1137. <TYPE>image/jpeg</TYPE>
  1138. <BINVAL>
  1139. /9j/4AAQSkZJRgABAQEASABIAAD//gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q/9sAQwAIBgYHBgUI
  1140. BwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy
  1141. /9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIy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ckzPu+62U2E5256Y7
  1155. 1S+Fkj1DxPDaXEe5YYHldc9doGAfdnFQLE+VDdCc2ZXDaQDMTgFDEC6H175zgjimcv6PfFmvXMcy
  1156. 6SttFtB8+4dIEIIz0PPfsKuE1O7tEMVoy2sfPs28Sxdev3Rmh5Jp52LyzSSnqS7E/nVkIcezrFlj
  1157. +ibSrC3aXWNbF9dAezaad93P+6Qjp8AKsNMt4LO1hgto0ihXhVj6CldrsSLoMt7qNhuiiDJyPSsc
  1158. k23Rfgi4qyphkCqAMcUQsue9TsGoAkDP1osXOT1oWO0x2JOeua2rPiki3GO/Hxr0L5F/nFGwNB2q
  1159. 2UWq2+MAXCcxv/g/GopkaNijqVdWIYHqDVSt9uDYbt2pRrKrJJDdgcyrh/7h/wDlawlZLnh7QB96
  1160. E46ivSnlDXyAAyFD/Nx9elZGQ0XHJVsH3VqSntk3W7oDgEYz6ULbWkkURUuxO9ySOMksTRY5iPx5
  1161. o6KaMxKSygnkjFdQUzhMca3Mau7KXXII28EdvnVv4FtTLq97dOwLR2PlDHUEsD/ioO1uHCg9Og9B
  1162. mrPwXrENomp3EynYApYoMkYGOfRfaHuqeKansdlHOMTOeOSelaxjml763ayalcBplW22K8bnoCRl
  1163. gT3x2xW21v4bosoDIRgKHGGbPTjPpzWjkmhUrYbFNhgPSjLYPN7K45oGNRtDnGCCc+6grvxhDZsY
  1164. rS3LBeN/9VSvbPTi+KK6GwGBucg0T5HljqSPhXMz4/uFmAa1brzk4qisfFS3UIcMR6g9qL12FS5d
  1165. FasLOOMAV5ktMDIwamLjxVFagmWTC+g60HF+kOw85UzIfftoJphbrsqTKYwynI7VlzMJdP2fzKQw
  1166. +VDJqFjqsPmW0w8wclfWtYV3kKLzlSaeLakZ5acT6jhZIz0Vhj4HtXqQFLuTjaXGTitJztZSuGjY
  1167. EgjHuomQ7khlHpzVh5h8Gfs+e5oK6juvtDbCQuAQMj0FGkZgweo3D8DXiUxiTBYZAHYelKdRw85h
  1168. uPImyG3glT0z61WadpVteeCdQu4DKk8ZKFVwd53DHPUDDduDioieSYsryZIJ4JGSapvB2pG21CWz
  1169. iLSR3kZR0ZcYI6H48kUvH2zRjLTdOngh+23gSGOFdzPMvKgEg4Pr299btN8Qw3Es8kenwolxJgvs
  1170. BaMKPZOex+HrQXirWJdQu10m0kLwwkCUr0kk/wDFe3zo/wAP6KqxyW8hO5wWIHfHXFZSjS0beNXO
  1171. 2Uk2bmyaKH75XaAPSpC48P3qysvnJEf5VPUiq/TzsYhSckkD4U4uNLtL61Czp7XZhwR8xWKu7LeK
  1172. emckk0a8VZGmkBYfcG7qaqvB+izSyMJh7O3INOx4bsrUmTy2kI6F2JApxo0ZWfftCx4xxTSbloEI
  1173. KPRz7xjp89veMsSkoOmKQR2N9bTKgtzJuI7HH1zXW9XsYrq4kWZCQ3Rh1FJk8LXayfsLobO3mJuo
  1174. xlx1QJwUttk3pDzwX8REEkTA9G6H1Hvq41Gznv8ASpoLMSCeZQIihwwbIPB7Vvh0j7PEPtDeY3rj
  1175. AHw9KUa3c3EVmY7aXy3LfeHXHGefnSOTsbhy+Jmm61JLdHS9e/02oqTHHdNgJKf6X9D6HpTpoJYk
  1176. aF125JIB6qf+4qXk0/8AWFnHJMfM8yMNyevFEaVq11psiWWozNLZniK4ckmP0Uk9vf2quLdbPKmq
  1177. k0ig3AxZyOWP1IoG5jZp2IYYwPyo+RCigEdwR7/nXxolJ+5TMCOMy6cjloldDclDtjZcBh2KnOAe
  1178. vFePCysNZkQTpbSG3lAkk6Icfn2oW3t7iBnTIwcYB7ntjPz+lPI41jucxxtPPHCHaRkUjOBk+hx+
  1179. NYObho1SbDNGh0+3id/MJkAOd45Pfj6U6s7t0j0yWYCMzxud3Ze+KWX7Lc2lr5YjMqIY9yLgMg4y
  1180. Pfk0PqazRaXpiSlxuQuAw6ZAroNysWMqdlIbhYH3owK9VPrX1vEwgXJcYHqaTpMG0+DJziNRSe9A
  1181. julMn7vbuHxrDjuj0Yz1ZTxa8sjm9v8Azvsi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kxQVhySqNIrtDjks9DSJWG3GWVutM7e4h
  1208. ljXzHDqP5ZBnHw7ilFrL5yQOmfLZAw+fNN7e3jVi7DrXs0qoha2aNV0uDUokEMqxSIxIDHIbIHHu
  1209. qQvrK5sJRHPEVcA4PZvgasb28gXIVFDD+YcZoIzG/ga2uYjLG3C46qT3rGeFVaOTKQXDNKwlOT0y
  1210. F93f51To5ihiQZAWJB0/2ipRgWiaQnLsNicDjA6mqaa1DuG2/wAqjqewAqFpp0zRHKNR/eCtel/x
  1211. ArKyvVZmEah+9Wvp/gz8Kyspl0cIZ/3bUvi6r/dWVlSZOx4maF/6wvz/ADNOtB/eXf8A8jVlZUcz
  1212. aPYXq38EfnUbcfxXyFZWUMQch0LTP4SH+2nX/sn4VlZXqx/VEz7EF19/50bpf8SPgPzrKyuAO4P3
  1213. 0vx/+oqw7D4D8qysrzcv7jro/9k=
  1214. </BINVAL>
  1215. </LOGO>
  1216. <ORG>
  1217. <ORGNAME>XMPP Standards Foundation</ORGNAME>
  1218. <ORGUNIT/>
  1219. </ORG>
  1220. <URL>https://stpeter.im/</URL>
  1221. <URL>http://www.saint-andre.com/</URL>
  1222. <KEY>
  1223. <CRED>
  1224. -----BEGIN PGP PUBLIC KEY BLOCK-----
  1225. Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
  1226. mQINBFETDzsBEAC0FOv1N3ZJzIIxN6cKD475KVS9CHDPeYpegcOIPnL5eY1DCHeh
  1227. /IwS1S7RCePtmiybNoV9FsI4PKUknzXQxA6LVEdAR/LUlhgJKjq+gsgp8lqbEILh
  1228. g13ecH66HwLS9rarbQkC47T7kL8miIPBFC6E3A4Lq1L+eueO6UcLhKgoYkMxOjdi
  1229. WrMgKTnVpch5ydLkPm/z0Zo8zRgqlPuTLeCrXXZYnjHXLVFN2xy04UzOs7P5u5KV
  1230. fx5Z7uQisr8pXtyLd6SpTZo6SHgKBv15uz0rqXhsJojiGtOXfWznAjaS5FUOORq9
  1231. CklG5cMOUAT8TNftv0ktsxaWDL1ELDVQPy1m7mtzo+VREG+0xmU6AjMo/GHblW1U
  1232. U7MI9yCiuMLsp/HLrFuiosqLVZ85wuLQ2junPe3tK8h15UcxIXAcpQ1VqIaDQFbe
  1233. uLOXJTF8YHpHdpHYt/ZM1ll7ZBKGAo8yd7uF7wJ9D3gUazwdz9fFjWV7oIk7ATwO
  1234. lFllzmWDn+M2ygbHOGUGMX5hSaa8eDSieiR2QoLdn27Fip7kMBTJ2+GISrfnJTN/
  1235. OQvmj0DXXAdxHmu2C4QgmZbkge35n129yzXn9NcqzrGLroV62lL3LgX6cSbiH5i7
  1236. GgWY6CAPb1pMogV0K475n9FvOSDRiG4QSO5yqKiA3OP5aKrIRp2TNAk4IwARAQAB
  1237. tCZQZXRlciBTYWludC1BbmRyZSA8c3RwZXRlckBzdHBldGVyLmltPokCOQQTAQIA
  1238. IwUCURMPOwIbAwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEOoGpJErxa2p
  1239. 6bgQAKpxu07cMDOLc4+EG8H19NWXIVVybOEvfGuHYZaLKkPrhrMZwJiOwBpyISNR
  1240. t9qzX1eLCVaojaoEVX6kD8MGc5zKFfiJZy3j7lBWl+Ybr7FfXYy2BbAXKx49e1n6
  1241. ci9LmBrmVfAEaxtDNPITZ9N9oUAb9vS0nrG036EwteEHAveQvlDjO7lhz6+Cv7lZ
  1242. QgBj9rZ6khfcQ4S3nSCQaKLQ9Iav4fqxI7SfuPKnx6quHX3JNLGnVo3wl+j/foCK
  1243. 0iTrmtHxCI3kc/bx6g32pRjHEPX0ALMBhmzU2uca+TE0zCEC96mgYXAUCwdnCFWy
  1244. beIEbt6pz65iML13kAVAq0H/GqncnMGN0MbOatnw1Tdz/vkLojIy7QbPcQ0plUFx
  1245. v5491xPfIrHhOWdRXp6WUt88fcqhT6MHZpVRtusj2ornKVVn+Y0GLsMMCTcrXJRG
  1246. 7Ao1YV72t/pJpzfGWSaaxolxDIZ6B+76jrIhUhiWgo/4nf+DN6BIlCZQ6j6xxjjx
  1247. 462cu02kuhIILTk2pzaMOufTBWx0uJhZk/KP2Fay/41pX7pvVOwRC4uIlKsLnJKL
  1248. PS7EDa4BUUxENfd/9LqOGwlII8BbSe98PLMI8sXkcigc3UXMVda9ll0YhQa+lbP1
  1249. NaszmnBhwuiCsgnPGbImsJuRzgEEgckwP/dNeyr6MlFMyfaeuQINBFETDzsBEADB
  1250. zOsEHpUmhkRUjH9Tek87dn5P/Yh/L/HptgCGk40TL/C+kYdkd3HyteMEf061PNms
  1251. S/Rq8k37Fu3VODYb9SPYKxtgksKSYUtIkPKvao09K9QNWPqyWuNf0F+iAjVMUuda
  1252. EVFJ7bHF310RDwLY5IvLeCXxtvG+Vv/i+g77d2WdPDp+zLJ8306C4yBKjSJV8xW0
  1253. cn2fd7NviIEN6cNHTsZNDZVMlgYPrxnwSq8GTEPGC7HsLIwGcx3hIe9QjnPw9CpA
  1254. mQENpDEyWcxgF5uwo2NJECoDswKz1Nb0gfawF3ZIbD+GcLujTu94iJuVg25jATWm
  1255. 9wTgcfZo4UPllRGXdIb8uWwUFQlLQgd4ROLZZtXNGmHIymJrV2crx53gxup+1j0X
  1256. qhlzKg8xbImWhEfS9oHZkRK8VHgmWSIt7TNwNir6N5j3lqwWVBhnu6GzF01sKGNy
  1257. SlqNRbd0fqhakCkK71b8ot8tYTcYG5Lg10z6HTbgQx2UwLthUjqbblDQ+GLmrOhi
  1258. WklLXRsnlnPMwnEyFePAnsT5tasy2Cn9qjpttNDah7PB8iFUi9mtTF/XDVgpFaB5
  1259. G3CDV7Q2NgbAI6g6QhLIAmXzSP635G83mda0TKXHQXHDyLJTTn+WVFU7t4m4uLt+
  1260. 0DsWU8jXHQWyUTNG9WPUrXhusDUAPHxFCQ/n/lQVBwARAQABiQIfBBgBAgAJBQJR
  1261. Ew87AhsMAAoJEOoGpJErxa2pqfgP/ApN+TRu2bBIgaw1dr3AznSSha84DIpXUDh3
  1262. udZvQrGbUtz8/mA+e3iZEN/cmmBw2LGlAuQoJNILTZQ318yTP+E5QU7fJH7FVsoh
  1263. UyvrMfyt3IMA9jg0Z9MuloLezvIjjMfFeNa0ROgDb/ubOT7JQzi1kwN8Lu3lO80H
  1264. wqBHXEeOLoislUSnZajRKvITbKWkZ6PHRjlMw1Wk4oIi6VLHgGgj79zzL3uhML26
  1265. 63m7imShvz1QcHTwvyR5i8cZbNOEkotZyERiA1p7YHuruS+QvTi3ZPoQbnMUB3a7
  1266. py9d11bw1+w3LiAUGZE/z5hBWOFxYtw+w/U/Vx0BwJGYlwU3M2W20uEXe+qxz7wn
  1267. akygKjmLiD2z4njfKjcNCiV3FmXrpmWgADln1c4jfxDh0NrndrsM8FPDf1TMPtOZ
  1268. gFDkKripc9xkZ/25P6xn27oTOHWKcAC0QhxSH+HuVBBRk8AgF+zAbDZe4/L6+kan
  1269. SrycIXW+wCzwBq61aWsz2QhhuKjozVkhk4dRG+CfjzAFjnyxwYERn3uXVKQAwTwc
  1270. dNcTI9RV98IsNrw9Y4lJEAg6CjNPmiD5+EASycqaOuToRSGukr8sOQLWLPyTnez/
  1271. aG8Xf7a+fntWzK2HuDYoSDhJJrylWw/lMklOBm4wtMeNA0zcQH6AQV/GzQVQkSGq
  1272. rLuMVIV/
  1273. =llGw
  1274. -----END PGP PUBLIC KEY BLOCK-----
  1275. </CRED>
  1276. </KEY>
  1277. <DESC>
  1278. More information about me is located on my
  1279. personal website: https://stpeter.im/
  1280. </DESC>
  1281. </vCard>
  1282. ]]></code>
  1283. </section2>
  1284. <section2 topic='Example of vCard4 XML Data' anchor='migration-vcard4'>
  1285. <code><![CDATA[
  1286. <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0">
  1287. <fn>
  1288. <text>Peter Saint-Andre</text>
  1289. </fn>
  1290. <n>
  1291. <surname>Saint-Andre</surname>
  1292. <given>Peter</given>
  1293. <additional></additional>
  1294. </n>
  1295. <nickname>
  1296. <text>stpeter</text>
  1297. </nickname>
  1298. <nickname>
  1299. <text>psa</text>
  1300. </nickname>
  1301. <photo>
  1302. <uri>http://stpeter.im/images/stpeter_oscon.jpg</uri>
  1303. </photo>
  1304. <photo>
  1305. <uri>http://stpeter.im/images/stpeter_hell.jpg</uri>
  1306. </photo>
  1307. <bday>
  1308. <date>1966-08-06</date>
  1309. </bday>
  1310. <adr>
  1311. <parameters>
  1312. <type><text>work</text></type>
  1313. <pref><integer>1</integer></pref>
  1314. </parameters>
  1315. <ext>Suite 600</ext>
  1316. <street>1899 Wynkoop Street</street>
  1317. <locality>Denver</locality>
  1318. <region>CO</region>
  1319. <code>80202</code>
  1320. <country>USA</country>
  1321. </adr>
  1322. <adr>
  1323. <parameters><type><text>home</text></type></parameters>
  1324. <ext></ext>
  1325. <street></street>
  1326. <locality>Parker</locality>
  1327. <region>CO</region>
  1328. <code>80138</code>
  1329. <country>USA</country>
  1330. </adr>
  1331. <tel>
  1332. <parameters>
  1333. <type><text>work</text><text>voice</text></type>
  1334. <pref><integer>1</integer></pref>
  1335. </parameters>
  1336. <uri>tel:+1-303-308-3282</uri>
  1337. </tel>
  1338. <tel>
  1339. <parameters>
  1340. <type><text>work</text><text>fax</text></type>
  1341. </parameters>
  1342. <uri>tel:+1-303-308-3219</uri>
  1343. </tel>
  1344. <tel>
  1345. <parameters>
  1346. <type><text>cell</text><text>voice</text><text>text</text></type>
  1347. </parameters>
  1348. <uri>tel:+1-720-256-6756</uri>
  1349. </tel>
  1350. <tel>
  1351. <parameters>
  1352. <type><text>home</text><text>voice</text></type>
  1353. </parameters>
  1354. <uri>tel:+1-303-555-1212</uri>
  1355. </tel>
  1356. <email>
  1357. <text>stpeter@jabber.org</text>
  1358. </email>
  1359. <email>
  1360. <parameters>
  1361. <type><text>work</text></type>
  1362. </parameters>
  1363. <text>psaintan@cisco.com</text>
  1364. </email>
  1365. <impp>
  1366. <uri>xmpp:stpeter@jabber.org</uri>
  1367. </impp>
  1368. <tz>
  1369. <text>America/Denver</text>
  1370. </tz>
  1371. <geo>
  1372. <uri>geo:39.59,-105.01</uri>
  1373. </geo>
  1374. <title>
  1375. <text>Executive Director</text>
  1376. </title>
  1377. <role>
  1378. <text>Patron Saint</text>
  1379. </role>
  1380. <logo>
  1381. <uri>data:image/jpeg;base64,
  1382. /9j/4AAQSkZJRgABAQEASABIAAD//gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q/9sAQwAIBgYHBgUI
  1383. BwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy
  1384. /9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy
  1385. MjIyMjIyMjIyMjIy/8AAEQgAgQB7AwEiAAIRAQMRAf/EABsAAAMAAwEBAAAAAAAAAAAAAAQFBgAD
  1386. BwIB/8QAPRAAAgEDAwIDBQQJBAEFAAAAAQIDAAQRBRIhMUEGE1EiYXGBkRQyobEHFSMzNEJScsEk
  1387. YtHw0jVDc8Lh/8QAGQEAAwEBAQAAAAAAAAAAAAAAAQIEAwAF/8QAJBEAAgICAgICAgMAAAAAAAAA
  1388. AAECEQMhEjEEQSJREzJCYXH/2gAMAwEAAhEDEQA/AOf2c0KGSY2pDFiinYMsCMfhj8aya6gdvZj9
  1389. ryg6A8eYuORxQk1rdzSHyZGQYO0GXAPv/MV6luDp8QgntkRyhAfHJ3Y5wOoxxXncbdiA9zp/6xQG
  1390. KaGFIhK208MwX09amCOeMEdjT3VLi1EaeVGHEi4WRCQVwAD7PY5/CkQYbcfdPUVbjTS2FGAHGele
  1391. 1nmXgOw6/iMV4LnHup/4c8L3/iWfbboIoFPt3D/dH/kfcKd0kOotukL/ALWs8SJNEPZGA4/z2omD
  1392. T7++dY7azuLlAOPs8Jfb9P8Amu1+Hv0Z+HtPjVp7YX846yXAyM+5elX1tDa2sKxwxRxoBgKigD6U
  1393. nJGn4a7OB+G/0Y67rlxuuIRptojDdcXS5c/2R9SfoPfXY/DvgzQvCiLJZW/m3uPavbgb5Sf9vZPl
  1394. 9TVCBAw5RfiODQ93Fdi3b9XyxiXt5iE59wNPGSEnja6N5VyCzHYh5LOcUvuNc0y0JDTtO/8ATGP8
  1395. 1Hahc6g87xX0ku9TyhbH4dKEA6AZx1prJ2n7KW58W3L5W1iS3H9XVsfGlMl3NdNvmld8/wBRoMHH
  1396. NbM5Hw5oAoIjALHPfA59O9KL218NS3byXtjE9w+GdivqBj8MUyk5ikAOPZ61rtreDUbaO5kiTeV2
  1397. HJ7r7P8AiuGSOXDyzBE1zlInAKFR6k9a+XFtHt8qWczjGVUKSAvPHu+VLftckzPu+62U2E5256Y7
  1398. 1S+Fkj1DxPDaXEe5YYHldc9doGAfdnFQLE+VDdCc2ZXDaQDMTgFDEC6H175zgjimcv6PfFmvXMcy
  1399. 6SttFtB8+4dIEIIz0PPfsKuE1O7tEMVoy2sfPs28Sxdev3Rmh5Jp52LyzSSnqS7E/nVkIcezrFlj
  1400. +ibSrC3aXWNbF9dAezaad93P+6Qjp8AKsNMt4LO1hgto0ihXhVj6CldrsSLoMt7qNhuiiDJyPSsc
  1401. k23Rfgi4qyphkCqAMcUQsue9TsGoAkDP1osXOT1oWO0x2JOeua2rPiki3GO/Hxr0L5F/nFGwNB2q
  1402. 2UWq2+MAXCcxv/g/GopkaNijqVdWIYHqDVSt9uDYbt2pRrKrJJDdgcyrh/7h/wDlawlZLnh7QB96
  1403. E46ivSnlDXyAAyFD/Nx9elZGQ0XHJVsH3VqSntk3W7oDgEYz6ULbWkkURUuxO9ySOMksTRY5iPx5
  1404. o6KaMxKSygnkjFdQUzhMca3Mau7KXXII28EdvnVv4FtTLq97dOwLR2PlDHUEsD/ioO1uHCg9Og9B
  1405. mrPwXrENomp3EynYApYoMkYGOfRfaHuqeKansdlHOMTOeOSelaxjml763ayalcBplW22K8bnoCRl
  1406. gT3x2xW21v4bosoDIRgKHGGbPTjPpzWjkmhUrYbFNhgPSjLYPN7K45oGNRtDnGCCc+6grvxhDZsY
  1407. rS3LBeN/9VSvbPTi+KK6GwGBucg0T5HljqSPhXMz4/uFmAa1brzk4qisfFS3UIcMR6g9qL12FS5d
  1408. FasLOOMAV5ktMDIwamLjxVFagmWTC+g60HF+kOw85UzIfftoJphbrsqTKYwynI7VlzMJdP2fzKQw
  1409. +VDJqFjqsPmW0w8wclfWtYV3kKLzlSaeLakZ5acT6jhZIz0Vhj4HtXqQFLuTjaXGTitJztZSuGjY
  1410. EgjHuomQ7khlHpzVh5h8Gfs+e5oK6juvtDbCQuAQMj0FGkZgweo3D8DXiUxiTBYZAHYelKdRw85h
  1411. uPImyG3glT0z61WadpVteeCdQu4DKk8ZKFVwd53DHPUDDduDioieSYsryZIJ4JGSapvB2pG21CWz
  1412. iLSR3kZR0ZcYI6H48kUvH2zRjLTdOngh+23gSGOFdzPMvKgEg4Pr299btN8Qw3Es8kenwolxJgvs
  1413. BaMKPZOex+HrQXirWJdQu10m0kLwwkCUr0kk/wDFe3zo/wAP6KqxyW8hO5wWIHfHXFZSjS0beNXO
  1414. 2Uk2bmyaKH75XaAPSpC48P3qysvnJEf5VPUiq/TzsYhSckkD4U4uNLtL61Czp7XZhwR8xWKu7LeK
  1415. emckk0a8VZGmkBYfcG7qaqvB+izSyMJh7O3INOx4bsrUmTy2kI6F2JApxo0ZWfftCx4xxTSbloEI
  1416. KPRz7xjp89veMsSkoOmKQR2N9bTKgtzJuI7HH1zXW9XsYrq4kWZCQ3Rh1FJk8LXayfsLobO3mJuo
  1417. xlx1QJwUttk3pDzwX8REEkTA9G6H1Hvq41Gznv8ASpoLMSCeZQIihwwbIPB7Vvh0j7PEPtDeY3rj
  1418. AHw9KUa3c3EVmY7aXy3LfeHXHGefnSOTsbhy+Jmm61JLdHS9e/02oqTHHdNgJKf6X9D6HpTpoJYk
  1419. aF125JIB6qf+4qXk0/8AWFnHJMfM8yMNyevFEaVq11psiWWozNLZniK4ckmP0Uk9vf2quLdbPKmq
  1420. k0ig3AxZyOWP1IoG5jZp2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/WlOOXyXmV3LbuBjqFOKG86VwSu3gdCc0El/Pavtcs
  1447. wHGCc0aJBcJ5ls6h+pU165mCudxGXYtnOOgFCzXgSJgxCRgd+rGjmkimO2T9nIOMilV/aOmWOGjJ
  1448. /wCmhK60cgAXOx/bJIY1vWeSBtybnU9QBS2aNIs7nJ9MCt1ndMDsyfQZPU9qmbT+Mh1raDpl+0Dc
  1449. o+tBeQ6ScJkVkd5JNqYt7OMyqAd2Ty3rj4UwhxOqyRZKn6j3GoMmNReiqMuW2b7RHwCRilviaQyf
  1450. Y4V5wxOPU04x5ERZuTj6UhvdUtoL3eEFxMowP6F9ce+kxQVhySqNIrtDjks9DSJWG3GWVutM7e4h
  1451. ljXzHDqP5ZBnHw7ilFrL5yQOmfLZAw+fNN7e3jVi7DrXs0qoha2aNV0uDUokEMqxSIxIDHIbIHHu
  1452. qQvrK5sJRHPEVcA4PZvgasb28gXIVFDD+YcZoIzG/ga2uYjLG3C46qT3rGeFVaOTKQXDNKwlOT0y
  1453. F93f51To5ihiQZAWJB0/2ipRgWiaQnLsNicDjA6mqaa1DuG2/wAqjqewAqFpp0zRHKNR/eCtel/x
  1454. ArKyvVZmEah+9Wvp/gz8Kyspl0cIZ/3bUvi6r/dWVlSZOx4maF/6wvz/ADNOtB/eXf8A8jVlZUcz
  1455. aPYXq38EfnUbcfxXyFZWUMQch0LTP4SH+2nX/sn4VlZXqx/VEz7EF19/50bpf8SPgPzrKyuAO4P3
  1456. 0vx/+oqw7D4D8qysrzcv7jro/9k=
  1457. </uri>
  1458. </logo>
  1459. <org>
  1460. <text>XMPP Standards Foundation</text>
  1461. </org>
  1462. <url>
  1463. <uri>https://stpeter.im/</uri>
  1464. </url>
  1465. <url>
  1466. <uri>http://www.saint-andre.com/</uri>
  1467. </url>
  1468. <key>
  1469. <text>
  1470. -----BEGIN PGP PUBLIC KEY BLOCK-----
  1471. Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
  1472. mQINBFETDzsBEAC0FOv1N3ZJzIIxN6cKD475KVS9CHDPeYpegcOIPnL5eY1DCHeh
  1473. /IwS1S7RCePtmiybNoV9FsI4PKUknzXQxA6LVEdAR/LUlhgJKjq+gsgp8lqbEILh
  1474. g13ecH66HwLS9rarbQkC47T7kL8miIPBFC6E3A4Lq1L+eueO6UcLhKgoYkMxOjdi
  1475. WrMgKTnVpch5ydLkPm/z0Zo8zRgqlPuTLeCrXXZYnjHXLVFN2xy04UzOs7P5u5KV
  1476. fx5Z7uQisr8pXtyLd6SpTZo6SHgKBv15uz0rqXhsJojiGtOXfWznAjaS5FUOORq9
  1477. CklG5cMOUAT8TNftv0ktsxaWDL1ELDVQPy1m7mtzo+VREG+0xmU6AjMo/GHblW1U
  1478. U7MI9yCiuMLsp/HLrFuiosqLVZ85wuLQ2junPe3tK8h15UcxIXAcpQ1VqIaDQFbe
  1479. uLOXJTF8YHpHdpHYt/ZM1ll7ZBKGAo8yd7uF7wJ9D3gUazwdz9fFjWV7oIk7ATwO
  1480. lFllzmWDn+M2ygbHOGUGMX5hSaa8eDSieiR2QoLdn27Fip7kMBTJ2+GISrfnJTN/
  1481. OQvmj0DXXAdxHmu2C4QgmZbkge35n129yzXn9NcqzrGLroV62lL3LgX6cSbiH5i7
  1482. GgWY6CAPb1pMogV0K475n9FvOSDRiG4QSO5yqKiA3OP5aKrIRp2TNAk4IwARAQAB
  1483. tCZQZXRlciBTYWludC1BbmRyZSA8c3RwZXRlckBzdHBldGVyLmltPokCOQQTAQIA
  1484. IwUCURMPOwIbAwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEOoGpJErxa2p
  1485. 6bgQAKpxu07cMDOLc4+EG8H19NWXIVVybOEvfGuHYZaLKkPrhrMZwJiOwBpyISNR
  1486. t9qzX1eLCVaojaoEVX6kD8MGc5zKFfiJZy3j7lBWl+Ybr7FfXYy2BbAXKx49e1n6
  1487. ci9LmBrmVfAEaxtDNPITZ9N9oUAb9vS0nrG036EwteEHAveQvlDjO7lhz6+Cv7lZ
  1488. QgBj9rZ6khfcQ4S3nSCQaKLQ9Iav4fqxI7SfuPKnx6quHX3JNLGnVo3wl+j/foCK
  1489. 0iTrmtHxCI3kc/bx6g32pRjHEPX0ALMBhmzU2uca+TE0zCEC96mgYXAUCwdnCFWy
  1490. beIEbt6pz65iML13kAVAq0H/GqncnMGN0MbOatnw1Tdz/vkLojIy7QbPcQ0plUFx
  1491. v5491xPfIrHhOWdRXp6WUt88fcqhT6MHZpVRtusj2ornKVVn+Y0GLsMMCTcrXJRG
  1492. 7Ao1YV72t/pJpzfGWSaaxolxDIZ6B+76jrIhUhiWgo/4nf+DN6BIlCZQ6j6xxjjx
  1493. 462cu02kuhIILTk2pzaMOufTBWx0uJhZk/KP2Fay/41pX7pvVOwRC4uIlKsLnJKL
  1494. PS7EDa4BUUxENfd/9LqOGwlII8BbSe98PLMI8sXkcigc3UXMVda9ll0YhQa+lbP1
  1495. NaszmnBhwuiCsgnPGbImsJuRzgEEgckwP/dNeyr6MlFMyfaeuQINBFETDzsBEADB
  1496. zOsEHpUmhkRUjH9Tek87dn5P/Yh/L/HptgCGk40TL/C+kYdkd3HyteMEf061PNms
  1497. S/Rq8k37Fu3VODYb9SPYKxtgksKSYUtIkPKvao09K9QNWPqyWuNf0F+iAjVMUuda
  1498. EVFJ7bHF310RDwLY5IvLeCXxtvG+Vv/i+g77d2WdPDp+zLJ8306C4yBKjSJV8xW0
  1499. cn2fd7NviIEN6cNHTsZNDZVMlgYPrxnwSq8GTEPGC7HsLIwGcx3hIe9QjnPw9CpA
  1500. mQENpDEyWcxgF5uwo2NJECoDswKz1Nb0gfawF3ZIbD+GcLujTu94iJuVg25jATWm
  1501. 9wTgcfZo4UPllRGXdIb8uWwUFQlLQgd4ROLZZtXNGmHIymJrV2crx53gxup+1j0X
  1502. qhlzKg8xbImWhEfS9oHZkRK8VHgmWSIt7TNwNir6N5j3lqwWVBhnu6GzF01sKGNy
  1503. SlqNRbd0fqhakCkK71b8ot8tYTcYG5Lg10z6HTbgQx2UwLthUjqbblDQ+GLmrOhi
  1504. WklLXRsnlnPMwnEyFePAnsT5tasy2Cn9qjpttNDah7PB8iFUi9mtTF/XDVgpFaB5
  1505. G3CDV7Q2NgbAI6g6QhLIAmXzSP635G83mda0TKXHQXHDyLJTTn+WVFU7t4m4uLt+
  1506. 0DsWU8jXHQWyUTNG9WPUrXhusDUAPHxFCQ/n/lQVBwARAQABiQIfBBgBAgAJBQJR
  1507. Ew87AhsMAAoJEOoGpJErxa2pqfgP/ApN+TRu2bBIgaw1dr3AznSSha84DIpXUDh3
  1508. udZvQrGbUtz8/mA+e3iZEN/cmmBw2LGlAuQoJNILTZQ318yTP+E5QU7fJH7FVsoh
  1509. UyvrMfyt3IMA9jg0Z9MuloLezvIjjMfFeNa0ROgDb/ubOT7JQzi1kwN8Lu3lO80H
  1510. wqBHXEeOLoislUSnZajRKvITbKWkZ6PHRjlMw1Wk4oIi6VLHgGgj79zzL3uhML26
  1511. 63m7imShvz1QcHTwvyR5i8cZbNOEkotZyERiA1p7YHuruS+QvTi3ZPoQbnMUB3a7
  1512. py9d11bw1+w3LiAUGZE/z5hBWOFxYtw+w/U/Vx0BwJGYlwU3M2W20uEXe+qxz7wn
  1513. akygKjmLiD2z4njfKjcNCiV3FmXrpmWgADln1c4jfxDh0NrndrsM8FPDf1TMPtOZ
  1514. gFDkKripc9xkZ/25P6xn27oTOHWKcAC0QhxSH+HuVBBRk8AgF+zAbDZe4/L6+kan
  1515. SrycIXW+wCzwBq61aWsz2QhhuKjozVkhk4dRG+CfjzAFjnyxwYERn3uXVKQAwTwc
  1516. dNcTI9RV98IsNrw9Y4lJEAg6CjNPmiD5+EASycqaOuToRSGukr8sOQLWLPyTnez/
  1517. aG8Xf7a+fntWzK2HuDYoSDhJJrylWw/lMklOBm4wtMeNA0zcQH6AQV/GzQVQkSGq
  1518. rLuMVIV/
  1519. =llGw
  1520. -----END PGP PUBLIC KEY BLOCK-----
  1521. </text>
  1522. </key>
  1523. <note>
  1524. <text>
  1525. More information about me is located on my
  1526. personal website: https://stpeter.im/
  1527. </text>
  1528. </note>
  1529. </vcard>
  1530. ]]></code>
  1531. </section2>
  1532. </section1>
  1533. <section1 topic='Acknowledgements' anchor='acks'>
  1534. <p>Thanks to Dave Cridland, Todd Herman, Joe Hildebrand, Waqas Hussain, and Matt Miller for their feedback.</p>
  1535. </section1>
  1536. </xep>