emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: MidLifeXis at PerlMonks <midlifexis@wightmanfam.org>
To: Michael Markert <markert.michael@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Convert iCalendar files to org files
Date: Thu, 30 Dec 2010 06:04:18 -0800 (PST)	[thread overview]
Message-ID: <640491.47094.qm@web81604.mail.mud.yahoo.com> (raw)
In-Reply-To: <8762ubwg47.wl%markert.michael@googlemail.com>

> * 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 <markert.michael@googlemail.com>
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

  reply	other threads:[~2010-12-30 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30 13:21 Convert iCalendar files to org files Michael Markert
2010-12-30 14:04 ` MidLifeXis at PerlMonks [this message]
2010-12-31 17:43   ` Michael Markert
2011-01-06 19:13 ` Michael Markert

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=640491.47094.qm@web81604.mail.mud.yahoo.com \
    --to=midlifexis@wightmanfam.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=markert.michael@googlemail.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).