Date iCal is your one-stop shop for iCal support in Drupal. It provides a plugin for Views to enable exporting your site's calendar as an iCal feed, and a plugin for Feeds to enable importing external iCal feeds into your site's calendar.

Any entity which contains a Date field can be utilized by Date iCal for import and export of iCal feeds.

Date iCal depends on the following modules and libraries:

  • Views 3.5+, Entity API, Date, and Libraries 2.0+ are required.
  • The iCalcreator library is required. Please see the project documentation (linked in the Resources section in the sidebar) for installation instructions.
  • The Feeds module is optional. You'll only need it to import iCal feeds from other sites.
  • PHP 5.3 is required by the iCalcreator library to properly handle timezone data.

To learn more about how to use Date iCal, please refer to the project documentation, which is linked from the Resources section in the right sidebar on this page.

Notes for users upgrading from Date iCal 2.x to 3.x

If your site currently uses Date iCal 2, and you wish to upgrade to Date iCal 3 (to gain the advantages of its re-written Feeds parser plugin, and any other new features), please be aware that you must run the Drupal database update script after upgrading Date iCal. If you do not, you'll see errors mentioning "Missing Feeds Plugin", but you must not fix those manually. If you do, you'll get even more subtle problems later.

For those who use Features to define your importers, please be sure to update those features after upgrading to Date iCal 3.x.

NOTE TO USERS WHO IMPORT EVENTS USING FEEDS

Please be aware that as of April 9, 2014, a bug in the Feeds module causes all events imported into your site via iCal feed to have blank dates. Fortunately, there is a patch for the Feeds module, available here, which fixes this problem. Please use Feeds 2.0-alpha8 with this patch applied in order to avoid problems with date fields.

If you wish you add import X-GOOGLE-CALENDAR properties, or other non-standard iCal fields, check out the date_ical.api.php file for documentation on how to implement the hook_date_ical_mapping_sources_alter hook. It will let you define custom mapping sources for any VEVENT field.

Project Information

Downloads