[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] .ics export violates RFC2445
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] .ics export violates RFC2445 |
Date: |
Tue, 29 Apr 2008 15:12:40 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
Carsten Dominik (address@hidden) wrote:
> On 7Nov2007, at 9:56 PM, Adam Spiers wrote:
> >I use org-export-icalendar-combine-agenda-files to export my
> >appointments to an .ics file which I point korganizer at.
> >
> >I noticed ages ago that if I have an appointment with a comma in,
> >e.g.:
> >
> >** <2007-12-07 Fri 20:00> foo, bar
> >
> >korganizer always shows it as "bar" rather than "foo, bar". But I
> >never got round to investigating whether it was a bug with the export
> >or korganizer or something else ... until now :-) I just took a quick
> >look at the iCalendar spec, which is RFC2445, and discovered that the
> >SUMMARY field is defined as follows
> >
> > summary = "SUMMARY" summparam ":" text CRLF
> >
> > -- from http://tools.ietf.org/html/rfc2445#section-4.8.1.12
> >
> >And the definition of 'text' in this context explicitly states that
> >several characters, including commas, need to be escaped with a
> >backslash:
> >
> > http://tools.ietf.org/html/rfc2445#section-4.3.11
> >
> >Sure enough, when I edited the .ics file and manually escaped the
> >comma, korganizer displayed the summary correctly.
>
> fixed, thanks
>
> - Carsten
This appears to have regressed in some recent version ...
Also, it would be great if a UID field could be generated for each
event, perhaps by checksumming the contents of the event in some way.
The RFC says:
Conformance: The property MUST be specified in the "VEVENT",
"VTODO", "VJOURNAL" or "VFREEBUSY" calendar components.
-- http://tools.ietf.org/html/rfc2445#section-4.8.4.7
The checksum would ensure that the UID field only changes when the
event details check, which would be a first step towards helping
synchronisation systems. I'm vaguely suspicious that the lack of UIDs
currently confuses Google Calendar too.
Thanks!
- Re: [Orgmode] .ics export violates RFC2445,
Adam Spiers <=