This is a service that converts the events available on the University of Kent website and the Kent Student Union website into iCal format.
You can run the service locally
cargo run
docker run -p 3779:3779 JadedBlueEyes/kent-calendar-service
Then visit http://localhost:3779 and download the calendars you are interested in
The Kent Student Union and Kent websites block access from cloud services. This means that the service cannot be hosted on a cloud service and must be run locally.
The service first retrieves the page with the events from the University of Kent website.
It then parses the HTML to retrieve metadata and all of the script tags on the page.
The script tags are then evaluated in a sandboxed JavaScript environment, and the events are extracted from the global KENT
object.
Finally, the events are converted into an iCal calendar and returned to the client.
The retrieves events from the SUMS Pluto API. The service enumerates all pages to retrieve all events. The events are then converted into an iCal calendar and returned to the client.