EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 14 Apr 2009, 09:17 AM   #1
kirill
Cornerstone of the Community
 
Join Date: Jun 2001
Posts: 879
Synchronisation: Google Contacts to FastMail Address Book

Recently Google launched support for synchronizing contacts between Google and mobile phones. I didn't use Google's address book, but now that I can keep it synchronized with my phone I started to.

Now using Google Contacts/mobile phone as a master source for my contact information, what would happen to FastMail's address book? The informaiton will slowly be outdated. I'd hate to do updates two places. Could the FM address book be kept in synch with Google Contacts? Hah! Sure thing!

So please welcome a small script that basically copies Google Contacts to FastMail address book and keeps the copied contacts in sync. Updated contacts will be updated, deleted will be deleted. Just run the script. With some magic hackery it will work on windows, thanks to Strawberry Perl.

The sync is going from Google to FM. It's not hard to make it happen both ways.

The script uses a slightly undocumented feature of FM - SOAP access to your data that are stored at FM. Cool, huh?

Subscribe to fm-talk list for more interesting discussions.
kirill is offline   Reply With Quote

Old 14 Apr 2009, 10:15 PM   #2
Fabaus
Senior Member
 
Join Date: Jan 2009
Posts: 171
If I remember correctly, Fastcheck uses SOAP....

Do you think it would be possible to have something like Fastcheck do this automagically through a fastcommand or something else?

Fabaus
Fabaus is offline   Reply With Quote
Old 14 Apr 2009, 10:23 PM   #3
janusz
The "e" in e-mail
 
Join Date: Feb 2006
Location: EU
Posts: 4,945
Quote:
Originally Posted by kirill View Post
The script uses a slightly undocumented feature of FM - SOAP
Looks like slightly documented to me
janusz is offline   Reply With Quote
Old 14 Apr 2009, 10:52 PM   #4
kirill
Cornerstone of the Community
 
Join Date: Jun 2001
Posts: 879
It's a bit documented, but not much. There're some Database_* calls that are not documented. And the structure of the tables that these Database_* calls support is also not there. But that's not the point really.
kirill is offline   Reply With Quote
Old 14 Apr 2009, 11:04 PM   #5
akorvemaker
Master of the @
 
Join Date: Nov 2002
Location: Canada
Posts: 1,015
While I don't really use Google's contacts, this looks really neat. Thanks for providing this for the FM community!

Andy
akorvemaker is offline   Reply With Quote
Old 14 Apr 2009, 11:15 PM   #6
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
Quote:
Originally Posted by kirill View Post
But that's not the point really.
Indeed.
Thanks for providing this
rabarberski is offline   Reply With Quote
Old 24 Apr 2009, 08:02 AM   #7
kirill
Cornerstone of the Community
 
Join Date: Jun 2001
Posts: 879
Here's some more code sharing from me. This one will dump the contents of your FM address book in JSON format. It also documents the structure of some tables a little bit. Enjoy:

http://km.krot.org/code/fmab.pl

Kirill

P.S. There're a couple of Perl 5.10-isms in the script. If you don't have Perl 5.10 available, just replace "say" with "print" (don't forget the newline at the end of the line) and "//" with a check for definedness. You probably know what that means anyway.
kirill is offline   Reply With Quote
Old 9 May 2009, 03:42 PM   #8
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
Quote:
Originally Posted by ForexGuides View Post
The iPhone is indeed a wonderful little device and ...
This is plain copy & paste (see e.g. http://theappleblog.com/2008/10/29/i...ogle-calendar/ ) and doesn't belong on this forum IMHO.
rabarberski is offline   Reply With Quote
Old 10 May 2009, 02:09 AM   #9
neilj
Cornerstone of the Community
 
Join Date: Apr 2004
Location: Melbourne
Posts: 971

Representative of:
Fastmail.fm
Umm, we're getting a bit off topic here but I feel it necessary to point out that a 3rd party service is not required to sync a google calendar with an iPhone; Google supports this natively: http://www.google.com/support/mobile...ng&topic=14252

Neil
neilj is offline   Reply With Quote
Old 10 May 2009, 06:17 AM   #10
kirill
Cornerstone of the Community
 
Join Date: Jun 2001
Posts: 879
Yes, Neil, it became slightly OT since ForexGuides' post. Actually I'd rather see that post nuked or moved away...
kirill is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 07:38 PM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy