Chandler and phpicalendar

Chandler information

phpicalendar

It is quite easy to setup a phpicalendar view of the calendar of Chandler. You'll find below the quick step to do this.

  • Unpack the zip file.
  • Create a file called config.inc.php. In this file put the special configuration that modifies the configuration of the file default_config.php.
<?
$default_view                   = 'week';     
$language                               = 'French';             
$week_start_day                 = 'Monday';         // Day of the week your week starts on
$day_start                              = '0800';   // Start time for day grid
$day_end                                = '2100';   // End time for day grid
$charset                                = 'UTF-8';  // Character set your calendar is in, suggested UTF-8, or iso-8859-1 for most languages.
?>
  • Now you have to upload the calendars files in the subdirectory calendars. Upload manually the file or make a script to upadte this file, like I did. I did a cron job that downloads the calendar .ics file each 30 minutes.

crontab_file.txt:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (crontab installed on Wed Dec 12 23:00:07 2007)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
30 * * * * lwp-download http://chandler.sds-project.fr/chandler/webcal/collection/0f85db68-a82d-11dc-f705-c2e403125a15?ticket=6udnspaxn1 /var/www/html/perso/jfl/edt/calendars/Ensi_JFL.ics > /dev/null 2> /dev/null
30 * * * * lwp-download http://chandler.sds-project.fr/chandler/webcal/collection/c8281410-a82d-11dc-f705-c2e403125a15?ticket=di1c07ayy0 /var/www/html/perso/jfl/edt/calendars/Recherche_JFL.ics > /dev/null 2> /dev/null

You can replace lwp-download by any kind of wget-like software…

crontab crontab_file.txt

The problem is to find the special URL that sends the .ics file from the Chandler server. To find it, connect to your chandler account on the server. Then, near the list of collection, click on the “I” to get the information about this collection. You'll get a popup with “subscribe with” form: choose Apple ical: you will obtain the url that sends the ical file by http.

 
collaborative_work/chandler.txt · Last modified: 2007/12/16 23:08 (external edit)     Back to top