From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: Status google calendar sync Date: Wed, 26 Jan 2011 15:29:58 -0800 Message-ID: <4D40AE76.90609@comcast.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiEoW-00075W-6o for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 18:30:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiEoU-0006Pq-Pp for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 18:30:11 -0500 Received: from qmta06.emeryville.ca.mail.comcast.net ([76.96.30.56]:42758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiEoU-0006PW-Hx for emacs-orgmode@gnu.org; Wed, 26 Jan 2011 18:30:10 -0500 In-Reply-To: <877hdrlu9f.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 On 1/26/2011 4:33 AM, Eric S Fraga wrote: > Arun Persaud writes: > > [...] > >>> For the other route, org to Google, I use the googlecl (command line) >>> interface: >>> >>> http://article.gmane.org/gmane.emacs.orgmode/27214 >> >> don't really know that much lisp, but I guess you add the entries >> directly to google when you create them via org-capture? What happens if >> you later edit an entry, say change the time/date? This is something I >> do very often and I would need google to reflect those changes. I also >> only want to export certain tags and entries that have a date-range >> (e.g. start and stop time), but I guess that could be easily arranged in >> the lisp function that you wrote? > > The short answer is that I don't have any automation for updating events > that change unfortunately. I imagine one could get googlecl to do this > but given the lack of documentation on that interface, it could be > tricky. If anybody figures out how to do all of this with googlecl, I > would be more than happy! 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. 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... 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. Mark