This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kontact access to iCal and calDAV - howto?

Tags: None
(comma "," separated)
globetrotterdk
Registered Member
Posts
27
Karma
0
OS
How can I use Kontact to connect to remote servers, either via iCal/ics or calDAV? I have a number os services that I am trying to import. I have found some postings online that suggest that iCal is a possibility, but the HowTos are Google Calendar centric command line modifications, and don't have much relevance for me as far as I can see.

Kubuntu 9.04

There are no obvious commands for subscribing to remote calendars in Kontact

Cheers

KDE absolute newbie.
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS
In the KOrganizer view, click the "+" button next to "Calendar" on the bottom of the left pane, select "Calendar in Remote File", click OK, set the "Download from" to the calendar url, click OK ... ?


Get problems solved faster - get reply notifications through Jabber!
globetrotterdk
Registered Member
Posts
27
Karma
0
OS
Sorry, maybe I should have been more specific. I want to subscribe to the calendars and not just download an iCal file.

Cheers
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS
Moved to the Office & Productivity area.


User avatar
annew
Manager
Posts
1155
Karma
11
OS
@globetrotterdk: Alec's way would subscribe you to the calendar. You need to make sure that you have a full path entered to the ical, both for download and for upload.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS
There's also a radiogroup with which you can select how often you want it updated (On startup, every 10 minutes, etc.)


Get problems solved faster - get reply notifications through Jabber!
mr.benedikt
Registered Member
Posts
1
Karma
0
OS
This works for downloading, but I get an 404 error when trying to
send the calendar back to google.
Anything I'm missing here?
User avatar
darkscot
Registered Member
Posts
58
Karma
0
OS
Me also! :/

I can view two different Yahoo calendars but when I try to edit I get:

An unexpected error (400) occurred while attempting to upload
lerrup
Registered Member
Posts
1
Karma
0
OS
In the KOrganizer view, click the "+" button next to "Calendar" on the bottom of the left pane, select "Calendar in Remote File", click OK, set the "Download from" to the calendar url, click OK ... ?


I'm sorry,but this seems to have no relation to my set-up at all. Can you let me know another way of doing this?
User avatar
Franklin
Registered Member
Posts
3
Karma
0
I tried to find out the solution to solve 404 error, but nothing so far.

However, last Friday I found a way to access google calendar, both uploading and downloading.

1. Download GCALDaemon and extract it.
2. edit conf/gcal-daemon.cfg, in section FILE-BASED SYNCHRONIZER. Assign file.ical.path, file.google.username and file.google.password. Password should be encrypted and you can use bin/password-encoder.sh to get an encrypted version of your password. Also, file.private.ical.url should be filled with the ical URL provided by Google Calendar.
3. under GCALDaemon folder, run bin/sync-now.sh. You'll get an ics file you specified in the config.
4. In the SystemSetting, Personal Information, add a new resource of type "local file calendar", assign the file and type iCalendar. Then you can use this resource in KOrganizer.
5. Everytime you run bin/sync-now.sh, it can upload your changes in KOrganizer (of course you need to specify the resource to the google icalendar file). So I put it to cron table to run every 10 minutes.

Enjoy it!
sam_tuke
Registered Member
Posts
10
Karma
0
Does anyone have a better solution than using a 3rd part application to generate and upload the iCal?

It would be great if Kontact supported uploading as well as downloading...
nico1375
Registered Member
Posts
3
Karma
0
OS
+1

Too bad to have to use thunderbird, instead of kontact which is far more consistent with kde interface...
User avatar
Damnshock
Registered Member
Posts
111
Karma
0
OS
If you wanna sync with google give a try to akonadi-googledata (for example in Archlinux http://aur.archlinux.org/packages.php?ID=26051)

Regards


Damnshock, proud to be a member of KDE forums since 2008-Oct.
nico1375
Registered Member
Posts
3
Karma
0
OS
Damnshock wrote:If you wanna sync with google give a try to akonadi-googledata (for example in Archlinux http://aur.archlinux.org/packages.php?ID=26051)

Regards


Already have it... but still doesn't seem to be possible to sync two ways...
I have an error everytimekorganizer tries to send a modification to google server...
perpipon
Registered Member
Posts
2
Karma
0
OS
iCal is a read only possibility offered by google calendar (http://goo.gl/m3vvg )... as you wrote, we don't want to download an iCal file xD

Even in the calendar settings if you pay attention the comment written for the private address: "This is the private address of this agenda. Do not give this address to others unless you want them to see all events on this calendar."

SEE doesn't mean EDIT ;) (it took me hours to realise)

calDAV is used by google (google how to http://goo.gl/NqFxS ) but kontact use groupDAV (which seem to be different/not compatible !!!!) so so so still searching...


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]