From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Markert Subject: Convert iCalendar files to org files Date: Thu, 30 Dec 2010 14:21:44 +0100 Message-ID: <8762ubwg47.wl%markert.michael@googlemail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=58473 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYISJ-0000Ic-0r for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 08:22:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYISH-0004wK-Em for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 08:22:10 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:52538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYISH-0004vT-9h for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 08:22:09 -0500 Received: by bwz16 with SMTP id 16so14325978bwz.0 for ; Thu, 30 Dec 2010 05:22:08 -0800 (PST) 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 Hi, i created `ical2org'[1] to convert iCalendar files to org files in elisp. It does: * Traverse the iCalendar using `icalendar.el' and constructs a struct for each event * Format each struct via a (userdefined) formatstring * Convert times to orgmode timestrings (limitations below) It does not (at the moment): * Fully translate VEVENTs to org mode entries and only captures a few (sensible) attributes * Convert iCalendar recurrences to org recurrences[2] * Use "Duration" to determine endtime * (I'm quite sure there's more, it's very young) I'm aware of Doug Hellmann's `ical2org', but for the functionality it didn't fulfill my needs and for the name, well I didn't come to a better one yet, suggestions are welcome. The same holds for the code, patches or ideas to fix the shortcomings are highly appreciated. Michael Footnotes: [1] https://github.com/cofi/ical2org [2] And I'm quite sure it can't be done because orgmode has no concept of a recurrence end like iCalendar does.