emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: Felix Geller <fgeller@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Python script to download Google Calendar events
Date: Wed, 13 Jul 2011 00:37:47 +0900	[thread overview]
Message-ID: <4E1C6A4B.2070907@gmail.com> (raw)
In-Reply-To: <m21uxx15jj.fsf@gmail.com>

Hi Felix,

> Small disclaimer: I've tested this on Mac OS X only, using Python 2.7.2.

It took me a while to get the gpg part working but now its working nicely :)
I had to remove -no-tty for some reason.
getting from
authinfo = os.popen('gpg -q -no-tty -d ~/org/google_passwd.org.gpg').read()
to
authinfo = os.popen('gpg -q -d ~/org/google_passwd.org.gpg').read()

This is working under Arch-Linux, obvious after tweaking to use python2 
and not python3.

I will test if I could add the generated file to my agenda.

This would allow me to merge the google calendar with org.
Basically, I started to use the google calendar since most of the time I 
add events on my smartphone. Adding a quick event is, for now, much 
easier using the google calendar rather then trying to sync via 
org-mobile. I also appreciate the calendar view on small screens rather 
then a text-based view. A sync between org-mode and google events is not 
necessary as long as I stick with the way to add/change events only on 
my mobile phone. (but sure it would be awesome if there would be a real 
sync).

Lets see how it works out.

Totti

      parent reply	other threads:[~2011-07-12 15:38 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
2011-07-12 15:37 ` Torsten Wagner [this message]

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=4E1C6A4B.2070907@gmail.com \
    --to=torsten.wagner@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fgeller@gmail.com \
    /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).