emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode and Google Calendar
Date: Fri, 28 Sep 2007 16:35:03 +0200	[thread overview]
Message-ID: <87abr6zwmg.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87d4w3s1pb.fsf@myhost.localdomain> (cezar@mixandgo.ro's message of "Fri, 28 Sep 2007 10:12:32 +0300")

Cezar <cezar@mixandgo.ro> 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

  parent reply	other threads:[~2007-09-28 14:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  7:12 org-mode and Google Calendar Cezar
2007-09-28  9:12 ` Leo
2007-09-28  9:49   ` Rick Moynihan
     [not found]     ` <3d6808890709280329k7b305ab7qabf2f1c6bda0c275@mail.gmail.com>
2007-09-28 10:30       ` Fwd: " Tim O'Callaghan
2007-09-28 11:41 ` Egli Christian (KIRO 41)
2007-09-28 14:42   ` Bastien
2007-09-28 14:35 ` Bastien [this message]
2007-09-28 14:40   ` Leo
2007-09-28 14:58     ` Bastien
2007-09-28 18:16       ` Cezar
2007-09-29  9:07   ` Vagn Johansen
2007-09-29 13:30     ` Bastien
2007-09-29 14:21       ` Bastien
2007-10-04  7:56         ` Carsten Dominik
2007-10-04 10:44           ` Bastien
2007-10-04 12:30             ` Giovanni Ridolfi
2008-04-23 15:12       ` Adam Spiers
2007-10-01  3:18     ` T. V. Raman
  -- strict thread matches above, loose matches on Subject: below --
2012-04-24 19:01 org-mode and google calendar Khoroshyy Petro
2012-04-26  8:23 ` Bastien
2012-04-26 11:28 ` Olaf.Hamann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abr6zwmg.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).