On Tue, 2005-01-04 at 10:57, Stewart Heitmann wrote:
> > - Use device capabilities to tell the syncengine which fields one device
> > does support and use this information to merge the data. This approach
> > can be complicated and afaik one of the members of the OMA has a patent
> > on this approach.
> 
> I think that's pretty much what I suggested but in different words.
> However I dont think it would be awfully difficult provided we can
> get hold of a decent vcard parser (perhaps the tricky part).
> Once the individual VCARD fields are isolated then most of the work is done.
> The sync engine then simply has to splice together the corresponding
> vcard fields from each device to make the new vcard record.
> 
> > - Use a archive. A archive is a sync source which is accessible only by
> > the syncengine and it must support a format which can store all fields
> > from all members. When a member synchronize, he always gets merged with
> > the archive. This way the archive contains all informations and never
> > looses it just because a member cannot support a field.
> 
> I am puzzled why you think this will help!!!!
> Archive or not, the device still needs to tell the sync engine which
> vcard fields it supports. So how does having an archive help that?

i will give you an example sync:

two devices: A and B

user adds this vcards to device A:

NAME:blubb
A-ONLY-FIELD:test

and syncs with B. Now the archive will contain both fields (the
converter has to map the A-ONLY-FIELD of course). the vcard in device B
will look like this (since B discards the A-ONLY-FIELD):

NAME:blubb

now the user modifies the contact on device B to:

NAME:blubb-new

and syncs again. Now the syncengine sees the information from B but does
a MERGE! with the archive before sending it to A. Therefore A will
receive this vcard:

NAME:blubb-new
A-ONLY-FIELD:test

and no information is lost.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Multisync-devel mailing list
Multisync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to