Closed crespire closed 1 month ago
Hey @crespire, there is nothing as of right now, but I'd love to make that work! I started working on automating things a few times, but never really got anywhere.
Edit: Also, for context, the conversation was here: https://x.com/marcoroth_/status/1785412172375293985
If you need a hand, I'd love to help!
I think the tricky part is to write the the right thing to the YAML file and checking if the event doesn't exist already. If you want to take a stab I'd love to see what you could come up with.
Yes, I can see if i can take a stab. Curious if you have any approaches in mind? I have not worked with Liquid/Jekyll like this before so any tips appreciated! I see Jeykll has hooks, is that maybe the way to get started here?
I think I would want to make this Jekyll-independent. I was thinking of a GitHub Action that runs via CRON and just openes PRs (or commits it directly) by changing/appending to the meetups.yml
.
I saw a project/video a few years ago where they used the GitHub Repo as the datastore and automated the updates using GitHub Actions.
I'm not 100% sure but I think it was https://githubnext.com/projects/flat-data, maybe that could also work here!
Perfect, I'll take a look!
@crespire just wanted to mention that I opened #720 which adds an automation for the Meetup.com events, maybe we can easily adapt it to also make it work for RSS.
I think I just realized that RSS doesn't make sense for this.
It doesn't have standard fields for date
, start_time
and end_time
unless you use non-standard fields or re-/misuse the published
, updated
, dc:date
timestamps, but that seems less than ideal.
I have a working RSS feed for the seattlerb.org website, but like I said, it doesn't quite work - at least not for the use-case of feeding it automatically into rubyconferences.org.
Here's the RSS feed for reference: https://github.com/marcoroth/seattlerb.org/commit/a3d17858da0c29460fe1433a7ce89970a8dc87d3
Hey Marco, no problem. Would JSON work? I just have to build the appropriate endpoint for Toronto Ruby, so maybe I can take a look at how Meetup does it and do something similar on the provider side. Heck, I could have an endpoint generate a YAML file if we needed.
I could probably get the Toronto Ruby Rails app to generate an iCal so it's easy to grab!
Yeah, I think either would work, modelling it the same way as the meetup API might be a little bit too excessive, but technically that could work too.
But the ical could be used by attendees of the meetup as well, so there's that benefit too.
For completeness: I'm going to link to the PR over on the toronto-ruby.com repo: https://github.com/toronto-ruby/toronto-ruby.com/pull/42 and the pull request here: https://github.com/ruby-conferences/ruby-conferences.github.io/pull/735
@marcoroth ended up implementing an ICS method which completes this integration request though not via RSS.
Does the site offer a way to ingest events via RSS? I know I can get an RSS feed from the site, but I've set up Toronto Ruby's site to be able to render an RSS feed, and it would be good to be able to hook that up here for automated publishing.
I recall discussing this in passing on a previous issue, but I can't seem to find it now!