emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode and Google Calendar
@ 2007-09-28  7:12 Cezar
  2007-09-28  9:12 ` Leo
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Cezar @ 2007-09-28  7:12 UTC (permalink / raw)
  To: emacs-orgmode


Hello,

  Is there any way to sync org-mode with google calendar ?
  And if not, is this planed/possible ?

Regards,
Cezar

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28  7:12 org-mode and Google Calendar Cezar
@ 2007-09-28  9:12 ` Leo
  2007-09-28 11:41 ` Egli Christian (KIRO 41)
  2007-09-28 14:35 ` Bastien
  2 siblings, 0 replies; 12+ messages in thread
From: Leo @ 2007-09-28  9:12 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-09-28 08:12 +0100, Cezar wrote:
> Hello,
>
>   Is there any way to sync org-mode with google calendar ?
>   And if not, is this planed/possible ?
>
> Regards,
> Cezar

This can be very interesting. I'd also like to know.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: org-mode and Google Calendar
  2007-09-28  7:12 org-mode and Google Calendar Cezar
  2007-09-28  9:12 ` Leo
@ 2007-09-28 11:41 ` Egli Christian (KIRO 41)
  2007-09-28 14:42   ` Bastien
  2007-09-28 14:35 ` Bastien
  2 siblings, 1 reply; 12+ messages in thread
From: Egli Christian (KIRO 41) @ 2007-09-28 11:41 UTC (permalink / raw)
  To: Cezar, emacs-orgmode


>  Is there any way to sync org-mode with google calendar ?
>  And if not, is this planed/possible ?

Funny you should mention this. Just this morning I fetched the ics file
from my google calendar and imported the ics file into my diary
(icalendar-import-file "/here/is/calendar.ics"
"/there/goes/ical-diary"). If you then set org-agenda-include-diary
properly, you'll get the events from the google calendar in your agenda.

Pretty straight forward actually. You could probably automate this with
cron. To avoid reimporting the same events again you could have a
separate diary file for the google calendar and drop it before each
import. #include it in the main diary file. org-mode probably handles
this (not tested) as it just uses the fancy diary display (which is
needed for #include).

Would be nice to write a detailed tutorial about this. Any volunteers?

HTH
Christian 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28  7:12 org-mode and Google Calendar Cezar
  2007-09-28  9:12 ` Leo
  2007-09-28 11:41 ` Egli Christian (KIRO 41)
@ 2007-09-28 14:35 ` Bastien
  2007-09-28 14:40   ` Leo
  2007-09-29  9:07   ` Vagn Johansen
  2 siblings, 2 replies; 12+ messages in thread
From: Bastien @ 2007-09-28 14:35 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28 14:35 ` Bastien
@ 2007-09-28 14:40   ` Leo
  2007-09-28 14:58     ` Bastien
  2007-09-29  9:07   ` Vagn Johansen
  1 sibling, 1 reply; 12+ messages in thread
From: Leo @ 2007-09-28 14:40 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-09-28 15:35 +0100, Bastien wrote:
> 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...

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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28 11:41 ` Egli Christian (KIRO 41)
@ 2007-09-28 14:42   ` Bastien
  0 siblings, 0 replies; 12+ messages in thread
From: Bastien @ 2007-09-28 14:42 UTC (permalink / raw)
  To: emacs-orgmode

"Egli Christian (KIRO 41)" <christian.egli@credit-suisse.com> writes:

> Funny you should mention this. Just this morning I fetched the ics
> file from my google calendar and imported the ics file into my diary
> (icalendar-import-file "/here/is/calendar.ics"
> "/there/goes/ical-diary"). If you then set org-agenda-include-diary
> properly, you'll get the events from the google calendar in your
> agenda.

So this is how to *import* the calendar information from Google.

A straightforward syncing solution would be to do this, and to export an
ics file created by Org to a web location that Google knows (see details
in my previous email.)

But I have a strong feeling we won't avoid duplicated entries at some
point... 

-- 
Bastien

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28 14:58     ` Bastien
@ 2007-09-28 18:16       ` Cezar
  0 siblings, 0 replies; 12+ messages in thread
From: Cezar @ 2007-09-28 18:16 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

>>> 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.
>
> Com'on, I'm sure your secretary knows everything about Emacs+Org. 
> A good opportunity to do some collaborative Org'ing!

A sync would be much better, if possible.

This will be a *really* cool thing to have in org, I think we can all
agree on it. :D

You can sync your PDA's WM5/6 calendar using OggSync with google's
calendar so that means, you can have org-mode sync'ed with your PDA's
calendar. ;;)

P.S. There is also iGoogle.com that has TODOs (which I guess the
calendar doesn't).

Regards,
Cezar

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-28 14:35 ` Bastien
  2007-09-28 14:40   ` Leo
@ 2007-09-29  9:07   ` Vagn Johansen
  2007-10-01  3:18     ` T. V. Raman
  1 sibling, 1 reply; 12+ messages in thread
From: Vagn Johansen @ 2007-09-29  9:07 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Cezar <cezar@mixandgo.ro> writes:
>

[...]

> 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. 

Me too 

>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: 

[...]

I have my org file on an ftp server so I can access it anywhere. I
then use the builtin support for FTP in Emacs (ange/tramp) to
read/write it and the corresponding ics file. Because the org file is
on a FTP server "C-c C-e i" will automatically write the ics file on
the FTP server.

I just point google calendar to this file. The only problem I have had
is with google calendars timezone handling.

-- 
Vagn Johansen

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and Google Calendar
  2007-09-29  9:07   ` Vagn Johansen
@ 2007-10-01  3:18     ` T. V. Raman
  0 siblings, 0 replies; 12+ messages in thread
From: T. V. Raman @ 2007-10-01  3:18 UTC (permalink / raw)
  To: gonz808; +Cc: emacs-orgmode

For possible ways of syncing with Google Calendar, see gcal.el --
which is part of my emacs-g-client package
http://emacspeak.googlecode.com/svn/trunk/lisp/g-client

Note that the above code is independent of Emacspeak --- but  has
only been tested under Emacs 22.

>>>>> "Vagn" == Vagn Johansen <gonz808@hotmail.com> writes:
    Vagn> Bastien <bzg@altern.org> writes:
    >> Cezar <cezar@mixandgo.ro> writes:
    >> 
    Vagn> 
[...]
    Vagn> 
    >> 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.
    Vagn> 
    Vagn> Me too
    Vagn> 
    >> 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:
    Vagn> 
    Vagn> [...]
    Vagn> 
    Vagn> I have my org file on an ftp server so I can access it
    Vagn> anywhere. I then use the builtin support for FTP in
    Vagn> Emacs (ange/tramp) to read/write it and the
    Vagn> corresponding ics file. Because the org file is on a
    Vagn> FTP server "C-c C-e i" will automatically write the ics
    Vagn> file on the FTP server.
    Vagn> 
    Vagn> I just point google calendar to this file. The only
    Vagn> problem I have had is with google calendars timezone
    Vagn> handling.
    Vagn> 
    Vagn> -- Vagn Johansen
    Vagn> 
    Vagn> 
    Vagn> 
    Vagn> _______________________________________________
    Vagn> Emacs-orgmode mailing list Remember: use `Reply All' to
    Vagn> send replies to the list.  Emacs-orgmode@gnu.org
    Vagn> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

^ permalink raw reply	[flat|nested] 12+ messages in thread

* org-mode and google calendar
@ 2012-04-24 19:01 Khoroshyy Petro
  2012-04-26  8:23 ` Bastien
  2012-04-26 11:28 ` Olaf.Hamann
  0 siblings, 2 replies; 12+ messages in thread
From: Khoroshyy Petro @ 2012-04-24 19:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi all
Just wanted to bring to your attention this mode.
https://github.com/kiwanami/emacs-calfw
Best.
Petro

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and google calendar
  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
  1 sibling, 0 replies; 12+ messages in thread
From: Bastien @ 2012-04-26  8:23 UTC (permalink / raw)
  To: Khoroshyy Petro; +Cc: emacs-orgmode

Khoroshyy Petro <khoroshyy@gmail.com> writes:

> Just wanted to bring to your attention this mode.
> https://github.com/kiwanami/emacs-calfw

Yes -- this is a great add-on, already advertized here.

It would be nice to document this on http://orgmode.org/worg/
with a page displaying nice screenshots and explaining the setup.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: org-mode and google calendar
  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
  1 sibling, 0 replies; 12+ messages in thread
From: Olaf.Hamann @ 2012-04-26 11:28 UTC (permalink / raw)
  To: emacs-orgmode

 > https://github.com/kiwanami/emacs-calfw

Thank you for this hint.

org-mode was mentioned in a german linux magazine article with topic 
calfw - should help to popularize org-mode.

http://www.linux-magazin.de/NEWS/Emacs-Calfw-1.0-zeigt-Google-und-Org-Kalender

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-26 11:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2007-09-28  7:12 org-mode and Google Calendar Cezar
2007-09-28  9:12 ` Leo
2007-09-28 11:41 ` Egli Christian (KIRO 41)
2007-09-28 14:42   ` Bastien
2007-09-28 14:35 ` Bastien
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-10-01  3:18     ` T. V. Raman

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).