The Events Importer module must be enabled before you can use it. Staff from Web Development Services must enable this module for you. Please contact us.
The Events Importer module allows you to automatically import events from an iCal feed into your Event A collection of fields that describe a specific type of content, like a news article, a person, or an event. Site admins can add additional content types by enabling optional modules. WDS can also create custom content types for a site. . Because content is imported into the Event content type, it can be displayed and managed just like any other event that you add on your site. For example, you can use Events List and Events Calendar blocks to display the events.
An alternative method for displaying items from an iCal feed on your site is available via the Feed Blocks module. This method does not import the events into the Event content type. Instead, the content in the feed is displayed in a special list block, with event titles linking directly to the source website.
How It Works
After adding one or more feeds to your site's configuration (described below), events from the source feed are imported into the Event content type every 15 minutes. Events that were previously imported will be automatically updated if their information in the feed has changed (e.g. the title or date of the event was was changed).
Each feed importer can be configured to automatically publish all events that are imported or to instead leave them unpublished, allowing an editor to manually publish only the events that are desired. Imported events that remain unpublished for 30 days will be automatically deleted, but published items will remain indefinitely.
The table below describes how fields from the iCal feed are mapped to fields on the Event content type.
iCal Field | Event Content Type Field |
---|---|
TITLE | Title |
URL | Related Link |
DESCRIPTION | Body |
LOCATION | Location |
DTSTART DTEND |
Start and end dates. If the source feed specifies recurring date rules, those rules are "expanded" and each date is added to the event. |
Setup Instructions
- Contact WDS to have the module enabled.
- Login to your site as a user with the "site admin" or "content manager" role.
- Visit the Content » Feeds page from the admin toolbar.
- Click the Add Feed button
- You may be brought directly to the feed form, or you may first need to click the "Events Importer (Generic iCal source)" link.
- Provide a descriptive title of the feed to help you easily identify it later.
- Paste in the URL of the iCal feed source. Feed URLs for other Site Builder websites are described in the Event Content Type documentation.
- If you want imported events published immediately, check "Auto publish imported events". Otherwise, you will have to manually publish events after they're imported. Keeping them unpublished allows you to curate which imported events you want to display.
- If you want all imported events to automatically redirect their detail pages to the source website, check the "Auto redirect detail pages to external event URL" checkbox. WDS recommends using this option.
- Optionally select a A term is an individual item that belongs to some taxonomy vocabulary, typically used for categorizing content. For example, a vocabulary "Colors" may have terms in it "Red", "Green", "Blue". to assign to all imported events from this feed.
- Click the Save and Import button to create the feed and immediately import items.
- The feed will be automatically checked every 15 minutes for updates.
- You can add multiple feeds if you need to import content from multiple different websites.
Managing Imported Events
- Visit the Content » Feeds page from the admin toolbar.
- Click the feed title of the feed you want to manage.
- You will be brought to a page that displays the list of all imported events. You can publish/unpublish/delete imported events using the checkboxes and bulk actions dropdown.
- Because events are imported into the Event content type, you can also view and manage them from the main content dashboard.
Important Notes and Limitations
- You cannot edit the title, body, location, date, or related link field from imported events. These fields are managed by the importer. This is to prevent your local changes being overwritten by a future update of the source content. Other fields (like categorization) are editable. If you want to make changes to an imported event, we recommend you replicate the event and unpublish the imported version.
- Imported events that remain unpublished for 30 days will be automatically deleted. This is to prevent the accumulation content that will never be used.
- Many iCal feeds published by other websites do not include the full event description and instead provide a short summary. The idea is that your site should link off to that event instead of displaying the entire contents. The original event URL is populated into the "Related Link" field to allow your visitors to click to read the full event details. It's recommended that the feed importer is set to automatically redirect all imported event detail pages to this original event URL.
- Images from events are not imported. The iCal format that most websites (including Site Builder sites) used for event feeds doesn't support images.