emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Felix Geller <fgeller@gmail.com>
To: Rasmus <rasmus@gmx.us>, emacs-orgmode@gnu.org
Subject: Re: Python script to download Google Calendar events
Date: Fri, 29 Jul 2011 23:23:17 +0200	[thread overview]
Message-ID: <m2ipqk93y2.fsf@gmail.com> (raw)
In-Reply-To: <87r55i4gjt.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]

Hi Rasmus and list :)

Small updates:
 1. Integration of Rasmus' idea to support different calendars (thanks!)
 2. Support for publishing a new title of an event. 

The second one is a very limited form of sync'ing changes back to Google
Calendar, but suits my needs [2]. I updated the documentation to include
examples. Take a look if you're interested: http://goo.gl/rZU78


Cheers,
Felix


On Fri, 22 Jul 2011 14:59:34 +0200, Rasmus <rasmus@gmx.us> wrote:
> 
> Hi Felix, 
> 
> Felix Geller <fgeller@gmail.com> 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
> 
>

Footnotes:

[2] I add a hook to toggling the TODO state of an entry, and invoke the
script to update the event title if applicable. There's an example in
the script.

[-- Attachment #2: Type: application/pgp-signature, Size: 242 bytes --]

  reply	other threads:[~2011-07-29 21:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 10:21 Python script to download Google Calendar events Felix Geller
2011-07-11 20:13 ` Felix Geller
2011-07-13  8:38   ` Bastien
2011-07-13 10:54     ` Felix Geller
2011-07-13 11:24       ` Bastien
2011-07-22 12:59   ` Rasmus
2011-07-29 21:23     ` Felix Geller [this message]
2011-07-22 13:01   ` Rasmus
2011-07-12 15:37 ` Torsten Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ipqk93y2.fsf@gmail.com \
    --to=fgeller@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).