[Om2008.9] How to export Vcf Contacts from FR?

Matthias Apitz guru at unixarea.de
Sun Oct 12 13:25:51 CEST 2008

El día Friday, October 10, 2008 a las 04:40:05AM -0700, Steven Goyvaerts escribió:

> Hi,
> I found this on the wiki.



I withdraw my question how one could unload the contacts in the FR to
vCard format :-)

Converting my old CSV based cellphone contacts to vCard with the KDE Kaddressbook
tool let me think that the correct place for the 'master database' of my
contacts is not the FR itself, but the Kaddressbook tool itself; the internal format
of Kaddressbook is already vCard 3.0 and it's just easy to copy it over
to the FR and load it there as:

$ scp ~/.kde/share/apps/kabc/std.vcf root at moko:.
$ ssh root at moko

# DISPLAY=:0.0 export DISPLAY
# addressbook ./std.vcf

that's all; before loading the contacts in the FR I'm just dropping the
old database with sqlite3 as described in the Wiki with a small script;

the problem with vCard 3.0 are the mangled non-ASCII chars of the
UTF-8 input file; and as well the NICKNAME is not filled in from the
file into the contact; the file reads for example:

FN:Lina Maria Lozano Manchola
N:Lozano Manchola;Lina Maria;;;

but 'Linchen' does not get inserted into the FR contact field 'Nickname';

any idea? thx


Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

More information about the community mailing list