![]() |
Re: Importing contacts to GPE
I got it working, but it was a struggle. Try this:
Get your .vcf file ready. Open it up in a text editor. Replace "BEGIN:VCARD" with "ADD VCARD BEGIN:VCARD" (don't use the quotes) Next, replace "END:VCARD" with "END:VCARD QUIT" (please note that I used a carriage return in there. Find a text editor that allows you to search and replace with regular expressions. Now run: gpesyncd < yourfile.vcf Please tell me this works. I actually went one step farther to get it to work (I used a short perl script to split each address into separate files). If you don't have to do that, so much better. If you need it, I'll gladly post the script. |
Re: Importing contacts to GPE
Quote:
I used this web site to convert an Outlook .csv to .vcf http://homepage.mac.com/phrogz/CSV2vCard_v2.html Then used your text changes but still failed. |
Re: Importing contacts to GPE
Ok time to pull out the big guns.
Code:
#!/usr/bin/perl Code:
mkdir vcf Code:
for i in $(ls new*.vcf); do gpesyncd - ; done |
Re: Importing contacts to GPE
Quote:
|
Re: Importing contacts to GPE
After the difficulties discussed in this thread, I was a bit surprised (but gratified) that I was able to export my address book as vCard (2.1) from Lotus Notes, then import to GPE, on the first pass. It took a LONG time to import the file, though . . . my address book was only 69K, but it took 20-25 minutes for the import to finish. I thought for sure it had given up the ghost. The addresses were slightly munged in the process (city and state were transposed), but nothing I can't clean up manually.
|
Re: Importing contacts to GPE
Quote:
-Scurrie |
Re: Importing contacts to GPE
Quote:
Now that I have a clean contacts list, how does one back up this data? I'm sure there will be another OS update coming sooner or later... -Scurrie |
Re: Importing contacts to GPE
Quote:
|
Re: Importing contacts to GPE
Ok, I am officially ready to give up. While it's technically possible to import a vcf file to GPE Contacts by editing out enough of the content, it's just too much effort to develop an automated file adapter. So far I've probably made more than 500 painstakingly-slow test imports, stumbling over one idiotic non-robust import restriction after another. The lack of any error reporting except "Import failed" makes it horribly difficult to isolate problems. The vcf import routine in this app should be used as a textbook example of how not to write robust programs.
A few examples: - carriage-return/linefeed are allowed in some fields as the 6-character sequence =0D=0A, but are not allowed in other fields (like the Tel number), disagreeing partly with many of the apps that export vcf files - long lines can be continued by a trailing = sign - except for some fields (like the Tel field) where the programmer apparently assumed that it would always be short and forgot to check - if a continuation line after a trailing = anywhere in the file contains only one character, the importer fails - the programmer apparently having assumed that all continuation lines must contain more than one character or you wouldn't have bothered to continue it |
Re: Importing contacts to GPE
Don't know if anyone has a Mac but tried a sample export out of Address Book on Leopard of about 11 contacts into a Vcard. Transfered it to my N800 via bluetooth and then imported into GPE contacts and everything works and showed up exactly as what is on my Mac. Gonna try it tonight with a larger export. Will admit took about 1 minute to process but they were all correct.
|
All times are GMT. The time now is 05:21. |
vBulletin® Version 3.8.8