views:

366

answers:

3

Hello,

I want to import address book of users from their gmail/hotmail/yahoo and aol address books. I am looking for a gem/plugin in rails which can help me do this. Any help is appreciated.

Thanks.

A: 

You can start your search from http://gemcutter.org. You should be able to find a Gem for at least any of the providers you listed in your question.

For example, to fetch Gmail contacts. http://gemcutter.org/search?query=gmail

Then, simply add the Gem into your Rails project and fetch the contacts.

Simone Carletti
A: 

I once used a gem called Blackbook: http://github.com/purzelrakete/blackbook

It supports a number of email services. But seems it hasn't been updated for a while.

neutrino
neutrino, blackbook is scrapping based and such types of contact fetching architecture breaks when the providers such as gmail change their user interface to the slightest bits.
Ishu
A: 

Ive been trying Contacts:

http://github.com/cardmagic/contacts

It allows to import contacts from gmail with 2 lines of code!!! Works wonderfully for me. Still have to check out if it supports insertion and syncing (??) maybe.

Riccardo C