On 2007-09-28 15:35 +0100, Bastien wrote: > Cezar <[EMAIL PROTECTED]> 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/ _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode