From: Simon Thum <email@example.com>
Subject: Re: [OT] org-caldav and radicale
Date: Mon, 19 Jan 2015 21:59:47 +0100 [thread overview]
Message-ID: <54BD7043.firstname.lastname@example.org> (raw)
On 01/19/2015 05:05 AM, Eric Abrahamsen wrote:
> I'm finally getting around to trying to have an Org-generated calendar
> available on my Android tablet. I looked at a few caldav servers, and
> settled on Radicale as looking like about the right level of
> I don't think I'm doing it right, and can't find any examples online.
> Can someone who's doing this (I know there are some of you) just show me
> the basic configuration? Specifically, how do I create a new calendar on
> the server, and how do I refer to it? My Radicale config has this:
Well I just put it on my server over http/DAV and have it
auto-regenerate from org (happens to be in git on the same machine)
using a script. But even if you generate locally and push, the following
might help you:
export bash script:
# export ical via org (funnyly, the X.org-trick causes harm here)
echo ">>> exporting iCalendar..."
emacs -batch -l ~/.emacs.d/init.el -l ~/bin/ical-export-3.el --kill
echo ">>> done with export."
export elisp script:
;; export icalendar using new icalendar exporter
; remove-if and friends
; inhibit source block execution during export
(setq org-export-babel-evaluate nil)
;; TODO check this TZ (also if to give decimal 47 (solidus) prefix)
(setq org-icalendar-timezone "Europe/Berlin")
;; while this violates iCal (missing VTIMEZONE), it is the nicest of
options for my setup
(setq org-icalendar-date-time-format ";TZID=%Z:%Y%m%dT%H%M%S")
;; Mins alarm
(setq org-icalendar-alarm-time 15)
;; use inhertited tags for iCal categories (add TODO state?)
(setq org-icalendar-categories '(all-tags))
;; target file
(setq org-icalendar-combined-agenda-file "~/org-export/all.ics")
; create sumo "all.ics" iCal
; create one without external stuff; sadly tags cannot yet be used
(org-agenda-files (remove-if (lambda (f) (string-match "external"
The last part (without external) is only relevant if you have external
calendars represented in org that you do not neccessarily want
re-represented in the ical. Anyway, tweak as neccessary.
> type = filesystem
> filesystem_folder = /home/eric/apps/cal/collections
> If I touch a file called "eric" in the "collections" directory, and then
> access the server via HTTP (ie http://cal.myserver.com/eric), the file
> is correctly served as an (empty) calendar and downloaded by my browser.
> How do I get org-caldav to mesh with that? I thought this would do it:
> (setq org-caldav-url "http://cal.myserver.com")
> (setq org-caldav-calendar-id "eric")
> But when I call `org-caldav-sync' it first collects all the headings
> it's supposed to, and then gives me:
> org-caldav-get-event-etag-list: Error while getting eventlist from
> http://cal.myserver.com/eric/. Got status code: 207.
> If I run it again, it offers to delete all the relevant Org headings.
> I suspect I've just got something configured wrong, but can't think of
> what. Any pointers?
next prev parent reply other threads:[~2015-01-19 20:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 4:05 [OT] org-caldav and radicale Eric Abrahamsen
2015-01-19 20:59 ` Simon Thum [this message]
2015-01-20 9:51 ` Eric Abrahamsen
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 \
* 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).