为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't import vcard version 3 into address book

  • 9 个回答
  • 3 人有此问题
  • 40 次查看
  • 最后回复者为 Gnospen

more options

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.

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.

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (9)

more options

Try importing with this add-on:

https://freeshell.de//~kaosmos/morecols-en.html

In Address Book, Tools/MoreFunctionsForAddressBook/Actions for contacts/Import vCard/vcf

more options

I tried that, and no luck.

more options

Have to ask the obvious: did you close and re-open Address Book? Often, imported address books only show up correctly after doing this.

more options

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.

more options

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.

more options

According to my ISP, the Vcard is compliant, and that is the only option they provide for exporting contacts. Thanks for your suggestions.

more options

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.

由Gnospen于修改

more options

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.

more options

选择的解决方案

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.