Adding Google Calendar Events to Your SharePoint Web Site (XML file data source)
It is possible to add Google Calendar events through RSS feed.
- Google Calendar must be set to “public” in order for it to be integrated into SharePoint using RSS.
- You will need to get RSS links from Google Calendar Atom feeds.
In our case, the link will look as follows:
- Go to Virto Calendar Web Part settings and create a new Data Source and title it, “Google calendar”. Select “XML file” as the data source. Enter the RSS link for your Calendar under the “Path to xml file” box. It should look like this:
- Define the rules of retrieving data from XML file as follows:
Prefixes and Namespaces atom http://www.w3.org/2005/Atom gd http://schemas.google.com/g/2005 XPath string for calendar events atom:feed/atom:entry XPath string for calendar event title atom:title XPath string for calendar event start date gd:when/@startTime XPath string for calendar event end date gd:when/@endTime XPath string for calendar event IsAllDay flag
These settings are required. You can also change the display style, legend color, etc.
Save the new data source, and then save the changes in the Web part settings.
Now all the events of your Google calendar will be displayed in SharePoint Calendar.