emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthieu Lemerre <racin@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: org and microsoft exchange
Date: Sun, 26 Jun 2011 15:35:51 +0200	[thread overview]
Message-ID: <871uygg1fs.fsf@free.fr> (raw)
In-Reply-To: <874o3kpvm0.fsf@googlemail.com>


After some digging I found the following setup to share my calendar with
people using outlook.

One problem is that org-mode produces ics files, but they are "calendar
snapshots", and outlook does import them well (if you import them twice,
your calendar items will appear twice)

This problem is described here: 

Basically, Outlook requires RFC2446 calendars for this, which requires
some additional fields (organizer, method, and sequence). It should be
possible to convert org-mode calendar import to produce this kind of
calendars, the only difficult track being to track the sequence numbers.

As a workaround, the best solution I found wast to generate a .ics file
and put it on a private http server (webfsd is appropriate for this).
If the URL to this file is http://nommachine.domain:3000/dir/file.ics,
just change it to webcal://nommachine.domain:3000/dir/file.ics and enter
this URL to Internet explorer. Then outlook can automatically subscribe
to this calendar.

The following lisp code launches the webfsd server and regularly updates
the ics file.

This isn't really "sync", but at least allows yourself and others to see
your calendar in outlook!

Hope that can be useful

#+begin_src emacs-lisp
(defun export-icalendar-at-the-right-place ()
(let ((org-agenda-files '("~/org/org.org"))
      (org-combined-agenda-icalendar-file "~/webfsd_public/org.ics"))

;; Automacally exports my calendar every 1800s (30 minutes)
(run-at-time "10 min" 1800 #'export-icalendar-at-the-right-place)

;; Launch webfsd to serve the .ics file
(start-process "webfsd" "webfsd" "webfsd" "-r" "/home/me/webfsd_public" "-p" "3001")

;; To access it from outook:
;; webcal://myhost.mydomain.fr:3001/org.ics

  parent reply	other threads:[~2011-06-26 13:36 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-18  2:09 org and microsoft exchange Skip Collins
2011-06-20  7:52 ` Eric S Fraga
2011-06-20 11:53   ` Holger Wenzel
2011-06-20 12:01     ` Skip Collins
2011-06-20 14:13     ` Jonathan Arkell
2011-06-26 13:35     ` Matthieu Lemerre [this message]
2011-06-27 17:14       ` Eric S Fraga
2011-06-27 19:13         ` Matthieu Lemerre
2011-06-28 23:16           ` Bastien
2011-07-07 19:13             ` Matthieu Lemerre
2011-07-08  9:26               ` Bastien
2011-06-29 16:44           ` Eric S Fraga
2011-07-07 19:21             ` Matthieu Lemerre
2011-07-08  9:02               ` Eric S Fraga
2011-07-08 22:14                 ` Achim Gratz
2011-06-20 11:53   ` Org-mode is not able to manage complex calendar events (was: org and microsoft exchange) Karl Voit
2011-06-20 14:38     ` Org-mode is not able to manage complex calendar events Eric S Fraga
2011-06-20 15:51       ` Karl Voit
2011-06-20 17:19         ` Eric S Fraga
2011-06-21 12:32           ` Karl Voit
2011-06-21 12:50             ` Rémi Vanicat
2011-06-21 16:46               ` Karl Voit
2011-06-21 15:12             ` Eric S Fraga
2011-06-21 17:24               ` Karl Voit
2011-06-28  9:36             ` Bastien
2011-06-28 12:19               ` How to place a feature wish (was: Org-mode is not able to manage complex calendar events) Karl Voit
2011-06-20 18:48         ` Org-mode is not able to manage complex calendar events Memnon Anon
2011-07-01 15:18     ` Bastien
2011-07-01 16:25       ` Karl Voit
2011-07-02  9:21         ` Bastien
2011-07-02 10:20           ` Karl Voit
2011-06-20 14:42   ` org and microsoft exchange Philipp Haselwarter
2011-06-20 15:04     ` Nick Dokos

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:

  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=871uygg1fs.fsf@free.fr \
    --to=racin@free.fr \
    --cc=emacs-orgmode@gnu.org \


* 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


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).