From: Benny Simonsen <benny@slbs.dk>
To: emacs-orgmode@gnu.org
Subject: Exporting calender to ical
Date: Mon, 10 Aug 2015 17:29:17 +0200 [thread overview]
Message-ID: <CABFHgZ_1S6KEMu8c9GGcucvjh1Ot6_rqd4NqeFazY4LpenzjDw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5272 bytes --]
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<number>-"
- 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
[-- Attachment #2: Type: text/html, Size: 7300 bytes --]
next reply other threads:[~2015-08-10 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 15:29 Benny Simonsen [this message]
2015-08-13 2:45 ` Exporting calender to ical Matt Lundin
-- strict thread matches above, loose matches on Subject: below --
2015-08-13 5:08 Benny Simonsen
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=CABFHgZ_1S6KEMu8c9GGcucvjh1Ot6_rqd4NqeFazY4LpenzjDw@mail.gmail.com \
--to=benny@slbs.dk \
--cc=emacs-orgmode@gnu.org \
/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).