From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: org-mode and Google Calendar Date: Fri, 28 Sep 2007 15:40:05 +0100 Message-ID: References: <87d4w3s1pb.fsf@myhost.localdomain> <87abr6zwmg.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbH5l-00016f-L8 for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 10:45:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbH5j-00015l-W9 for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 10:45:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbH5j-00015h-KP for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 10:45:19 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IbH5j-0002tv-7M for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 10:45:19 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IbH56-0006Za-MV for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 14:44:40 +0000 Received: from accountslaptop.gradunion.cam.ac.uk ([193.60.92.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Sep 2007 14:44:40 +0000 Received: from sdl.web by accountslaptop.gradunion.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Sep 2007 14:44:40 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2007-09-28 15:35 +0100, Bastien wrote: > Cezar writes: > >> Is there any way to sync org-mode with google calendar ? >> And if not, is this planed/possible ? > > I'm not really *syncing* my Org agenda files with Google Calendar. > > I don't use Google Calendar to add new events; I just use it to check > events that I have in my Org agenda files. So what I basically do, is > that I export my agenda files to a single .ics file, then ask Google > to import this as a new calendar. > > I've cron'ed this script: > > #!/bin/bash > /usr/local/bin/emacs --batch --eval \ > "(progn (load-file \"~/elisp/testing/org/org.el\") \ > (load-file \"~/elisp/testing/org/org-install.el\") \ > (load-file \"~/elisp/config/org-batch-config.el\") \ > (setq org-combined-agenda-icalendar-file \"~/org/cal/org.ics\") > (setq org-agenda-files (quote (\"~/org/bzg.org\"))))" \ > -f org-export-icalendar-combine-agenda-file > > It keeps an updated version of org.ics on my computer. Then I rsync this > file with the web location Google is aware of. > > For me it seems much easier to always modify events from Org and then > keep some web interface updated, than to try to achieve real syncing... This won't work if you have someone also adding events for you, for example your secretary. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/