[Kde-pim] Re: KDE PIM and mobile device sync

Dotan Cohen dotancohen at gmail.com
Mon Nov 8 09:04:42 GMT 2010


2010/11/7 Ingo Klöcker <kloecker at kde.org>:
> Two remarks:
> - If the data is moved to the Notes field then, when synching the other
> way, the data will be duplicated in the Notes field and in the KDE
> specific fields.

Good point. I wonder if that can be detected then dealt with when
syncing back. For instance, if the user has a custom field Foo with a
value of Bar, it would be appended to the Notes field as:
Foo: Bar

When syncing back, Kaddressbook could parse the Notes field from the
last line upwards until it reaches a line that does not contain the
substring ": ", and of those lines would check each value pair for a
corresponding custom field. Of course, easier said than coded and I'm
not a C++ coder!


> - I think it's a very bad idea to restrict ourselves to the lowest
> common denominator just because some devices do not support fields that
> give a clear benefit to the users of KAddressBook. When looking at
> contacts stored on the SIM card of my mobile phone then the lowest
> common denominator would be a name and a single phone number.
>

I agree that restricting Kaddressbook to the lowest common denominator
is a terrible idea. I am thinking more along the lines of having the
cutoff point be not the lowest common denominator, but rather the
vCard spec. In fact, Tobias states vCard compatibility is a
Kaddressbook goal:
https://bugs.kde.org/show_bug.cgi?id=222684

Therefore, perhaps Kaddressbook should have these options regarding
fields displayed:
--------
Fields Display

() All fields
() All fields, nonstandard fields styled differently
() Only standard fields
--------

Some of the nonstandard fields currently in use by Kaddressbook include:
X-KADDRESSBOOK-X-AssistantsName
X-KADDRESSBOOK-X-IMAddress
X-messaging/skype-All
X-messaging/icq-All
X-KADDRESSBOOK-X-Anniversary

There are probably others, these I found by grepping a Kaddressbook vCard file.



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list