-
Notifications
You must be signed in to change notification settings - Fork 2
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
Seminars: YAML→{HTML,ICAL} instead of ICAL→HTML? #27
Comments
Alternatively to huge YAML blob: using the _post folder and the blogging idea of jekyll, each seminar could be represented as a "date.markup" file. next are just some discussions from people trying to do posts -> ics and the like:
|
Looks good to me.
Oh this is cool, then no need for a specific library, I like it But can we ask Jekyll "please loop over each post and use the post metadata to generate this"? |
If I've understood that berlinphp was going, they've got a loop to make an vevent for each post METHOD:PUBLISH{% for post in site.posts limit:3 %} then it gets the post yaml variables i believe to pass around the meta-data SUMMARY:{{ post.title | remove: ',' | remove: ';' }} |
Brilliant! |
I'm thinking a one time script to get the .ics into a collection of .md files, then move on from there? |
Sounds great. You can add said script somewhere in the repo in a Good luck! |
Fixed by #29 |
At the end of 2022 I set up a new page for weekly seminars, whose HTML gets automatically generated from an ICAL calendar hosted on Nantes Université Zimbra. The goal was to make it easier for me to manage the schedule of seminars, and ICAL seemed a good idea since it allows me to create seminar slots directly in a calendar app.
However, I am now unsure about this decision for different reasons:
Therefore I am now considering going back to a system similar to the previous seminars page originally developed by Florent around ~2018, and still available in this file. The system was simpler: a huge YAML blob with all seminars, and HTML smartly generated from this blob. While it would not allow me to edit seminars in a nice calendar GUI, I would feel safer to know that everything is on git. Moreover, there would be no "desync" between the website and the ICAL.
Yet, because I still like this ICAL file (!), I'm considering implementing a small Jekyll extension that could produce ICAL contents that the Naomod website could still host as a URL, or use to display a graphical calendar view on the page. This still maintained Ruby lib could do the trick to implement that easily, I think.
In any case I'll get back to this once I have time, just writing and sharing thoughts for now :)
The text was updated successfully, but these errors were encountered: