Reply to topic

Add a CardDAV resource to Akonadi for Gmail

StMartin81
Registered Member
Posts
22
Karma
0
Hello,

is it possible to use the DAV groupware resource to synchronize contacts between Akonadi and Gmail?

I tried to add an account the following way:
* Add new Akonadi resource: "DAV groupware resource"
* "Login Credentials": My Gmail login credentials
* "Configure the resource manually"
* In "Server Configuration" I've tried to add the CardDAV resource:
-> "Remote calendar access protocol": CardDAV
-> "Remote URL": google.com
-> "Use global credentials"
When I click on "Fetch" I get the following error message:
Code: Select all
Unable to create io-slave:
klauncher said: Unknown protocol ".


I've also tried the "Google Contacts" resource and I was able to sync my contacts using this resource. What's missing though seems to be the support for groups. Does anyone know if this feature is missing?


Best regards
Martin
User avatar progdan
KDE Developer
Posts
54
Karma
0
OS
Sorry, I can't help much with the CardDAV, I never tried it.

I have some good news regarding the groups though :) I added a neccessary feature to Akonadi recently so groups support in Google Contacts resource will be available in KDE 4.10
StMartin81
Registered Member
Posts
22
Karma
0
Thanks a lot! That's great to hear!
vootey
Registered Member
Posts
44
Karma
0
OS
progdan wrote:I have some good news regarding the groups though :) I added a neccessary feature to Akonadi recently so groups support in Google Contacts resource will be available in KDE 4.10

Hurray!!! ;D
I don't want to be pedantic, but shouldn't then bug 265066 and bug 283694 be marked as fixed? :)

Can you pinpoint me to the exact commit? I need this feature now and want - if possible - just apply your patches to the 4.9-branch. (Unless you tell me, that it actually depends on new features in 4.10 and it's just not that easy to backport.)

Thanks either way!
User avatar ivan
KDE Developer
Posts
856
Karma
14
OS
In order to use gmail's carddav, you just need to set this as carddav url:
https://google.com/m8/carddav/principal ... gmail.com/


Image
vootey
Registered Member
Posts
44
Karma
0
OS
A question: what is the difference between libkgapi- and caldav-connection?
User avatar progdan
KDE Developer
Posts
54
Karma
0
OS
vootey wrote:A question: what is the difference between libkgapi- and caldav-connection?

libkgapi is an implementation of native Google's API to access contacts, calendars, tasks and other services not available via WebDav interface. The specific difference between using Google Calendars Akonadi resource and CalDav is that Google Calendars resource supports syncing todo lists, which I think you can't via CalDav.
calcmandan
Registered Member
Posts
1
Karma
0
ivan wrote:In order to use gmail's carddav, you just need to set this as carddav url:
https://google.com/m8/carddav/principal ... gmail.com/


Thank you thank you. I've been wanting to sync my kontact contacts for a long time and didn't think it was possible.
timberwolf
Registered Member
Posts
9
Karma
0
Sorry for the revival, but there are a couple of things...
ivan wrote:In order to use gmail's carddav, you just need to set this as carddav url:
https://google.com/m8/carddav/principal ... gmail.com/

This URL requires OAuth 2. I don't think the Dav GroupWare resource supports this, does it? What leads me to think this, is it sits there for 10 minutes then says "Invalid XQuery submitted by DAV implementation. " I had an off-the-wall idea hit me just now. What if I (or someone in general) made a "CardDAV proxy"? It could translate the HTTP basic auth into OAuth 2... Hmm... Anyway... Well, is there a way to use the CardDAV for Google on PIM? I'm not fond of the Google resource.

 
Reply to topic

Bookmarks



Who is online

Registered users: AGuiFr, andreas_k, arucard, Baidu [Spider], Bing [Bot], boudewijn, elvisangelaccio, Exabot [Bot], Google [Bot], google01103, hugo.pereira@free.fr, Majestic-12 [Bot], Mamarok, neverendingo, Phobi4n, rapiteanu, spleen, valoriez, wolfi323, Yahoo [Bot]