[jdev] Next Generation VCard (was vcard alternative)

Richard Dobson richard at dobson-i.net
Mon Feb 7 13:20:42 CST 2005


For this vcard alternative stuff why dont we just use a namespaced x:data 
payload, with sets of the standard fields registered with the jabber 
registrar e.g.

<userinfo xmlns='http://jabber.org/protocol/userinfo'>
    <x xmlns='jabber:x:data' type='result'>
      <field type='text-single' var='name'>
        <value>Mr Romeo</value>
      </field>
      <field type='text-single' var='nick'>
        <value>Romeo</value>
      </field>
      <field type='text-single' var='email'>
        <value>romeo at jabber.org</value>
      </field>
    </x>
</userinfo>

And use an IQ get or pubsub or whatever to distribute this?

Richard





More information about the JDev mailing list