Talk:Import Vcf Contacts

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Delete all script for ASU?)
(should we rename or move content?)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Exporting your contacts from Thunderbird'''
+
== vcf 3.0 to 2.1 conversion workaround ==
  
Get "MoreFunctionsForAddressBook" from  
+
I'm trying to import my contacts from evolution, which can apparently only export vcf 3.0, and I couldn't find a converter to 2.1.
http://nic-nac-project.de/~kaosmos/morecols-en.html
+
What I found is a [http://lists.openmoko.org/nabble.html#nabble-td784024 mailing list thread] with a workaround using sed and iconv. The command needed is:
  
Install the downloaded *.xpi file in Thunderbird.
+
sed -r -e 's/;TYPE=([^,]+),[^;]+([;:])/;TYPE=\1\2;/g' old.vcf | iconv -t 'ascii//TRANSLIT' > new.vcf
Export your address books to a file in Vcf format.
+
"scp" the text file containing your contacts to somewhere in your phone.
+
run phyton script.
+
Works beautifully!.
+
  
This can be expanded to a howto. Let me know what you think.
+
This transliterates special characters. I'll try to find out if it is also able to convert the special chars properly.
Cheers, Saul
+
Other than that, I get plenty of
  
== Import for ASU/Qtopia ==
+
found unknown attribute in vobject, TEL
  
If Contacts loads but no confirm dialogue appears try renaming the file to .vcf.<br>
+
warnings. Any idea where those come from? --[[User:Ockham|Ockham]] 23:30, 27 September 2008 (UTC)
I was trying to do this with a .txt file and changing it to .vcf made it work as described.
+
  
 +
nevermind. i found out myself and added a section to the article. --[[User:Ockham|Ockham]] 18:34, 28 September 2008 (UTC)
  
== Delete all script for ASU? ==
 
  
The remove all script returns an error on ASU -
+
== exporting ==
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch requested, but X11 support not compiled in.
+
  
is there an ASU friendly version?
+
I would like to neaten this up by either creating a new page for exporting or put everything related to contact management here ergo renaming the page. thoughts?
 
+
[[User:Monkeypanic|Monkeypanic]] 02:59, 16 October 2008 (UTC)
Edit - Qtopia uses an SQLite database and that should be edited to achieve this.
+

Latest revision as of 03:59, 16 October 2008

[edit] vcf 3.0 to 2.1 conversion workaround

I'm trying to import my contacts from evolution, which can apparently only export vcf 3.0, and I couldn't find a converter to 2.1. What I found is a mailing list thread with a workaround using sed and iconv. The command needed is:

sed -r -e 's/;TYPE=([^,]+),[^;]+([;:])/;TYPE=\1\2;/g' old.vcf | iconv -t 'ascii//TRANSLIT' > new.vcf

This transliterates special characters. I'll try to find out if it is also able to convert the special chars properly. Other than that, I get plenty of

found unknown attribute in vobject, TEL

warnings. Any idea where those come from? --Ockham 23:30, 27 September 2008 (UTC)

nevermind. i found out myself and added a section to the article. --Ockham 18:34, 28 September 2008 (UTC)


[edit] exporting

I would like to neaten this up by either creating a new page for exporting or put everything related to contact management here ergo renaming the page. thoughts? Monkeypanic 02:59, 16 October 2008 (UTC)

Personal tools

Exporting your contacts from Thunderbird

Get "MoreFunctionsForAddressBook" from http://nic-nac-project.de/~kaosmos/morecols-en.html

Install the downloaded *.xpi file in Thunderbird. Export your address books to a file in Vcf format. "scp" the text file containing your contacts to somewhere in your phone. run phyton script. Works beautifully!.

This can be expanded to a howto. Let me know what you think. Cheers, Saul

Import for ASU/Qtopia

If Contacts loads but no confirm dialogue appears try renaming the file to .vcf.
I was trying to do this with a .txt file and changing it to .vcf made it work as described.


Delete all script for ASU?

The remove all script returns an error on ASU - dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch requested, but X11 support not compiled in.

is there an ASU friendly version?

Edit - Qtopia uses an SQLite database and that should be edited to achieve this.