Re: Importing Contacts from Thunderbird

2009-03-13 Thread Will Siddall
Hey guys,
I suppose a little update.  I've recently switched to SHR-Testing and
a little while on SHR-Unstable.  Currently there is no import
functionality, but thanks to Aleš Horák, he's created some scripts
called the DBus Access Scripts for handling the SIM phonebooks.
For those wishing to use these scripts and are needing to convert your
VCF 3.0 files from Thunderbird or otherwise to VCF 2.1, please run the
following:

sed -r -e 's/;TYPE=([^,]+),[^:]+;/;\1:/g' old.vcf  new.vcf
sed -r -e 's/VERSION:3.0/VERSION:2.1/g' new.vcf  new.vcf

On the FR, run:
./ImportContacts new.vcf

If the contacts.sh file is created and filled but doesn't import, then
you will need to check for the following in the contacts.sh file:
- Windows EOL character (^M) at the end of the name and number field
- An apostrophe or quote in the name (' or )

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-21 Thread Al Johnson
If I understand the sed command it is changing some of the syntax from vCard 
v3.0 to vCard v2.1. I guess the addressbook app doesn't handle v3.0 but 
doesn't check the VERSION entry in the vCard either.

On Sunday 21 December 2008, Dennis Wollersheim wrote:
 Hey Will

 Can you tell me what you found out about the format? It also does not
 import contacts from jpilot.

 Cheers
 Dennis

 Will Siddall wrote:
  Hey,
  I know there's a wiki item for this, but I just have to send it to
  everyone.  I want to edit the wiki, but I don't know if anyone has run
  into this problem yet.
 
  The wiki shows to install a VCF plugin for thunderbird then just
  import the VCF into your contacts app.  I had a lot of problems with
  this and actually found that the format of the VCF file doesn't match
  what 'addressbook' is looking for.
 
  Instead, here are the steps I found to work and if anyone can confirm
  this, I will add it to the wiki.
 
  1: Export your addressbook/contacts to VCF file(s)
  2: From your terminal, run:
  sed -r -e 's/;TYPE=([^,]+),([^:]+):/;\1;\2:/g' old.vcf  new.vcf
  3: From your OpenMoko, run:
  addressbook new.vcf
 
  Will
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-21 Thread Will Siddall
 Can you tell me what you found out about the format? It also does not
 import contacts from jpilot.

What I noticed is that in most contact lines, the format would be:

TEL;TYPE=CELL,VOICE:5551234567

the sed line pretty much changes the line to:

TEL;CELL;VOICE:5551234567

Now, I'm no expert on the VCard format, but this a big difference
between the formats that did work and what I had that didn't.  So, I
applied this line to a VCard that had about 100 contacts and
everything went in afterwards (after taking out multiple line notes)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-20 Thread Dennis Wollersheim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey Will

Can you tell me what you found out about the format? It also does not
import contacts from jpilot.

Cheers
Dennis

Will Siddall wrote:
 Hey,
 I know there's a wiki item for this, but I just have to send it to
 everyone.  I want to edit the wiki, but I don't know if anyone has run
 into this problem yet.
 
 The wiki shows to install a VCF plugin for thunderbird then just
 import the VCF into your contacts app.  I had a lot of problems with
 this and actually found that the format of the VCF file doesn't match
 what 'addressbook' is looking for.
 
 Instead, here are the steps I found to work and if anyone can confirm
 this, I will add it to the wiki.
 
 1: Export your addressbook/contacts to VCF file(s)
 2: From your terminal, run:
 sed -r -e 's/;TYPE=([^,]+),([^:]+):/;\1;\2:/g' old.vcf  new.vcf
 3: From your OpenMoko, run:
 addressbook new.vcf
 
 Will
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 

- --
- ---
Dennis Wollersheim
Lecturer, Health Information Management
La Trobe University
Bundoora Victoria 3086
Room HS1:110
(03) 9479 1763 (bh)
0414 529 454 (mobile)
http://homepage.cs.latrobe.edu.au/dewoller
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org

iEYEARECAAYFAklNxoIACgkQ41ROt9TlFkrZSQCgrdvN66a0B05VoUKwbQt9mDov
pxAAnjw/PxxdncEi0wy2+y58aLFl3iz1
=6ini
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Importing Contacts from Thunderbird

2008-12-19 Thread Will Siddall
Hey,
I know there's a wiki item for this, but I just have to send it to
everyone.  I want to edit the wiki, but I don't know if anyone has run
into this problem yet.

The wiki shows to install a VCF plugin for thunderbird then just
import the VCF into your contacts app.  I had a lot of problems with
this and actually found that the format of the VCF file doesn't match
what 'addressbook' is looking for.

Instead, here are the steps I found to work and if anyone can confirm
this, I will add it to the wiki.

1: Export your addressbook/contacts to VCF file(s)
2: From your terminal, run:
sed -r -e 's/;TYPE=([^,]+),([^:]+):/;\1;\2:/g' old.vcf  new.vcf
3: From your OpenMoko, run:
addressbook new.vcf

Will

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-19 Thread kimaidou
Hi

thanks for your feedback ! Does it work on SHR, or only on Om distos ?

Kimaidou

2008/12/19 Will Siddall will.sidd...@gmail.com

 Hey,
 I know there's a wiki item for this, but I just have to send it to
 everyone.  I want to edit the wiki, but I don't know if anyone has run
 into this problem yet.

 The wiki shows to install a VCF plugin for thunderbird then just
 import the VCF into your contacts app.  I had a lot of problems with
 this and actually found that the format of the VCF file doesn't match
 what 'addressbook' is looking for.

 Instead, here are the steps I found to work and if anyone can confirm
 this, I will add it to the wiki.

 1: Export your addressbook/contacts to VCF file(s)
 2: From your terminal, run:
sed -r -e 's/;TYPE=([^,]+),([^:]+):/;\1;\2:/g' old.vcf  new.vcf
 3: From your OpenMoko, run:
addressbook new.vcf

 Will

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-19 Thread Will Siddall
I've only tested it on 2008.12 and I know it's the same for 2008.8.
I would think that just as long as you're using the Qtopia contacts
app, this would need to be done.

On Fri, Dec 19, 2008 at 3:18 PM, kimaidou kimai...@gmail.com wrote:
 Hi

 thanks for your feedback ! Does it work on SHR, or only on Om distos ?

 Kimaidou

 2008/12/19 Will Siddall will.sidd...@gmail.com

 Hey,
 I know there's a wiki item for this, but I just have to send it to
 everyone.  I want to edit the wiki, but I don't know if anyone has run
 into this problem yet.

 The wiki shows to install a VCF plugin for thunderbird then just
 import the VCF into your contacts app.  I had a lot of problems with
 this and actually found that the format of the VCF file doesn't match
 what 'addressbook' is looking for.

 Instead, here are the steps I found to work and if anyone can confirm
 this, I will add it to the wiki.

 1: Export your addressbook/contacts to VCF file(s)
 2: From your terminal, run:
sed -r -e 's/;TYPE=([^,]+),([^:]+):/;\1;\2:/g' old.vcf  new.vcf
 3: From your OpenMoko, run:
addressbook new.vcf

 Will

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-19 Thread Giorgio Marci
Vcf file contacts impork works only on OM based distribution and
Qtopia/Qtextended. SHR is based on frameworkd that doesn't suppoert (yet)
contacts import.

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-19 Thread kimaidou
Ok giorgio
Thanks for your reply. So I will wait a bit :)

2008/12/19 Giorgio Marci ledz...@writeme.com

 Vcf file contacts impork works only on OM based distribution and
 Qtopia/Qtextended. SHR is based on frameworkd that doesn't suppoert (yet)
 contacts import.

 -- Be Yourself @ mail.com!
 Choose From 200+ Email Addresses
 Get a *Free* Account at www.mail.com http://www.mail.com/Product.aspx!

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Importing Contacts from Thunderbird

2008-12-19 Thread Giorgio Marci
No problem, it's a pleasure!

We all hope for contacts support soon so..stay tuned! ;)

  - Original Message -
  From: kimaidou
  To: List for Openmoko community discussion
  Subject: Re: Importing Contacts from Thunderbird
  Date: Fri, 19 Dec 2008 21:44:11 +0100

  Ok giorgio
  Thanks for your reply. So I will wait a bit :)

  2008/12/19 Giorgio Marci ledz...@writeme.com

Vcf file contacts impork works only on OM based distribution and
Qtopia/Qtextended. SHR is based on frameworkd that doesn't
suppoert (yet) contacts import.

-- Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community