Exporting Events and Locations
Pro PlusEvents Manager I/ORequires an Events Manager Pro Plus license. Compare plans
An export sends the events and locations you choose out of your site. Like an import, it is saved with its settings so you can run it again. There are two kinds:
- File exports (iCal, CSV, Excel) produce a file. You download it from wp-admin, or give it a public URL that other sites and calendar apps can read.
- Service exports (Google Calendar, Google Sheets, Meetup) create the events in your account at that service, and update them there the next time you run the export.
Exports cover events and locations only. To download bookings, use the export on the bookings screen (see Manage bookings).
Events Manager I/O is installed and its license is active (see Install and activate). For Google or Meetup, connect an account first.
Create an export
-
Go to Events I/O then Export and click Add Export.
-
Choose a format: iCal, CSV or Excel, or one added by the Google or Meetup plugin.
-
Enter a Reference Name and choose the Type: Events, Events and Locations or Locations. (iCal has no locations-only choice.)
-
Choose where the export goes. File formats show Export Destination, service formats show Export Source with your connected accounts.
A new CSV export. Export Destination decides whether the file is private or has a public URL.
-
Narrow the export with the Result Filters if you don't want everything.
-
Click Save and Export.
What happens next depends on the kind of export:
| Kind | After saving |
|---|---|
| File, private | A notice says This export is available to be downloaded. with a Download Export File button. |
| File, public | The notice adds a Visit Public URL button. Copy that address to share the feed. |
| Service | A notice says This export is ready to be initiated. with a Run Export button. Nothing is sent until you click it. |
To run an export again, open it from Events I/O then Export and use the same button. Exports can't be scheduled. A public URL doesn't need a schedule, because the file is built fresh on every request.
Export Destination for files
| Choice | What it does |
|---|---|
| Private exportable download | The default. The file can only be downloaded by an administrator from wp-admin. |
| Publicly accessible feed | Creates a public URL that returns the export's contents directly. Use it for an iCal feed that calendar apps subscribe to, or for another site that reads your events. |
| Publicly downloadable file | Creates a public URL that downloads the export as a file, named after your site, for example yoursite.com-emio-csv-export.csv. |
The public URL is created when you first save the export and looks like this, ending in a long random ID:
https://yoursite.com/events-manager-io/3f2b8c1e-...
On a site without pretty permalinks the address is https://yoursite.com/?events-manager-io=3f2b8c1e-... instead.
Each request to the URL runs the export again with your saved filters, so the result is always current. A filter such as Next 14 Days moves forward by itself.
There is no login in front of a public feed, and the file contains every column the export produces, not only what your event pages show. Open the file yourself and read through it before you share the address. To take a feed offline, switch its destination back to Private exportable download or delete the export.
Result Filters
| Filter | What it does |
|---|---|
| Event Categories, Event Tags | Exports only items in the categories or tags you select. Leave empty for all. |
| Search Text | Exports only items whose name or description contains this text. |
| Event Start Date | All Events, Future Events, Past Events, the next or past 7 or 14 days, or a date range. Relative choices are worked out each time the export runs. |
| Limit | The most items to export. |
What each format contains
| Format | Contents |
|---|---|
| iCal | The same event fields as Events Manager's own iCal feed, for the events your filters select. |
| CSV | One row per event or location and a header row. Columns are separated by semicolons. See Spreadsheets. |
| Excel | An .xlsx file with one sheet, the same columns as CSV and a bold header row. |
| Google Calendar, Google Sheets, Meetup | See the page for each service: Google Calendar, Google Sheets, Meetup. |
To change the CSV separator to a comma, add this to wp-config.php:
define( 'EM_CSV_DELIMITER', ',' );
Exports to a service keep in sync
A service export remembers which item at the service belongs to which event on your site. When you click Run Export again:
- an event exported before is updated in place at the service, with its current details
- an event that is new since the last run is created there
Removing an event from your site, or from the export's filters, does not delete it at the service.
Service exports have a History tab that lists each run and each item, with any error the service returned. File exports keep no history.
Troubleshooting
The public URL shows a "page not found" error
WordPress may not have registered the address yet. Go to Settings then Permalinks and click Save Changes without changing anything, then try the URL again. Also check that the export's destination is still one of the two public choices.
The CSV opens in one column
Your spreadsheet app expects commas and the file uses semicolons. Either import the file into the app and choose the semicolon as the separator, or set EM_CSV_DELIMITER as shown above.
A Google or Meetup export fails with a connection error
The account's connection has probably expired or been revoked. Reconnect it on the Service Connections tab (see Connect accounts) and run the export again. The export's History tab shows the message the service returned for each item.