-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic: Meeting and event publishing workflow #35
Comments
Probably wait for #52 to do this |
Are we showing the google calendar on the website? |
I wasn't planning on it, no. I was thinking that for any upcoming meetings or competitions that we're participating in, we would render that information in our own way. We can add a calendar if we want, but I refuse to display the calendar in Google embed form because it's so ugly 😭. |
The best way to implement this is probably to add RSS feed support, then create a GitHub Action which is capable of:
|
On second thought, this is a horrible way to implement this. The actual best practice would be to generate an iCalendar (.ics) file and make it available at an endpoint. Then we create a Google Calendar which subscribed to that iCalendar. It also doesn't look like Google Calendar is able to sync iCalendars immediately (supposedly every 8 hours), so we can combine it with this Google Apps Script to trigger a sync after the site builds: https://github.com/derekantrican/GAS-ICS-Sync We can also split calendars by year to allow more flexibility. |
New solution for Google Calendar syncing: We simply use the Google Calendar API to import the website's built ICS file into a shared Google Calendar. This essentially creates a clone of the web calendar that lives on Google Calendar and we can update at will - except this time the updates will propagate instantly for other participants of the Google Calendar. Updates can be triggered via GitHub Action or a CI platform after a site build, so there is no need to host a service which is constantly polling for calendar updates. Also, because event IDs are shared between the calendars, events wouldn't be duplicated on each import, just updated with new info if found. |
It would be nice to streamline our entire meeting publication workflow:
featured
field or equivalent. (Send meeting link to Discord via webhook or pwnybot #130)The text was updated successfully, but these errors were encountered: