Skip to content
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

Add an ical (.ics) feed that includes all our events #58

Merged
merged 6 commits into from
Nov 18, 2023
Merged

Conversation

BudgieInWA
Copy link
Contributor

This PR adds a template that generates an .ics file with our events in it, closing #53.

It also improves the look of the events list on the site.

DTSTAMP is supposed to be in UTC, so I needed to add a .rb plugin. I
hope it works on GH Pages.
@BudgieInWA
Copy link
Contributor Author

I have tested this by manually importing the events into Google Calendar and it's working well: The title, start time, end time (or duration), location and description are all coming through.

Google calendar would parse html out of DESCRIPTION (where it shouldn't be) but is ignoring X-ALT-DESC, which is a Microsoft thing that I haven't tested yet.

I haven't tested it as a subscribed feed, so I don't know yet if modifications to the event details will flow through to clients. The DTSTAMP field should help with that. (Note to self: check if the timezone shenanigans works on GH Pages). One neat addition would be populating LAST-MODIFIED using https://github.com/gjtorikian/jekyll-last-modified-at, but we would have to build the site ourselves (or use GH Actions) to use arbitrary plugins, as far as I can tell.

@BudgieInWA BudgieInWA merged commit 2c7ab3c into main Nov 18, 2023
1 check passed
@BudgieInWA BudgieInWA deleted the ical branch November 18, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant