Event Organiser ICAL Sync


Event Organiser ICAL Sync adds feed management to your WordPress site, allowing you to automatically import ICAL feeds from other sites / Google Calendar.

ical-sync

Requires Event Organiser 2.2+ (free)


If an event is removed from a source feed, is it deleted on my site?

Next time the feed is fetched events which were previously added by this feed but no longer present in the feed are trashed (not deleted). (New events found are added, and existing events found in the feed are updated).

For this reason you shouldn’t edit a feed to change the source url as when this new url is fetched events added by the original will be trashed. Instead create a new feed, and delete the original if desired. Deleting a feed will not delete the events imported from it.

Can I import to a particular category?

Yes, since 1.1. You can also set the status of the imported events. You can also opt for the categories & status of imported events to determined by the iCal feed.

If I edit an imported event are my changes lost when the feed is refetched?

Yes. This is not a two way sync, so changes made on your site do not propagate to the source feed. When the source is re-fetched the event is updated according to the source feed.

How can I fetch my feeds according to a different schedule?

Feeds are fetched via WP-Cron. Details on how to add custom schedules can be found here: http://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules

As a simple example, the following adds a ‘Once weekly’ and ‘Every 10 minutes’ schedules. The following can be added to a site utility plug-in or (though not recommended) functions.php.

   function customprefix_add_custom_schedules( $schedules ) {

         // add a 'weekly' schedule to the existing set
         $schedules['weekly'] = array(
              'interval' => 7 * 24 * 60 * 60, //1 week in seconds
              'display' => 'Once Weekly'
         );

         // add a 'tenminutes' schedule to the existing set
         $schedules['tenminutes'] = array(
              'interval' => 10 * 60, //10 minutes in seconds
              'display' => 'Every 10 minutes'
         );

         return $schedules;
    }
    add_filter( 'cron_schedules', 'customprefix_add_custom_schedules' );

Why aren’t my feeds being fetched when it says it will?

Feeds are fetched via WP-Cron which is a WordPress’ in-built “pseudo cron” handler. (Genuine) Cron executes routines at specific times, but is not available in all hosting environments. WP-Cron is, but cannot guarantee a specific time. Due to the way it works, the more traffic your site receives (including bots), the greater accuracy of WP-Cron.


Purchase below, or get it free when you purchase Event Organiser Pro Business or Developer license. All license are valid for one year.

Purchase

Comments are closed.