Damn. The vCard project for Mozilla and Thunderbird is in hiatus – practically abandoned. Damn.
#Software
(Please contact me if you want to remove your comment.)
⁂
You want your to import your vcards in thunderbird?
Use an outlook express installed on a windows near you to import your vcards, next import the address book of outlook inside thunderbird. to import more than one vcard at a time try drag an drop. (I never tried all this, but it works for emails that I was only able to export as .eml from a mail client)
– PierreGaston 2005-02-22 09:34 UTC
---
Hehe. No Outlook near me... But I think I can use Robert Fenk’s bbdb-rf.el to produce a Thunderbird CSV file.
(add-to-list 'bbdb-csv-export-fields '(thunderbird ("First Name" firstname) ("Last Name" lastname) ("Display Name" name) ("Nickname" aka) ("Primary Email" email) ("Secondary Email" email 1) ("Work Phone" phone "work" "office") ("Home Phone" phone "home") ("Fax Number" phone "fax") ("Pager Number" phone "pager") ("Mobile Number" phone ("mobile" "cell")) ("Home Address" street "home") ("Home Address 2") ("Home City" city "home") ("Home State" state "home") ("Home ZipCode" zip "home") ("Home Country" zip "country") ("Work Address" street ("work" "office")) ("Work Address 2") ("Work City" city ("work" "office")) ("Work State" state ("work" "office")) ("Work ZipCode" zip ("work" "office")) ("Work Country" country ("work" "office")) ("Job Title") ("Department") ("Organization" company) ("Web Page 1" www) ("Web Page 2") ("Birth Year") ("Birth Month") ("Birth Day") ("Custom 1" mail-alias) ("Custom 2") ("Custom 3") ("Custom 4") ("Notes" notes))) (setq bbdb-csv-export-type 'thunderbird)
I had problems with multiline notes, however. Rather than wrapping them all onto one line, I decided to try something else:
1. replace all instances of ””,<*code> with , in the resulting bbdb.csv*
2. replace all instances of the remaining ””<*code> with ’*
This will keep the linebreaks intact when importing, but it will replace doublequotes with singlequotes.
The one remaining problem is how to encode the file. When I *export* a file from Thunderbird, the encoding seems to be invalid: It’s Latin-1 and UTF-8 mixed!!?
– Alex Schroeder 2005-02-22 10:12 UTC
---
I manually had to remove the four entries that cannot be encoded in Latin-1 and successfully imported the file! 😄
– Alex Schroeder 2005-02-22 10:24 UTC
---
Is there a way to do it the other way round ? As in, take the csv values exported from thunderbird, and then import it into bbdb ?
– Anupam 2005-04-14 04:47 UTC
---
Well, bbdb-rf.el only does export... So I guess you’d have to use some other package. One of the packages used for syncing with a PDA, perhaps?
– Alex Schroeder 2005-04-14 10:01 UTC
---
I’ve just found this page
while searching for import/export options. I can’t see where to get the code though.
– daudi 2005-05-08 14:12 UTC
---
here ?:
– Anonymous 2005-05-08 15:11 UTC
---
Maybe I should start worrying about writing tools to edit (eg. merge) my Thunderbird address book.
– Alex Schroeder 2005-05-11 23:01 UTC