Getting Started Guide
Need help installing Zap Calendar? Click here for a tutorial on installing Zap Calendar, or find out how to add additional functionality to your Zap Calendar installation with over 2 dozen plugins and modules available for Zap Calendar.| Importing Events |
|
|
|
| Wednesday, 09 February 2011 09:08 | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Zap Calendar is very flexible in importing events from other systems. Zap Calendar supports two import methods, iCal and CSV. iCal is a standard file format used by calendar applications to move calendar information from one application or system to another. CSV (Comma Separated Values) is a generic format used widely by the industry to move data (not neccessarily calendar data) from one application or system to another. Here is a summary of the pros and cons of each method:
These import methods are described in detail below. In addition to these methods, the sequential events option in Zap Calendar's control panel allows entering a list of event titles that occur on a daily basis. For example, entering a school's lunch menu for entire month can be entered using this method. iCal ImportingZap Calendar provides two methods for importing iCal data. The first method, the import option in Zap Calendar's back end control panel, provides several options for importing iCal data:
The second method of iCal import is using the iCal Subscribe plugin, available with Zap Calendar Pro. The plugin provides an additional feature not available with the import option: synchronization. It can detect deleted events and will delete them automatically in the calendar. The iCal Subscribe plugin works on a single category, but you can setup an iCal synchronization stream for each category. More information about this plugin is available by clicking here. A technical description of the iCal format can be found in RFC 5545. CSV ImportingCSV importing is accomplished using the "CSV" tab in the import option in Zap Calendar's back end control panel. CSV files are simple text files with data separated by commas. The first line of the file defines the fields and their order. The CSV import feature recognizes the following field names: Date, Time, Duration, Title, Location, and Description (these field names may differ in other languages). Fields with commas included in the data should be enclosed in quotes. The date format can be either MM/DD/YYYY, DD.MM.YYY or YYYY-MM-DD. The time field can be specified in either 12 or 24 hour formats. The duration field is based on minutes, so a value of 60 here would mean a duration of 60 minutes or 1 hour. If the time field is blank, an all day event is assumed. If the duration field is blank, 1 hour is assumed. When exporting a spreadsheet to CSV, the first row should contain the field names. Here is a sample CSV file:
date,time,duration,title
This CSV file contains two events. The first line defines the data fields and the order in which they are used in the rest of the file. The first event, "New Year's Day", is an all day event that occurs on January 1. The second event, "Dinner Meeting" occurs at 5pm/17:00 on January 10 and lasts for 2 hours (120 minutes). The following options are available with CSV importing:
A technical description of the CSV format can be found in RFC 4180. |
||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Updated on Friday, 25 March 2011 13:44 | ||||||||||||||||||||||||||||||||||||||||||||||||||



