calendar scraper for unitn.it, live at http://unitncal.fgaz.me
FROM 2017 THIS WILL NOT WORK: unitn now uses a different "orari" website. The new website finally provides .ics files (yay!), but the full files are not exposed anywhere. As a result unitncal is now deprecated, and will be replaced by a simple static page which which will simply generate the urls.
This program downloads the calendar files used by unitn's "orari" webapp and converts them from the custom format to standard iCal, which is then easily imported in many calendar apps.
Simply use cabal run
(cabal install
, then unitncal
also works, assuming
that ~/.cabal/bin
is in your PATH
).
After starting the server, unitncal
will periodically scrape the Orari page and populate the in-memory database.
You can choose the default port, host, scraping url, scraping interval etc by editing Config.hs (sorry, no external config file for now)