From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Python script to download Google Calendar events Date: Fri, 22 Jul 2011 15:01:58 +0200 Message-ID: <87fwly4gft.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkFPh-0007Qm-Iy for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 09:05:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkFPf-0005Ls-Ry for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 09:05:09 -0400 Received: from lo.gmane.org ([80.91.229.12]:54558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkFPf-0005LH-Hl for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 09:05:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QkFPe-0001ZW-9E for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 15:05:06 +0200 Received: from 0x555293e1.adsl.cybercity.dk ([85.82.147.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2011 15:05:06 +0200 Received: from rasmus by 0x555293e1.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2011 15:05:06 +0200 In-Reply-To: (Felix Geller's message of "Mon, 11 Jul 2011 22:13:42 +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 Hi Felix, Felix Geller writes: > I wrote a Python script that [1] uses the GData API to download events > for your Google Calendar and prints them to a given org-file. It is a > very tiny script, but perhaps it is of use to other people as well. Now I've had some time to play around with your script and it is very nice and fast. I tingled a bit with it. I (think) I have added support for other calendars using the https://.*/private/full urls. I've also added a category. Thus, one can specify gcal2org.py name@gpost.com file uri and if uri is left out it will work as your script. I have hosted the alternative script here: http://andromeda.kiwilight.com/~pank/gcal2org.txt (no .py allowed) http://andromeda.kiwilight.com/~pank/gcal2org.diff The thing is, I don't know where you find these private/full urls in the web-interface. I found them via Gdata. Optimally, it should just use one of the urls from the web-interface. Cheers, Rasmus -- Sent from my Emacs