In the past Google Calendar exports were done by first removing all events of a day and then create new ones. This takes a lot of time for export and runs into Google Calendar usage limits after some time. By now content will be compared before removing/creating a single event one. To be able to do so, all other sync sources and targets have been removed, so its only possible to export from database to Google Calendar by this change. To trigger an export you need to create a trigger file. run_jobs.pl runs periodically e.g. started by cron and checks if a trigger file exists and start sync_cms.pl to export the selected events to the Google Calendar. Trigger files and jobs are configured at jobs.config. Each job has a source and target file containing the access data for calcms and the calendar. Configuration files have been cleaned up. Old Accounts and passwords have been removed. They hopefully should have been not active for a long time ;-)
22 lines
470 B
INI
22 lines
470 B
INI
<target>
|
|
<access>
|
|
calendarId your-id@group.calendar.google.com
|
|
serviceAccount your-account@developer.gserviceaccount.com
|
|
serviceAccountKeyFile googleApi.key
|
|
</access>
|
|
|
|
<date>
|
|
time_zone Europe/Berlin
|
|
</date>
|
|
|
|
<mapping>
|
|
title <TMPL_VAR location> - <TMPL_VAR series_name> - <TMPL_VAR title>
|
|
content <TMPL_VAR excerpt> <a href="<TMPL_VAR event_details_url>">mehr zur Sendung</a>
|
|
</mapping>
|
|
|
|
<system>
|
|
debug 1
|
|
</system>
|
|
</target>
|
|
|