emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-mode and Google Calendar


From: Bastien
Subject: Re: [Orgmode] org-mode and Google Calendar
Date: Fri, 28 Sep 2007 16:35:03 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Cezar <address@hidden> 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...

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]