Calendar:Using Lightning with Google Calendars: Difference between revisions

(first shot for this page)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Using Lightning with google calendars ==
== Using Lightning with Google Calendars ==


You can use google-calendars in two ways. You can have read-access to public calendars or you can use a calendar bi-directional, with both read and write-access. Most of this is valid for sunbird too though it isn't currently possible to receive or send invites to people with Sunbird.
You can use Google Calendar in two ways. You can have read-access to public calendars or you can use a calendar bi-directional, with both read and write-access. Most of this is valid for Sunbird too though it isn't currently possible to receive or send invites to people with Sunbird.


== read access ==
== read access ==
If you only need read-access to a google-calendar, you can use the link of the public ics-file which is provided by google such as:
If you only need read-access to a google-calendar, you can use the link of the public ics-file which is provided by google such as:
http://www.google.com/calendar/ical/plasticsoul.nl%40gmail.com/public/basic.ics
http://www.google.com/calendar/ical/username%40gmail.com/public/basic.ics


== read- and write access ==  
== read- and write access ==  
If you need both read and write access to your calendar, you need to install the gdata-provider from [https://addons.mozilla.org/en-US/sunbird/addon/4631 addons.mozilla.org]. Download the file by rightclicking on the link and choose save-as. Then in Sunbird or Thunderbird with Lightning installed, choose extra-addons and click on the install-button, point to the downloaded file and install the extension.
If you need both read and write access to your calendar, you have two options. You can either install the Provider for Google Calendar from [https://addons.mozilla.org/en-US/sunbird/addon/4631 addons.mozilla.org] or access it via CalDAV.
 
=== Provider for Google Calendar ===
 
The Provider uses a slightly different method of accessing the Calendar. It is more reliable w.r.t Alarms and some people say its also faster when refreshing. Get the extension from addons.mozilla.org: Download the file by right-clicking on the link and choose save-as. Then in Sunbird or Thunderbird with Lightning installed, choose Extras/Tools > Addons and click on the install button. Point it to the downloaded file and install the extension.


To access your calendar data, you need to retrieve your private XML URL from the Google Calendar UI.  
To access your calendar data, you need to retrieve your private XML URL from the Google Calendar UI.  
Line 20: Line 24:
The private link will look something like:
The private link will look something like:
http://www.google.com/calendar/feeds/username%40gmail.com/private-1ba218e6a25bfc32b25a4eb3f9ee6d96/basic
http://www.google.com/calendar/feeds/username%40gmail.com/private-1ba218e6a25bfc32b25a4eb3f9ee6d96/basic
Be sure not to use the ics-link but the XML-link!
The ICS Link should also work, but to be safe we suggest sticking with the XML link.
 
'''Google requires an authentication token on each request. To ensure the privacy of your data, change "http" to "https" in the link before adding the calendar.'''
 
After installing you can create a new calendar and choose "On the network". Then pick "Google Calendar" and paste or enter the URL to your calendar. Click "next" and choose a name and color. If you click "next" a popup appears in which you have to enter your login (with or without the @gmail.com part) and password and choose whether you want Lightning/Sunbird to save your password. Choosing "next" creates the calendar and provides you with two-way access to the google-calendar.


After installing you can create a new calendar and choose "on the network". Then pick "google calendar" and paste or enter the url to your calendar. Click "next" and choose a name and color. If you click "next" a popup appears in which you have to enter your login (with or without the @gmail.com part) and password and choose wether you want Lightning or sunbird to save your password. Choosing "next" creates the calendar and provides you with two-way access to the google-calendar.  
There are some limitations with using the google-calendar, please see the [http://wiki.mozilla.org/Calendar:GDATA_Provider#Bugs_and_Limitations gdata-page on mozilla.


There's still some limitations with using the google-calendar, please see the [http://wiki.mozilla.org/Calendar:GDATA_Provider#Bugs_and_Limitations gdata-page on mozilla.
=== CalDAV ===
Please see [http://www.google.com/support/calendar/bin/answer.py?hl=en&answer=99358#sunbird Google's support page]. It works very similar for Thunderbird/Lightning. Note that the support page has outdated URLs in some places, so also read [https://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/ this blog post about new CalDAV URLs].
Confirmed users
334

edits