From mboxrd@z Thu Jan 1 00:00:00 1970 From: aitor Subject: ical2org.py Date: Sun, 12 May 2013 12:04:13 +0200 Message-ID: <20130512100413.GA26896@sipc87.si.ehu.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbTaV-0005YR-SH for emacs-orgmode@gnu.org; Sun, 12 May 2013 06:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbTaR-0005pn-Vw for emacs-orgmode@gnu.org; Sun, 12 May 2013 06:33:07 -0400 Received: from smtp.lg.ehu.es ([158.227.0.66]:9410 helo=smtp.ehu.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbTaR-0005SU-Oz for emacs-orgmode@gnu.org; Sun, 12 May 2013 06:33:03 -0400 Received: from smtp.ehu.es (localhost.localdomain [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 32DA1280C for ; Sun, 12 May 2013 12:04:13 +0200 (CEST) Received: from sipc87.si.ehu.es (sipc87.si.ehu.es [158.227.112.97]) by smtp2 (Postfix) with ESMTP id 25D951D21 for ; Sun, 12 May 2013 12:04:13 +0200 (CEST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I've implemented a little script which converts ics files to org-mode. You can find the script here: https://github.com/asoroa/ical2org.py It is equivalent to the awk script from Eric S. Fraga located here: http://orgmode.org/worg/org-tutorials/org-google-sync.html It's main differences being: - it only converts the events which fall into a timeframe (by default 3 months before and after the current day) - it handles recurrent events of 'dayly', 'weekly' and 'yearly' types. - it also deals correctly with timezones etc. best, aitor