JavaScript CalDAV-Frontend

Posted by Nikolaus Gradwohl Sun, 29 Mar 2009 10:39:00 GMT

I just wrote a realy simple and small frontend for caldav calender (~700 lines of code including html) using the mootools framework it supports multiple calendar and displays a read-only week-view.

i'm using it with a DAViCal server

to install it, simply download the package, unpack it on your caldav server and enter the caldav urls of your calender in the config.js file.

thats it

have fun :-)

UPDATE: the code is released under the MIT License, but it would be nice if you link to my blog if you include it in your project :-)

Tags ,  | 4 comments | 1 trackback

Tweet This! submit to reddit Digg!

Comments

  1. Benjamin Close said 2 months later:

    This little javascript calendar is excellent - a great job!

    I've found a few bug however. A patch fixing them is at: http://nopaste.com/p/agP3PNqWpb

  2. Micha said 3 months later:

    Hi,

    how do I provide Login-Information to the caldav-URLs in config.js?

    I tried "https://User:password@davical.local/caldav.php/User/home/" to access the calendar of "User", but it does not work - no data will be shown. (and I can see "no access to calendar" in Firebug-Console...

    Any suggestions?

    BTW, is the above mentioned bugfix patch somewhere else available? nopaste.com seems to be down...

  3. Tester said 5 months later:

    Great script !

    Where can we find the bugfix patch ?

    The link is broken :-(

  4. Benjamin Close said 6 months later:

    Patch is available at:

    http://clearchain.com/~benjsc/downloads/patches/20090329-javascript-caldav-Frontend.patch

    Which won't expire!

    In regards to authentication, I found I had to modify to send the authentication. In my case it was:

    • headers: { 'Content-Type': "application/xml" },
    • headers: { 'Content-Type': "application/xml", 'Authorization' : "Basic abcdefghigjkletc="},

Trackbacks

Use the following link to trackback from your own site:
http://www.local-guru.net/blog/trackbacks?article_id=javascript-caldav-frontend&day=29&month=03&year=2009

  1. From ClearChain
    Caldav calendar & icalserver
    For quite a while now I’ve been using Apple’s ICal server on FreeBSD and Sunbird/Lightning as a front end to the calendar. However, one thing that has always annoyed me was the lack of a web frontend to my calendars. Well today after ...

(leave url/email »)

   Comment Markup Help Preview comment