jupiterbroadcasting.com
jupiterbroadcasting.com copied to clipboard
New calendar
I think it might be a good idea to look for an alternative / build a new calendar to replace the eyesore that is the current Google Calendar. Also, it would be nice to not be dependent on google for calendar things.
YES.
This would also necessarily require some internal JB changes, but is a welcomed exploration...
Any ideas on alternatives and ideas, post them here!
One alternative could be full calendar: https://fullcalendar.io/
The library can show events from the Google Calendar API, so we might not have to change the backend. https://fullcalendar.io/docs/google-calendar
I think moving away from a Google Calendar backend is a good thing - @gerbrent any thoughts?
Posting all other calendar stuff here (getting caught up on things :sweat_smile: )
- #501
- ideas/comments about current calendar solution (src)
The name that show's up in the client for that calendar is google.com that should be something that can be changed on the backend
- I think this one would be partially solved by the new #501, for at least delineating the live times
also have you considered publishing seperate calnedar feeds for the different live shows?
Hey hey, Fullcalendar is finally working on our makerspace's future Hugo page :D
You can find the result here: https://theotowngarage.com/events/
I had to create a custom docker image that has both hugo_extended and npm installed.
FullCalendar can take an .ics file. However, due to CORS, you cannot point it directly to the public google calendar feed. Right now it points to an .ics file that lives in the repo itself. You can also use a token from Google calendar but I haven't tried that yet. I prefer flexibility so we might stay with .ics; but google calendar needs to make a callback to rebuild the website at every new event.
This is the related Dockerfile https://gitlab.com/alexloss/hugo/-/blob/registry/Dockerfile
The automation to build & deploy the page https://gitlab.com/alexloss/otg-website/-/blob/master/.gitlab-ci.yml
The calendar partial https://gitlab.com/alexloss/otg-website/-/blob/master/layouts/partials/calendar.html
The Node dependencies https://gitlab.com/alexloss/otg-website/-/blob/master/package-lock.json
The js that dynamically renders the calendar https://gitlab.com/alexloss/otg-website/-/blob/master/assets/js/calendar.js
Shoutout to @mindplay-dk !!
I hope this helps, value for value as they say ;D
PS: Given that ical is a Node dependency and we load the .ics file dynamically, it might as well be used to display the events inside the cards with a much more 'native' design than the google iframe. We would like to implement cards as well and you lot already managed to make that work in #501 :)
I was just made aware today that the Nextcloud calendar by default shows event times in your client timezone.
So if we could somehow embed a public Nextcloud Calendar on the page it self, it should have about the same functionality as the current Google Calendar does.
Some documentation that might be helpful. https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/groupware/calendar.html