emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] icalender export: limited number of repeated events


From: Carsten Dominik
Subject: Re: [Orgmode] icalender export: limited number of repeated events
Date: Mon, 16 Jun 2008 17:57:26 +0200

Hi,

On Jun 16, 2008, at 11:07 AM, knubee wrote:

I need to share some of my calendar data with co-workers. One of
the biggest limitations I encounter with emacs/icalender is that
it does not seem to support a limited number of repeated events.

As far as I can tell, the way to specify this is with regular
expressions. Example:

* TODO Something every Sunday, 10:00-12:00, for 2 months
SCHEDULED: <%%(and (= (calendar-day-of-week date) 7)
                      (diary-block 1 6 200 31 7 2008)) 10:00-12:00>

I have not been able to figure out how to export these to an .ics
file.

Since iCal interpreters usually do not have access to Emacs lisp, it is
obviously impossible that the Emacs icalendar exporter could tranlate
sexp diary entries of arbitrary complexity.  We can be happy that it
does handle the most common ones.

However, I did not know that the icalendar format actually supported
something like UNTIL in the RRULE line.  So maybe we could teach the Org
exporter a syntax for this and export it properly.  However, I don't
have a good idea for a syntax, and not much time to implement it now.

One way to hack this yourself would be the following:

- Add some UNTIL:20080610 or smilar cookie to the entry, either
  to the headline or early in the body, so that it will end up
  in the summary field.  Make sure it does end up there, check the raw
  .ics file that Org is producing.

- Use the new org-before-save-iCalendar-file-hook to find these
  in the iCalendar file and turn them into an UNTIL field in
  the RRULE line of the entry.

- When you are done, share this with us!

HTH

- Carsten



Google calendar, on the other hand, will export something like
the following:

BEGIN:VEVENT
DTSTART:20080601T100000
DTEND:20080601T120000
RRULE:FREQ=DAILY;UNTIL=20080731

Has anyone else managed to get a limited number of repeating
tasks/events to export correctly to .ics format?

thanks.






_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]