[opensuse] KAddressBook and Vcards
While trying to migrate my outlook contacts over to SuSE 10.3, I exported everything as Vcards (.vcf) and then figured I would import them into KAddressBook. That works fine, except the preview pane shows "\r"s after most lines in sections. I tried stripping out the "\r"s, figuring it was an issue with windows VS Unix text files with a loop: for i in *.vcf do tr -d '\105' < $i > out.$i; done Which worked, but now none of them are valid Vcards. as best I can tell Vcards are required to have the cr/lf at the end of every field? but at the same time, KAddressBook does not expect them within fields. The part that makes it funnier is that if I open up a contact some fields have the same problem (like the notes field), but some don't (like the address preview). Also, the \r does not show up on the card preview. Has anyone else run into this? is there an easy fix? is a quick, easy, way fix my 100+ vcards so they import correctly? thanks, -Jesse
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesse Shaver wrote:
While trying to migrate my outlook contacts over to SuSE 10.3, I exported everything as Vcards (.vcf) and then figured I would import them into
for i in *.vcf do tr -d '\105' < $i > out.$i; done
Which worked, but now none of them are valid Vcards. as best I can tell Vcards
Ummm.. valid Vcards lovely idea :-)... the specification is so broad that you can damn near do anything.. What is probably more accurate is that the application does not understand the format of the VCard.... Solution... not nice ... find out what the application expects from a VCard by filling in relevant dummy fields .... export VCard.... write something in you favourite text processing language which translate VCard format A to VCard format B...
Has anyone else run into this? is there an easy fix? is a quick, easy, way fix my 100+ vcards so they import correctly?
This is fairly common with devices or applications which export or import in VCard format... usually hit this when migrating phones e.g. Sony Ericcson to Nokia vice versa or moving info between PIM and Phone.
thanks, -Jesse
- -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHIbVBasN0sSnLmgIRAvp8AJ9wcf9QAye+8cmuER/ic6TBHvUUaQCgrnTe coY3Zh4wwb4oET5nqrfy9EQ= =Scbx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 26 October 2007 05:37:05 am G T Smith wrote:
Ummm.. valid Vcards lovely idea :-)... the specification is so broad that you can damn near do anything.. What is probably more accurate is that the application does not understand the format of the VCard....
Solution... not nice ... find out what the application expects from a VCard by filling in relevant dummy fields .... export VCard.... write something in you favourite text processing language which translate VCard format A to VCard format B...
I kind of had a suspicion that that is what it was going to come down to, was just hoping that there was a simpler option
This is fairly common with devices or applications which export or import in VCard format... usually hit this when migrating phones e.g. Sony Ericcson to Nokia vice versa or moving info between PIM and Phone.
ok, thanks. -Jesse
participants (2)
-
G T Smith
-
Jesse Shaver