From mboxrd@z Thu Jan  1 00:00:00 1970
From: Arun Persaud <apersaud@lbl.gov>
Subject: Re: Status google calendar sync
Date: Wed, 26 Jan 2011 16:52:24 -0800
Message-ID: <4D40C1C8.4070909@lbl.gov>
References: <4D3945ED.9060605@gmail.com>	<4D39555C.8050902@manor-farm.org>	<4D39CE28.4000005@lbl.gov>	<87hbd124ih.fsf@pinto.chemeng.ucl.ac.uk>	<4D3F30D6.7020703@lbl.gov>	<877hdrlu9f.fsf@ucl.ac.uk>
	<4D40AE76.90609@comcast.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from [140.186.70.92] (port=43383 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PiG6l-0008UA-4f
	for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 19:53:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <apersaud@lbl.gov>) id 1PiG6B-0004Xn-7r
	for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 19:52:32 -0500
Received: from ironport4.lbl.gov ([128.3.41.45]:25160)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <apersaud@lbl.gov>) id 1PiG6B-0004XQ-11
	for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 19:52:31 -0500
Received: by pwi5 with SMTP id 5so382660pwi.39
	for <emacs-orgmode@gnu.org>; Wed, 26 Jan 2011 16:52:28 -0800 (PST)
In-Reply-To: <4D40AE76.90609@comcast.net>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: emacs-orgmode@gnu.org

Hi

> You are right that googlecl is poorly documented, and worse, it doesn't
> even work as the documentation says it should.  Try retrieving calendar
> events with --fields="title,when" and see what happens.  I get the
> title printed out but the "when" always comes out as None.

my man pages for googlecl don't mention a "fields" options. Doing

"google calendar list when,where,title"

works for me though (using googlecl that comes with openSUSE 11.3).

> However, I have had better luck with the python gdata interface.  The
> docs aren't much better but I have managed to figure out how to modify
> an existing event using it.  And, there are examples of how to search
> for specific events...

cool, do you have this integrated with org? if so could you post the code?

> While using googlecl might be interesting it would probably be simpler
> to come up with a specific library for doing the things that need to
> be done directly with gdata (which is what googlecl uses anyway) and
> calling scripts that make use of this specific library, instead.

I guess one could also use google calendar completely without googlecl
or gdata, since you can point google at an .ics file to import it into
google's calendar and Eric's script already handles the other way
(google->org).

Arun