Can't import vcard version 3 into address book
I exported my contacts from my web-based ISP's email as a VCARD.vcf (version 3) file - which is the only option my ISP provides for exporting contacts - but when I try to import that file into Thunderbird's Address book, none of the fields are populated.
Solução escolhida
Take the example from Wikipedia not from my answer. I also loose crlf when copying from my answer, something changes and doesn't import.
There are key -words for fields like N: EMAIL: somehow it shouldn't be to hard to use a script to search for those words and insert a CRLF before. That i if your provider doesn't want to check it up.
Ler esta resposta 👍 1Todas as respostas (9)
Try importing with this add-on:
https://freeshell.de//~kaosmos/morecols-en.html
In Address Book, Tools/MoreFunctionsForAddressBook/Actions for contacts/Import vCard/vcf
I tried that, and no luck.
Have to ask the obvious: did you close and re-open Address Book? Often, imported address books only show up correctly after doing this.
Yes, I'm aware of that, but it still didn't work. Sadly I don't think that it supports Vcard version 3.0 imports... I do have a workaround, and that is to use a Vcard to CSV conversion utility, and then I can import the CSV file, but am limited to 20 Kb for the Vcard file.
The add-on webpage mentions support for vCard 3, but it still may not work if your ISP's vCard is 'non-compliant'.
A quick search found this utility that has an 8 MB limit:
http://labs.brotherli.ch/vcfconvert/
Try LDIF format (native TB format), too.
According to my ISP, the Vcard is compliant, and that is the only option they provide for exporting contacts. Thanks for your suggestions.
My MoreFunctionsForAddressBook imports ( and exports) vcards version 3.
Open your .vcf file in a text-viewer. Each record should have this structure with unused fields not showing, from Wikipedia
BEGIN:VCARD VERSION:3.0 N:Gump;Forrest;;Mr. FN:Forrest Gump ORG:Bubba Gump Shrimp Co. TITLE:Shrimp Man PHOTO;VALUE=URL;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif TEL;TYPE=WORK,VOICE:(111) 555-1212 TEL;TYPE=HOME,VOICE:(404) 555-1212 ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America LABEL;TYPE=WORK:100 Waters Edge\nBaytown\, LA 30314\nUnited States of America ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America LABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of America EMAIL;TYPE=PREF,INTERNET:forrestgump@example.com REV:2008-04-24T19:52:43Z END:VCARD
You can make a test-file with this (above) text and import it.
Alterado por Gnospen em
My Vcard has the same fields, etc... the only difference is that in my version, there are no CRLFs. I tried creating a new Vcard file using the above example, and it did not import either. Perhaps I need some other Add-on? I do have MoreFunctionsForAddressBook 0.7.3 and Lightning 4.0.3 as my only Add-Ons.
Solução escolhida
Take the example from Wikipedia not from my answer. I also loose crlf when copying from my answer, something changes and doesn't import.
There are key -words for fields like N: EMAIL: somehow it shouldn't be to hard to use a script to search for those words and insert a CRLF before. That i if your provider doesn't want to check it up.