From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Exporting calender to ical Date: Mon, 10 Aug 2015 17:29:17 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140ea861aec76051cf6a629 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOp0t-0000gD-4a for emacs-orgmode@gnu.org; Mon, 10 Aug 2015 11:29:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOp0p-0000S1-HA for emacs-orgmode@gnu.org; Mon, 10 Aug 2015 11:29:23 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:33353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOp0p-0000Rk-6t for emacs-orgmode@gnu.org; Mon, 10 Aug 2015 11:29:19 -0400 Received: by ioii16 with SMTP id i16so172841433ioi.0 for ; Mon, 10 Aug 2015 08:29:18 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a1140ea861aec76051cf6a629 Content-Type: text/plain; charset=UTF-8 Hi I use org-mode for exporting to ical files, but the "new" exporter in org-mode v. 8 gives me problems. I have used Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/). In that version the export of the .org file listed below works fine. Using Org-mode version 8.2.10 I have seen those issues: - All subjects have got the timestamp in the subject - Duration is the default duration even for even for events with a time-interval - Events with time-interval is show double This is a minor issue if I can specify duration in another way - Location is missing - UID format changed from starting with "UID: TS-" to "UID:TS-" - Not an issue, if I remove old events before next export. Should I format the org-file in another way? - I can't find any examples. I would like to upgrade to the new org-mode for exporting calendar entries to get rid of the old org-mode and because there are needed some work arounds using the old exporter. I normally uses it for importing into various google calenders. ... maybe I should do it in another way. Br, Benny Shown below: - Org-mode file - ics file exported with 7.9.3f - ics file exported with 8.2.10 *Org-mode file:* #+TITLE: Test #+DESCRIPTION: Show what worked in org-mode 7.9.3f #+CATEGORY: Test #+PROPERTY: LOCATION Default Location that is included in ics events, Denmark # Exporting using org-mode 7.9.3f # ####################################################################### # open in emacs -q, Append old org-mode to load path: # Eval: (add-to-list 'load-path "~/git/ github.com/repo.or.cz/org-mode.release_7.9.3f-17-g7524ef/lisp") # org-version: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/) # To create .ics file: Type C-c C-e i (2 times to get location info). # Exporting using org-mode 8.2.10 # ####################################################################### # open in emacs -q (no init file), # org-version: Org-mode version 8.2.10 # To create .ics file: Type C-c C-e c f (tried several times). * Test :PROPERTIES: :ID: 9d651619-1322-4619-89bc-4855c769e124 :END: ** <2015-08-11 12:00> Simple event, default duration :PROPERTIES: :ID: 71def5c6-2f7e-4560-88d9-f13187bfd9f8 :END: ** <2015-08-12 12:00>-<2015-08-12 12:59> Event with specified duration :PROPERTIES: :ID: d8056b59-c841-451c-b0b7-bbf8e8695838 :END: ** <2015-08-13 12:00> Event at non-default location :PROPERTIES: :LOCATION: My home, Vodskov, Denmark :ID: 873a07ed-e059-41f9-8d76-c9c943a6afc6 :END: ** <2015-08-13 12:00> Event with description :PROPERTIES: :ID: 3f182ce8-f8e2-4495-8749-e9f84b0a7aa7 :END: Some text description * Local variables :PROPERTIES: :ID: deb438aa-d0e5-435b-8fa7-7c7ddc5a85a3 :END: # Local Variables: # org-icalendar-store-UID: t # org-icalendar-include-body: t # org-agenda-default-appointment-duration: 180 # End: *ics file exported with 7.9.3f:* BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:Test PRODID:-//Benny Simonsen//Emacs with Org-mode//EN X-WR-TIMEZONE:CEST X-WR-CALDESC:nil CALSCALE:GREGORIAN BEGIN:VEVENT UID: TS-71def5c6-2f7e-4560-88d9-f13187bfd9f8 DTSTART:20150811T120000 DTEND:20150811T150000 SUMMARY: Simple event\, default duration CATEGORIES:Test END:VEVENT BEGIN:VEVENT UID: TS-d8056b59-c841-451c-b0b7-bbf8e8695838 DTSTART:20150812T120000 DTEND:20150812T125900 SUMMARY: Event with specified duration CATEGORIES:Test END:VEVENT BEGIN:VEVENT UID: TS-873a07ed-e059-41f9-8d76-c9c943a6afc6 DTSTART:20150813T120000 DTEND:20150813T150000 SUMMARY: Event at non-default location LOCATION: My home\, Vodskov\, Denmark CATEGORIES:Test END:VEVENT BEGIN:VEVENT UID: TS-3f182ce8-f8e2-4495-8749-e9f84b0a7aa7 DTSTART:20150813T120000 DTEND:20150813T150000 SUMMARY: Event with description DESCRIPTION: Some text description CATEGORIES:Test END:VEVENT END:VCALENDAR *ics file exported with 8.2.10:* BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:test PRODID:-//Benny Simonsen//Emacs with Org mode//EN X-WR-TIMEZONE:CEST X-WR-CALDESC:Test CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20150810T145939Z UID:TS1-71def5c6-2f7e-4560-88d9-f13187bfd9f8 DTSTART:20150811T120000 DTEND:20150811T150000 SUMMARY:<2015-08-11 12:00> Simple event, default duration CATEGORIES:Test END:VEVENT BEGIN:VEVENT DTSTAMP:20150810T145939Z UID:TS1-d8056b59-c841-451c-b0b7-bbf8e8695838 DTSTART:20150812T120000 DTEND:20150812T150000 SUMMARY:<2015-08-12 12:00>-<2015-08-12 12:59> Event with specified duration CATEGORIES:Test END:VEVENT BEGIN:VEVENT DTSTAMP:20150810T145939Z UID:TS2-d8056b59-c841-451c-b0b7-bbf8e8695838 DTSTART:20150812T125900 DTEND:20150812T155900 SUMMARY:<2015-08-12 12:00>-<2015-08-12 12:59> Event with specified duration CATEGORIES:Test END:VEVENT BEGIN:VEVENT DTSTAMP:20150810T145939Z UID:TS1-873a07ed-e059-41f9-8d76-c9c943a6afc6 DTSTART:20150813T120000 DTEND:20150813T150000 SUMMARY:<2015-08-13 12:00> Event at non-default location LOCATION:My home, Vodskov, Denmark CATEGORIES:Test END:VEVENT BEGIN:VEVENT DTSTAMP:20150810T145939Z UID:TS1-3f182ce8-f8e2-4495-8749-e9f84b0a7aa7 DTSTART:20150813T120000 DTEND:20150813T150000 SUMMARY:<2015-08-13 12:00> Event with description DESCRIPTION:Some text description CATEGORIES:Test END:VEVENT END:VCALENDAR --001a1140ea861aec76051cf6a629 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi
I use org-mode for exporting to ical files, but the "new"= exporter in org-mode v. 8 gives me problems.

I have used <= span class=3D"gI">Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef = @ /usr/share/emacs/24.3/lisp/org/). In that version the expor= t of the .org file listed below works fine.

Using Org-mode version 8.2.10 I have seen those i= ssues:
- All subjects have got the timestamp in the subject
- Duration is the default duration= even for even for events with a time-interval
= =C2=A0=C2=A0 - Events with time-interval is show d= ouble
=C2=A0This is a minor issue if I can specify duration in another w= ay
- Location is missi= ng
- UID format change= d from starting with "UID: TS-" to "UID:TS<number>-&qu= ot;
=C2=A0 - Not an is= sue, if I remove old events before next export.

<= span>Should I format the org-file in another way? - I can't find any ex= amples.

I= would like to upgrade to the new org-mode for exporting calendar entries t= o get rid of the old org-mode and because there are needed some work around= s using the old exporter.

I normally = uses it for importing into various google calenders. ... maybe I should do = it in another way.

Br,
Benny<= br>

Shown below:
- Org-mode file
- ics file exported with 7.9.3f
=
- ics file exporte= d with 8.2.10

Org-mode file:
#+TITLE:=C2=A0=C2=A0=C2=A0 Test
#+DES= CRIPTION:=C2=A0 Show what worked in org-mode 7.9.3f
#+CATEGORY:=C2=A0=C2= =A0=C2=A0 Test
#+PROPERTY: LOCATION Default Location that is included in= ics events, Denmark

# Exporting using org-mode 7.9.3f
# ########= ###############################################################
# open i= n emacs -q, Append old org-mode to load path:
# Eval: (add-to-list '= load-path "~/git/github.com/repo.or.cz/org-mode.release_7.9.3f-1= 7-g7524ef/lisp")
# org-version: Org-mode version 7.9.3f (releas= e_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)
# To create .ics = file: Type C-c C-e i (2 times to get location info).

# Exporting usi= ng org-mode 8.2.10
# ###################################################= ####################
# open in emacs -q (no init file),
# org-version= : Org-mode version 8.2.10
# To create .ics file: Type C-c C-e c f (tried= several times).


* Test
=C2=A0 :PROPERTIES:
=C2=A0 :ID:=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 9d651619-1322-4619-89bc-4855c769e124
= =C2=A0 :END:
** <2015-08-11 12:00> Simple event, default duration<= br>=C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0 :ID:=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 71def5c6-2f7e-4560-88d9-f13187bfd9f8
=C2=A0=C2=A0 :END:
= ** <2015-08-12 12:00>-<2015-08-12 12:59> Event with specified d= uration
=C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0 :ID:=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 d8056b59-c841-451c-b0b7-bbf8e8695838
=C2=A0=C2=A0 :EN= D:
** <2015-08-13 12:00> Event at non-default location
=C2=A0= =C2=A0 :PROPERTIES:
=C2=A0=C2=A0 :LOCATION: My home, Vodskov, Denmark=C2=A0=C2=A0 :ID:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 873a07ed-e059-41f9-8= d76-c9c943a6afc6
=C2=A0=C2=A0 :END:
** <2015-08-13 12:00> Event= with description
=C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0 :ID:=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3f182ce8-f8e2-4495-8749-e9f84b0a7aa7
=C2= =A0=C2=A0 :END:
Some text description

* Local variables
=C2=A0= :PROPERTIES:
=C2=A0 :ID:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 deb438aa-d= 0e5-435b-8fa7-7c7ddc5a85a3
=C2=A0 :END:
# Local Variables:
# org-i= calendar-store-UID: t
# org-icalendar-include-body: t
# org-agenda-de= fault-appointment-duration: 180
# End:

ics file exported with 7.9.3f:
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Test
PRODID:-//Benny= Simonsen//Emacs with Org-mode//EN
X-WR-TIMEZONE:CEST
X-WR-CALDESC:ni= l
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: TS-71def5c6-2f7e-4560-88d9-= f13187bfd9f8
DTSTART:20150811T120000
DTEND:20150811T150000
SUMMARY= : Simple event\, default duration
CATEGORIES:Test
END:VEVENT
BEGIN= :VEVENT
UID: TS-d8056b59-c841-451c-b0b7-bbf8e8695838
DTSTART:20150812= T120000
DTEND:20150812T125900
SUMMARY: Event with specified duration<= br>CATEGORIES:Test
END:VEVENT
BEGIN:VEVENT
UID: TS-873a07ed-e059-4= 1f9-8d76-c9c943a6afc6
DTSTART:20150813T120000
DTEND:20150813T150000SUMMARY: Event at non-default location
LOCATION: My home\, Vodskov\, D= enmark
CATEGORIES:Test
END:VEVENT
BEGIN:VEVENT
UID: TS-3f182ce8= -f8e2-4495-8749-e9f84b0a7aa7
DTSTART:20150813T120000
DTEND:20150813T1= 50000
SUMMARY: Event with description
DESCRIPTION: Some text descript= ion
CATEGORIES:Test
END:VEVENT
END:VCALENDAR

= ics file exported with= 8.2.10:
BEGIN:VCALENDAR
VERSION:2.0<= br>X-WR-CALNAME:test
PRODID:-//Benny Simonsen//Emacs with Org mode//ENX-WR-TIMEZONE:CEST
X-WR-CALDESC:Test
CALSCALE:GREGORIAN
BEGIN:VE= VENT
DTSTAMP:20150810T145939Z
UID:TS1-71def5c6-2f7e-4560-88d9-f13187b= fd9f8
DTSTART:20150811T120000
DTEND:20150811T150000
SUMMARY:<20= 15-08-11 12:00> Simple event, default duration
CATEGORIES:Test
END= :VEVENT
BEGIN:VEVENT
DTSTAMP:20150810T145939Z
UID:TS1-d8056b59-c84= 1-451c-b0b7-bbf8e8695838
DTSTART:20150812T120000
DTEND:20150812T15000= 0
SUMMARY:<2015-08-12 12:00>-<2015-08-12 12:59> Event with s= pecified duration
CATEGORIES:Test
END:VEVENT
BEGIN:VEVENT
DTSTA= MP:20150810T145939Z
UID:TS2-d8056b59-c841-451c-b0b7-bbf8e8695838
DTST= ART:20150812T125900
DTEND:20150812T155900
SUMMARY:<2015-08-12 12:0= 0>-<2015-08-12 12:59> Event with specified duration
CATEGORIES:= Test
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150810T145939Z
UID:TS1-8= 73a07ed-e059-41f9-8d76-c9c943a6afc6
DTSTART:20150813T120000
DTEND:201= 50813T150000
SUMMARY:<2015-08-13 12:00> Event at non-default locat= ion
LOCATION:My home, Vodskov, Denmark
CATEGORIES:Test
END:VEVENT<= br>BEGIN:VEVENT
DTSTAMP:20150810T145939Z
UID:TS1-3f182ce8-f8e2-4495-8= 749-e9f84b0a7aa7
DTSTART:20150813T120000
DTEND:20150813T150000
SUM= MARY:<2015-08-13 12:00> Event with description
DESCRIPTION:Some te= xt description
CATEGORIES:Test
END:VEVENT
END:VCALENDAR

--001a1140ea861aec76051cf6a629--