org-vcard
org-vcard copied to clipboard
vcf files exported by icloud
My vcf
file is exported from icloud. It has entries like this one:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//iOS 15.5//EN
N:Dr;Name;Name;;
FN:Name Name Dr
TEL;type=CELL;type=VOICE;type=pref:0123456789
item1.TEL:0123456789
item1.X-ABLabel:X-Name
item2.TEL:0123456789
item2.X-ABLabel:X-Private
REV:2022-06-15T01:00:46Z
END:VCARD
When I convert this file to org
contacts, only the name is converted:
* Name Name Dr
:PROPERTIES:
:VERSION: 3.0
:N: Dr;Name;Name;;
:END:
Thanks.
There are a couple of issues here:
-
i've not looked at the vCard specs for a while, but i believe the "itemn.*" lines might not be in the standards, and/or not in the formats specified by the standards. There's a customisable boolean variable,
org-vcard-include-import-unknowns
, which you could try setting tot
to ask org-vcard to import such data even if it can't parse it properly. -
Based on the output you provided, org-vcard is working as-designed: it's using the data of "FN" as the content of the contact's Org heading (the first line), and making "N" and its data an Org property. There's a customisable variable
org-vcard-default-property-for-heading
to influence this.
All that said, as i recently noted in a comment on another issue:
it's been years since i've actively used Org and org-vcard for managing contacts, and i'm no longer interested in working on this package - i have many other things on my plate that are a much higher priority for me. So i'm going to seek a new maintainer.
i've just updated the README to reflect this, and i'll shortly be submitting a post to r/emacs, seeking a new maintainer.