From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: Python script to download Google Calendar events Date: Wed, 13 Jul 2011 00:37:47 +0900 Message-ID: <4E1C6A4B.2070907@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgf25-0005JD-Ce for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 11:38:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qgf22-0000CW-7D for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 11:37:57 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:39499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgf21-0000CH-3B for emacs-orgmode@gnu.org; Tue, 12 Jul 2011 11:37:53 -0400 Received: by iwn8 with SMTP id 8so5545898iwn.0 for ; Tue, 12 Jul 2011 08:37:50 -0700 (PDT) In-Reply-To: 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: Felix Geller Cc: emacs-orgmode@gnu.org Hi Felix, > Small disclaimer: I've tested this on Mac OS X only, using Python 2.7.2. It took me a while to get the gpg part working but now its working nicely :) I had to remove -no-tty for some reason. getting from authinfo = os.popen('gpg -q -no-tty -d ~/org/google_passwd.org.gpg').read() to authinfo = os.popen('gpg -q -d ~/org/google_passwd.org.gpg').read() This is working under Arch-Linux, obvious after tweaking to use python2 and not python3. I will test if I could add the generated file to my agenda. This would allow me to merge the google calendar with org. Basically, I started to use the google calendar since most of the time I add events on my smartphone. Adding a quick event is, for now, much easier using the google calendar rather then trying to sync via org-mobile. I also appreciate the calendar view on small screens rather then a text-based view. A sync between org-mode and google events is not necessary as long as I stick with the way to add/change events only on my mobile phone. (but sure it would be awesome if there would be a real sync). Lets see how it works out. Totti