This is a really simple Python CGI script that does some things to fix the iCalendar output of the Mimosa scheduling software. This was operated by me when I was studying in Turku Univerity of Applied Sciences. The institute does not use Mimosa scheduling software anymore.
Fix the daylight saving problem. Due to a bug in the software, when the schedule is generated before daylight saving starts, the lessons after the beginning of DST are marked one hour too late and vice versa.
Translate the character set to UTF-8 which is the preferred encoding in iCalendar.
Remove the calendar title that is repeated in square bracket on every event's summary. That is probably redundant as most calendaring software can mark different calendars anyway for example by color-coding.
If requested by user with parameter tidy=yes, remove all events without location identifier.
If requested by user with parameter insummary=STRING, show only events whose description contains keyword STRING.
The script is (no more) hosted at http://lukkari.iirolaiho.net/. You need to pass your campus and personnel/group identifier in the query string. For example, if you want the schedule of NPROMS14yt, you should enter
http://lukkari.iirolaiho.net/lukkari.py?campus=lemminkaisenkatu&group=nproms14yt to your calendaring software's URL field.