-
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
Export to Calendar (URL) #126
Conversation
✅ Deploy Preview for cesium-calendarium ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a section on the README.md
explaining which endpoints the API supports while providing a few a examples for each one? 🙏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RuiL1904 Implemented your suggestions 🙌 |
Co-authored-by: Rui Lopes <[email protected]>
Co-authored-by: Rui Lopes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 🚀
Added the very requested feature of exporting Calendarium events to a external calendar app, like Google Calendar. After discussing with @RuiL1904 we came to this way of doing it. By using the subscribe to calendar or add from url features of Google Calendar, Apple Calendar, etc. we can make our app send a .ics (iCal) file in response to a certain request on a certain path, the external calendar app will read and parse that file, importing all the events included on it. The external calendar app will also periodically check for updates on this events, so they are dynamic and will be updated on people's calendars according to the changes we make.
For this I created an API for events and for schedule that is able to receive and respond to requests with different query parameters, that define what subjects the user wants to see events from or which shifts he wants to see on his schedule. Side by side with this was also created the appropriate front-end to support this. Selecting Export > Calendar a new Modal will appear with relevant information about how to subscribe to the calendar and how it works, but most importantly it automatically generates a calendar URL with the query parameters in accordance with the unique user's options.