From mboxrd@z Thu Jan 1 00:00:00 1970 From: MidLifeXis at PerlMonks Subject: Re: Convert iCalendar files to org files Date: Thu, 30 Dec 2010 06:04:18 -0800 (PST) Message-ID: <640491.47094.qm@web81604.mail.mud.yahoo.com> References: <8762ubwg47.wl%markert.michael@googlemail.com> Reply-To: MidLifeXis at PerlMonks Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=57857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYJ7A-0003BP-43 for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 09:04:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYJ77-0007aj-WC for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 09:04:23 -0500 Received: from web81604.mail.mud.yahoo.com ([68.142.199.156]:33495) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PYJ77-0007ZQ-Qo for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 09:04:21 -0500 In-Reply-To: <8762ubwg47.wl%markert.michael@googlemail.com> 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: Michael Markert Cc: emacs-orgmode@gnu.org > * Convert iCalendar recurrences to org recurrences[2] >[2] And I'm quite sure it can't be done because orgmode has no concept > of a recurrence end like iCalendar does. Just as a possibility, what about using the diary syntax for dates in this case? I have successfully done repeating tasks from $STARTDATE to $ENDDATE using something like: %%(and (diary-block ...) (diary-cyclic ...)) I believe that this format for dates can now be placed into a standard org-mode date delimiter as well. Brian ----- Original Message ---- From: Michael Markert To: emacs-orgmode@gnu.org Sent: Thu, December 30, 2010 7:21:44 AM Subject: [Orgmode] Convert iCalendar files to org files 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. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode