This repository contains the code for a site that generates ICS calendar files with the individual schedules of Computer Science students at KU Leuven. This schedule can be imported in most calendar apps, such as Google calendar or iCal. Students who follow the Dutch Master's Programme can also select the English counterparts of their courses to show up in the schedule.
To generate an ICS file, the user simply marks the courses they want to include in the list. Afterwards, the user can generate the corresponding ICS calendar by clicking the "Download ICS File" button.
As the web-application adds the selected courses to the URL of the webpage, the selected choice can easily be saved and shared with other students by simply copying the URL of the page, either by manually selecting it, or by clicking the "Copy!" button.
- Click on "Agenda" in the right corner
- Click right on "Andere Agenda's" and select "Agenda Openen"
- Past the link and click on "Openen"
- Click on
plus
next to "De agenda van iemand and..." and select "Via URL"
- Paste the url and click on "Agenda toevoegen"
It is also possible to set reminders for upcoming events when importing the ICS link/file.
Composer is a package manager for PHP. Install Composer and install it to the project.
$ cd CSSchedule
$ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$ php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
$ php composer-setup.php
$ php -r "unlink('composer-setup.php');"
$ php composer.phar install
$ php composer.phar dumpautoload -o
This repository is created and maintained by Midas Lambrichts, Computer Science student at KU Leuven. This project was created in collaboration with Pieter-Jan Coenen and Stijn Caerts. Contributions to this repository are welcomed in the form of pull requests.