Quoting mike at bodaro.com, on Thu, Feb 15, 2007 at 05:17:43PM
-0800:> does anyone have some code, a method or some ideas on writing a merge or
> sync method for the Vpim::Vcard class?
Well, I''ve no code, but if you write something, pls send it!
> The idea is that the merge or sync method would be an instance method
> that takes another Vcard as a parameter (presumably with the same name
> ''N'' field value). the method would look at fields of both
vcards -
> merging together fields with the same type/name and adding a superset of
> un-common fields into the current object.
I suspect automating it might be hard, I know OS X''s address book
offers
some choices, and allows the person to resolve conflicts. You could
built code that was UI-free, though, and then the accept/reject could be
in the UI/cmd line, whatever, but the core logic could be in a library.
Sam