{"id":274,"date":"2008-08-22T08:20:00","date_gmt":"2008-08-22T08:20:00","guid":{"rendered":"http:\/\/mozillacalendar2.wordpress.com\/2008\/08\/22\/philipps_developer_notes_using\/"},"modified":"2008-08-22T08:20:00","modified_gmt":"2008-08-22T08:20:00","slug":"philipps_developer_notes_using","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/calendar\/2008\/08\/philipps_developer_notes_using\/","title":{"rendered":"Philipp&#8217;s Developer Notes: Using CalDAV with Google Calendar"},"content":{"rendered":"<p>When I arrived at the <a href=\"http:\/\/wiki.mozilla.org\/Summit2008\">Mozilla Firefox+ Summit 2008<\/a> on the 28th, I was surprised to hear, that Google announced the release of <a href=\"http:\/\/google-code-updates.blogspot.com\/2008\/07\/google-calendar-now-caldav-enabled.html\">CalDAV support for Google Calendar<\/a> while I was up in the air. At first I thought Simon was joking when he told me, but he was not!<br \/>\nI had very mixed feelings on this step. On one side this is a really great step. Supporting CalDAV means that more applications will be able to natively read and write to Google Calendar, without the need for third party applications that proxy the write process through the web-based API. In the long run this means less work for me since at some point the Provider for Google Calendar will not be needed anymore. Instead of fixing the Provider for Google Calendar, I can focus on CalDAV bugs, which benefits both Google users and those of other servers. Also this is something I&#8217;ve been hoping for a while now and have asked Google employees about in the past.<br \/>\nOn the other side, I was of course a bit disappointed, that all the work and pain I&#8217;ve put into the Provider for Google Calendar is now being made obsolete. This didn&#8217;t last long though, since thats just the way it goes with software and I was always aware that at some point something like this would happen. Nevertheless I have no regrets since I think I&#8217;ve done a great deal for users of the Provider and the feedback I&#8217;ve gotten was overwhelming (and mostly positive). Writing the Provider also taught me a great deal about the Mozilla codebase and how the calendar application works, so it was definitely worth it!<br \/>\nSince the above sounds much like I&#8217;m going to drop work on the Provider right away and suggest to use CalDAV, let me tell you that it is quite the contrary. As noted in Google&#8217;s blog post, the release of CalDAV support is developer-focused. There are a number of <a href=\"http:\/\/www.google.com\/support\/calendar\/bin\/answer.py?answer=99360\">known issues<\/a> and application support is currently quite minimal. At the time of release, as far as I know only Apple iCal actually works. Therefore, I&#8217;d still suggest to use the Provider for Google Calendar until Google&#8217;s CalDAV server is more mature.<br \/>\nUsing a few workarounds introduced in <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=448561\">bug 448561<\/a> and <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=451455\">bug 451455<\/a> I was able to make Sunbird\/Lightning&#8217;s CalDAV work with Google. If you are interested in testing, please feel free to take a look at the latest nightlies (<a href=\"ftp:\/\/ftp.mozilla.org\/pub\/calendar\/sunbird\/nightly\/latest-mozilla1.8\/\">Sunbird<\/a> \/ <a href=\"ftp:\/\/ftp.mozilla.org\/pub\/calendar\/lightning\/nightly\/latest-mozilla1.8\/\">Lightning<\/a>).<br \/>\nPhilipp<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I arrived at the Mozilla Firefox+ Summit 2008 on the 28th, I was surprised to hear, that Google announced the release of CalDAV support for Google Calendar while I was up in the air. At first I thought Simon was joking when he told me, but he was not! I had very mixed feelings [&hellip;]<\/p>\n","protected":false},"author":426,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,15],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/posts\/274"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/users\/426"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/calendar\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}