From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: anyone syncing orgmode calendar with google cal, and if so how? Date: Mon, 05 Oct 2015 11:17:13 -0400 Message-ID: <87a8rxmjk6.fsf@yale.edu> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj7WD-0000IS-So for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 11:17:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj7W8-00024N-SE for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 11:17:37 -0400 Received: from plane.gmane.org ([80.91.229.3]:40579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj7W8-00023X-Gx for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 11:17:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zj7Vx-0003vO-SR for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 17:17:22 +0200 Received: from 130.132.236.141 ([130.132.236.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Oct 2015 17:17:21 +0200 Received: from jorge.alfaro-murillo by 130.132.236.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Oct 2015 17:17:21 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Xebar Saram writes: > i was wondering if anyone was syncing orgmode calendar with > google cal, and if so how? i tried this > > https://github.com/myuhe/org-gcal.el/issues > > which gave errors all the time and thus stopped being usable > > im looking for a robust solution. any ideas? I export the agenda using org-icalendar-combine-agenda-files. If you have access to a server, it is enough to point org-icalendar-combined-agenda-file to the right location in your server and then adding the ics file location in google calendar (Other calendars/Add by URL). You can automate this with a timer: #+BEGIN_SRC emacs-lisp (org-icalendar-combined-agenda-file "~/public_html/calendar.ics") (run-with-idle-timer (* 60 60) t 'org-icalendar-combine-agenda-files) #+END_SRC If you do not have access to a server, you could use github (https://pages.github.com/) or bitbucket (https://confluence.atlassian.com/bitbucket/publishing-a-website-on-bitbucket-221449776.html) to create a website for your account. Then you can point org-icalendar-combined-agenda-file to the repo of your website and commit and push every time that you export the agenda to the ics file. In this case change org-icalendar-combined-agenda-file accordingly. #+BEGIN_SRC emacs-lisp (org-icalendar-combined-agenda-file "/path/to/personal/website/repo/calendar.ics") #+END_SRC If you do not like timers, you can also automate the process creating an sh file: #+BEGIN_EXAMPLE #!/bin/bash emacsclient -a '' -e "(org-icalendar-combine-agenda-files nil)" cd /path/to/personal/website/repo git add calendar.ics git commit -m "Update calendar" git push #+END_EXAMPLE And then using a cronjob. Best, -- Jorge.