While I was exchanging emails with Brandon regarding publishing in Windows Calendar, I thought it might be good to quickly touch on how you can use Windows Calendar to publish your calendars and where you can subscribe to some online calendars.

In the February CTP, Windows Calendar uses "Web-based Distributed Authoring and Versioning" (aka WebDAV or Web Folders) to publish an iCalendar file to the Internet. Of course, you also have the option to "Export…" a calendar to an .ICS file and upload it to whereever you want. (Note: In more recent builds, we’ve also added the ability to publish to local network shares, the file system, etc.)

What’s really nice is that WebDAV is a standard (RFC 2518) that is already supported by IIS, Apache and even sharepoint websites, which really enables you to be able to share your calendars between a variety of different calendaring applications.

For the more technical crowd, here’s some information on setting up WebDAV on Windows 2003 server or how to set it up on Apache on a unix box.

One final technical note: if you’re trying to publish to a WebDAV server with only basic authentication turned enabled, remember that since Windows XP Service Pack 2, basic authentication has been disabled by default. I’m trying to dig up what you need to do to re-enable it in Vista.

With regards to subscribing, Windows Calendar uses a fairly straightforward HTTP request. In Feb CTP, we were using the BITS download service, which caused some issues when downloading from certain websites that don’t put the Content-Length header in their HTTP response. Since then, we’ve moved over to a pure HTTP download, which has been working really well. Windows Calendar is also the default application for handling webcal:\\ URL’s in Vista.

To grab some interesting online calendars, you might want to check out some calendar sharing sites such as www.icalshare.com (be warned though, you might run into the Content-Length issue with the Feb CTP).


8 Comments

    Steno (March 13, 2006 @ 5:00 am)

    I’ve been trying to open and publish calendars to an webdav share without any success with the Calendar app in Vista, the same webdave share works just fine in XP and Sunbird/Web folders (basic auth)
    Is the Web folder support disabled in Vista 5308?
    I cant find “Add a network place” anywhere either!


    Steve (March 13, 2006 @ 6:33 am)

    As mentioned, basic is disabled by default (and has been since XPSP2). I’m trying to find out what you need to do to turn it back on.


    Steno (March 13, 2006 @ 7:46 am)

    But I havent done anything in my XP SP2 to get basic auth for Web Folders to work, it just work fine!
    And where has the “Add Network Place” gone in Vista? I cant even try to open my Webdavshare (with our without basic auth) and copy my .ics file!
    Ive got the feeling that the publishing/subscription function i Calendar does not work outside your local lan yet…?


    Steve (March 13, 2006 @ 1:08 pm)

    Not sure why it’s working on xpsp2 for you, but you have to reenable basic auth per http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx#EGAA (at least I did).

    As for Vista – not sure where that went. Ill have to look.


    Jonathan Wise (March 14, 2006 @ 10:57 am)

    *COUGH* Apple *COUGH* iCal *COUGH*


    Ken Partridge (March 14, 2006 @ 11:00 am)

    Here is a question, you need WEBDAV if you want to publish to a site.
    Would need WEBDAV (or could you use it) if you only had people grabbing data from the site but wanted only people who had useridd/passwords to get to the site ?
    Right now i am passing the used id/password on the url line over an ssl connection.


    Steve (March 14, 2006 @ 9:38 pm)

    WebDAV is only needed to publish. You can use standard HTTP to download. Just enter the http address is the subscribe dialog.


    Bert (March 22, 2006 @ 7:27 pm)

    HELP !!!
    i am getting an Red X error .
    cannot run unicode version of ATL.DLL on windows ’95. please install correct version. ,,,, first of all , i dont know what this is, and i am running windows ME, not ’95 ??????? any help appreiciated greatly,thanks,
    Bert


Sorry, the comment form is closed at this time.