Publish calendars from Apple iCal 3 for free on Chandler Hub
May 28th, 2008 at 8:21 pm (3 months ago) by Jeffrey Harris under Chandler Hub ServiceJon Udell has been working on a series detailing how to publish public calendars using different calendar applications. Today’s post was about using iCal to publish a calendar to a WebDAV server.
Publishing using WebDAV definitely works, but as Jon points out, it’s hard to find a free web host that will give you a calendar view of your events. It also tends to be slow for large, frequently updated calendars, because the whole calendar has to be sent every time something changes.
Happily, for Mac OS X Leopard users, there’s a better option. Leopard shipped with iCal3, which includes CalDAV support. CalDAV is a protocol that allows fast (well, faster than WebDAV) multi-user access to calendars.
Chandler Hub was designed to make Chandler Desktop sharing easy, but it’s also a CalDAV server. So if you’d like to publish public calendars and edit private calendars with friends and colleagues, Chandler Hub may be a good choice for you.
Chandler Hub is a free service that, among other things, gives you shareable web-based calendars, editable using the web or a CalDAV client.
So, here’s how to share a public calendar using CalDAV and iCal3.
Sign up for a Chandler Hub account.
- When you sign up you’ll need to provide an email address

- Activate the account by clicking on the emailed link. Once the account is activated, log in. Initially, your account won’t have any calendars

- You’ll need to create at least one calendar (which Chandler calls a collection) in the Hub, or iCal won’t let you work with the account

Configure Apple iCal to sync with Chandler Hub
- In iCal Preferences, create a new CalDAV account by selecting the Accounts tab and clicking the plus at the bottom left

- You’ll need to expand the Server Options pane so you can enter your Account URL. The URL will be
https://hub.chandlerproject.org/dav/users/your_username
- Once you click Add, you may need to refresh by going to the Calendar > Refresh menu. Within a few seconds, you should see your calendars

[Optional] Now you can add new calendars directly from iCal, but it’s a little tricky. If you’ve already created all the calendars you need, you can skip this step.
iCal won’t let you drag and drop an old calendar onto your CalDAV account, you can only create a new calendar. To create one, first select one of your CalDAV calendars, then click the plus at the bottom left.
Unfortunately, when you create the calendar, you’ll get an iCal error message. The error message is mysterious, but happily it doesn’t prevent the new calendar from working. Just click OK and name your calendar.

(Note) Don’t try to delete a Hub calendar from within iCal, delete calendars from the Hub’s web interface. If you accidentally do try deleting from iCal, it’ll make the Hub account unusable. To recover from that, you’d need to delete the account in iCal’s preferences and recreate it. No data should be lost, but it’s a hassle.
- You should now have a few calendars to work with in iCal.

View and share your calendars on Chandler Hub
-
To share a calendar with the world, go back to Chandler Hub and confirm that all your calendars appear in both iCal and the Hub.

- Click the white “i” in a colored box, to the right of the calendar name. You’ll see the calendar info screen.

- To share the calendar with the wider public, click the Invite button

You can just send these URLs as is, but there’s one last detail.
Chandler has two main views, a week view and a list view. The default view is list, but that’s probably not what you want if you’re sharing a calendar.
To change views, look at the small icons near the top left of the screen. The calendar icon is on the right.

If you’d like people viewing your calendar to always see the week view, you can add
&view=calto the end of your sharing URL.
That’s it! Here’s a link to the example calendar I used to make this blog post, feel free to play with it if you’d like to see how it looks without creating an account.









May 30th, 2008 at 12:38 pm
the plot thickens; now when will it be possible to sync your iphone ical with your chandler hub account…
May 30th, 2008 at 2:18 pm
As far as I know, the iPhone’s version of iCal still will only sync to a desktop, it won’t pull from the network. But it sure would be sweet if they’d let you do CalDAV with iCal, just like you can do IMAP with email.
June 5th, 2008 at 3:41 pm
Hi,
I had hoped to use Chandler hub as a way to share information between iCal running on two desktops “edit private calendars with friends and colleagues” in the terms of your post. Could you be more specific on how to set this up?
What is the difference between using the “view & edit” link, and adding Chandler as a CalDav account as recommended in the wiki?
From the wiki, it appears that creating a hub account for each editor, then sharing read/write collections between those, then adding each of these as a CalDAV account to their respective iCals was supposed to work. But what happens for me is that each iCal can see the categories on THEIR hub account, but none of the categories shared from anyone else’s.
When I try to add the “View & Edit” link in iCal I get: “Error subscribing to the calendar: Data downloaded from https://hub.chandlerproject.org/pim/collection/…?ticket=… is not valid.”
I get this with your link above as well.
Of course, Safari not being able to view the hub account makes all this more problematic.
June 6th, 2008 at 11:57 am
Hi Paul,
What you’re trying to do is possible, but it’s a bit of a pain.
Unfortunately iCal doesn’t allow ticket based CalDAV subscriptions. It’s a pity, if they did, what you’re trying to do would work well. The recipient of the view-and-edit URL can go to that URL and click the CalDAV button to get a CalDAV link to just that calendar, with a ticket that allows access without a username or password.
Since iCal doesn’t support this, to share a calendar read-write between multiple iCal users you need each iCal client to subscribe using the same username and password.
Regrettably again, iCal won’t let you subscribe to a subset of a user’s calendars. So basically you have to make a different account for each group you want to share a set of calendars with.
So, for example, I have a personal account with a dozen calendars I don’t want to share with everyone, I also have a choir calendar I share with my choir. So, I created a separate choir account so everyone in the choir can have read/write access.
Note that for anyone who just wants read-access to the calendar (which is all that’s possible with WebDAV), the view-and-edit link provides an Apple iCal button which provides a read-only monolithic ics URL.