Hello Patrick,

Sorry for the delayed reply : was terribly busy the last few days...
Here is the summary
The default fields are:


and i am a bit doubtful of 
X-KADDRESSBOOK-X-Profession : which i am mapping to ROLE.

I couldnt find any alternative for X-KADDRESSBOOK-X-IMAddress, So i added a field in 00vcard-filelist.xml

here is the commit , please review it :


If this is okay, I will add the remaining fields too ... (KABC stores cryptographic keys etc.. as kde specific fields and the IM handles).

Yes to both. Use rule="KDE". Here's what it should look like:

       <!-- item for SyncML server: EVOLUTION rule not active,
            both X-EVOLUTION-MANAGER and X-MANAGER are sent.

            item from SyncML server: EVOLUTION rule not active,
            both X-EVOLUTION-MANAGER and X-MANAGER are checked,
            but X-EVOLUTION-MANAGER later so that it overwrites
            a value set earlier by X-MANAGER (if any). This is
            a more or less arbitrary priority, chosen because
            servers that know about SyncEvolution (ScheduleWorld,
            Memotoo) use the X-EVOLUTION variant.

            item to/from Evolution: EVOLUTION rule is active,
            only X-EVOLUTION-MANAGER is used. -->
       <property name="X-EVOLUTION-MANAGER" suppressempty="yes" delayedparsing="1">
         <value field="MANAGER" show="yes"/>
       <property name="X-MANAGER" suppressempty="yes" rule="EVOLUTION"/> <!-- disables the X-MANAGER for EVOLUTION -->
       <property name="X-MANAGER" suppressempty="yes" rule="KDE"/> <!-- disables the X-MANAGER for KDE -->
       <property name="X-MANAGER" suppressempty="yes" rule="other">
         <value field="MANAGER" show="yes"/>
       <!-- only enable this when talking to KDE backend -->
       <property name"X-KADDRESSBOOK-SPOUSE" rule="KDE">
         <value field="MANAGER"/>
you mean <value field="SPOUSE">  right??

Note that there was some dispute about the name of the X- extensions
used by KDE. I picked something as placeholder above from memory, better
check this with real test data.

> Also certain fields ,like SPOUSE, are in both Evolution and
> KAddressbook. So should I be using the same field name for both? 

Yes, absolutely. The field name must be the same, so that the Synthesis
engine can do the mapping in the different profiles.

I have not forgotten that you also want to handle arbitrary extensions
as defined by users of the KDE suite. Can you give an example how such
extensions look like? Is allowed to have the same X-FOOBAR property
multiple times?

Basically The extensions are of the form: 


X-KADDRESSBOOK-CRYPTOPROTOPREF:inline openpgp\,openpgp/mime\,s/mime\,s/mime


One can actually define the "key" after X-KADDRESSBOOK-*.
My Guess is that the key is supposed to be unique (or else all but the data from the last key is wiped out, if the key is of the same "datatype", if the key is of different data type, the data is being reset), because the user can define a "Title" for each field he adds, and assign a "Value" to the title,  and KAddressbook will take care of the mapping from keys to titles. I will confirm this with the maintainer soon.

Once this is reviewed, i will have to add the remainder of the fields and also solve, the weird KOrganizer bug.


Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.

SyncEvolution mailing list