[turba] Import Addresses from Korganizer

Michael Rubinsky mike at theupstairsroom.com
Thu Nov 16 17:42:09 PST 2006


Quoting Stefan Stolz <s.newslists at googlemail.com>:

> Zitat von Michael Rubinsky <mike at theupstairsroom.com>:
>
>> You are importing a vcard file.  Turba understands what to map the
>> standard vcard fields to.  If you were importing another file type,
>> say a CSV file, if the field names in the imported file do not match
>> any known turba fields (fields that are defined in the attributes.php
>> and sources.php files), then you would be asked on the import screen
>> what field it should map to.
> Hmm, ok, but if i make a new field (for example for BDAY or NOTE),  
> how do i know how i must name it in the attributes.php?

Turba_Driver::toHash() performs the translation from vCard to turba  
fields. BDAY is mapped to 'birthday', NOTE is mapped to 'notes'. Other  
supported vCard fields  can be determined by browsing this method.

>
> And what is with multiple EMAIL addresses?
>
> EMAIL;TYPE=PREF:123 at 25
> EMAIL:321 at 25
> EMAIL:52 at 25

I'm not 100% sure of this off hand, but IIRC, only one email address  
is imported, if there are more than one address present, then the one  
flagged as 'PREF' is used.  Perhaps someone else on list can verify  
this for you.



Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/turba/attachments/20061116/d76a8c4c/attachment.bin


More information about the turba mailing list