Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

How to export contacts to VCF 2.1 under Thunderbird 91 ?

  • 2 одговорa
  • 1 има овај проблем
  • 1 преглед
  • Последњи одговор послао Cbhihe

more options

Hi, around Nov. 2020, TB started using VCF 4.0 to export address book contacts (beside csv, tsv and LDIF). Prior to that I happily exported to previous VCF formats (2.1 or 3.0). I need to go back to exporting to the VCF 2.1 format, in order to feed the exported file to some other legacy application that will only consider VCF 2.1. Is there a way to do so with TB 91.3 (under Linux) ? If so how ? Tx.

Hi, around Nov. 2020, TB started using VCF 4.0 to export address book contacts (beside csv, tsv and LDIF). Prior to that I happily exported to previous VCF formats (2.1 or 3.0). I need to go back to exporting to the VCF 2.1 format, in order to feed the exported file to some other legacy application that will only consider VCF 2.1. Is there a way to do so with TB 91.3 (under Linux) ? If so how ? Tx.

Изабрано решење

Given that the vcard is a self describing XML formatted document with each version basically expanding on previous ones. Does just editing the resulting file and changing the stated vcard version allow it to work with ancient software that is checking the vcard version number??

Прочитајте овај одговор са објашњењем 👍 0

Сви одговори (2)

more options

Одабрано решење

Given that the vcard is a self describing XML formatted document with each version basically expanding on previous ones. Does just editing the resulting file and changing the stated vcard version allow it to work with ancient software that is checking the vcard version number??

more options

Thanks Matt. Editing the file with either `sed` or `awk` or using python regex is always a possibility. I just did not want to reinvent the wheel in case something already existed. From what I saw out there, there is nothing readily available, so I will roll my own editing tool from the shell probably. The only menial issue is that VCF 4.0 introduces new sub categories for many parameter "keys", so I will need to look that up for about 3650 VCards. That's about 38000 lines of text altogether, (nothing `sed` or `awk` can't handle). What I am most concerned about is parsing non-ASCII characters (UTF-16) adequately.