EdX offers full support for this tool.
This topic describes how to embed Google calendars in your course.
Before you make content from an external site available through your course, be sure to review the content to ensure that it is accessible to people with disabilities. For more information, see Accessibility Best Practices for Developing Course Content.
You can also add Google Drive files, such as documents, spreadsheets, and images, to your course. For more information, see Google Drive Files Tool.
Google services are not available in some regions and countries. If Google services are not available in a learner’s area, the learner might see an “image unavailable” message in the place of the Google Drive file or calendar. EdX strongly suggests that you provide alternative resources for learners in these areas.
You can embed a Google calendar in your course so that learners see the calendar in the courseware. You can use a Google calendar to share quiz dates, office hours, or other schedules of interest to learners. For example:
To embed a Google calendar in your course, follow these steps.
Before you can add Google calendars to your course, you must enable the Google Calendars tool in Studio or OLX.
To enable the Google Calendars tool in Studio, you add the
calendar" key to the Advanced Module List on the Advanced Settings
page. For more information, see Enable Additional Exercises and Tools.
Alternatively, you can use OLX to enable the Google Calendars tool.
To enable Google Calendars in your course, you edit the XML file that defines
the course structure. You locate the
attribute, and add the string
google-calendar to it.
For example, the following XML code enables Google Calendars in a course. It also enables Google Drive files.
<course advanced_modules="["google-document", "google-calendar"]" display_name="Sample Course" start="2014-01-01T00:00:00Z"> ... </course>
For more information, see The Courseware Structure.
Before you can add a Google calendar to your course, you must make the calendar public and obtain its ID.
The tasks described in this section rely on the use of third-party software. Because the software is subject to change by its owner, the steps provided here are intended as guidelines and not as an exact procedure.
Open the Google calendar.
From the Settings menu, select Settings.
Select the Calendars tab.
You might have multiple calendars on the Calendars tab. Find the calendar that you want to share in your courseware.
In the row for the calendar to share, in the Sharing column, select Edit Settings.
Select the Share this Calendar tab, and then select Make this calendar public.
The Calendar Settings page closes, and you return to the Calendars tab. You continue by obtaining the Google calendar’s ID.
On the Calendars tab, select the name of the calendar.
Select the Calendar Details tab.
Next to the Calendar Address label, look to the right of the three colored XML, ICAL, and HTML buttons. In parentheses, you can see the calendar ID.
The calendar ID resembles the following text.
Select and copy the calendar ID. You use this value to configure the Google calendar component in your course.
To add a Google calendar in the courseware, you create an advanced component in Studio or create a Google calendar XBlock in OLX.
Make sure that you enable Google Calendars for your course before you add a Google Calendar component.
To add a Google calendar component, follow these steps.
On the Course Outline page, open the unit where you want to add the Google calendar component.
Under Add New Component, select Advanced, and then select Google Calendar.
The new component is added to the unit, with the default edX Google calendar embedded.
In the new component, select Edit.
In the Display Name field, type the name for the component.
In the Public Calendar ID field, paste the calendar ID you copied in the Obtain the Google Calendar ID task.
For the Default View field, select Month, Week, or Agenda.
This is the initial view that your learners have of the calendar. Each learner can change his or her view.
You can then Preview Course Content to see how the unit with the Google calendar will appear to learners.
To add a Google calendar XBlock in OLX, create the
You can embed this element in the
vertical element, or you can embed this
element in its own file that is referenced within the vertical. For more
information, see The Courseware Structure.
An example follows.
<google-calendar url_name="4115e717366045eaae7764b2e1f25e4c" calendar_id="firstname.lastname@example.org" default_view="1" display_name="Class Schedule"/>
The value of the
calendar_id attribute is the calendar ID that you copied
in the Obtain the Google Calendar ID task.
The edX Learning Management System sets the height and width values for Google Calendars. If you add these attributes, the LMS overrides your changes.