[Standards] UPDATED: XEP-0292 (vCard4 Over XMPP)

2011-04-07 Thread XMPP Extensions Editor
Version 0.2 of XEP-0292 (vCard4 Over XMPP) has been released.

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.

Changelog: Updated to track base vCard4 specs; defined IQ transport, with 
pubsub for notifications; added examples for server vCards; specified mapping 
from vcard-temp. (psa)

Diff: http://xmpp.org/extensions/diff/api/xep/0292/diff/0.1/vs/0.2

URL: http://xmpp.org/extensions/xep-0292.html



Re: [Standards] vCard4: IQ vs. PEP

2011-04-07 Thread Joe Hildebrand
On 4/7/11 8:50 AM, "Kevin Smith"  wrote:

>> 
>>  >     time='this was the last time I was online, and I cached all important
>> state'/>
>> 

> Ah. The problem here being that you can't use timestamps as UIDs, right?

It doesn't need to be a UID.  I can't tell everyone what the last item id I
got from every PEP node I subscribed to was.  Well, I could, but that seems
large and leaky.  This is a good-enough approach that is 100%
backward-compatible.  Old servers still send you everything.  New servers
that have too much state to figure out the deltas on this particular node
still send you everything.  Old clients still get everything.

It's important that an item with the same ID replaces an older item with
that ID, so if I get a few extra publishes from the clock-skew period,
they're just no-ops.

New servers that want to compress their storage based on the ID-overwrite
principal MAY do so, since subscribers won't have access to the intermediate
changes to a single item today anyway.

-- 
Joe Hildebrand