emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Python script to download Google Calendar events
Date: Fri, 22 Jul 2011 15:01:58 +0200	[thread overview]
Message-ID: <87fwly4gft.fsf@gmail.com> (raw)
In-Reply-To: <m2box0zibt.fsf@gmail.com> (Felix Geller's message of "Mon, 11 Jul 2011 22:13:42 +0200")


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

  parent reply	other threads:[~2011-07-22 13:05 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
2011-07-22 13:01   ` Rasmus [this message]
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=87fwly4gft.fsf@gmail.com \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).