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

iCal export for school vacations #491

Open
wintermeyer opened this issue Jun 5, 2020 · 4 comments
Open

iCal export for school vacations #491

wintermeyer opened this issue Jun 5, 2020 · 4 comments

Comments

@wintermeyer
Copy link
Member

Users want to download iCal https://en.wikipedia.org/wiki/ICalendar exports of our calendars. For federal states and schools. We need to provide the following versions:

  • One calendar with just the school vacations (is_school_vacation == true).
  • One calendar with the school vacations and the public holidays.

Both will be linked on https://www.mehr-schulferien.de/ferien/d/bundesland/:slug and on https://www.mehr-schulferien.de/ferien/d/schule/:slug

I don't know under which path they should be routed (I guess /api/2.0/...).

Misc

I am not familiar with the iCal format but I guess it contains some sort of fingerprint to make sure if data has changed. We have to honor that system by querying the updated_at fields of the used periods and use that as that fingerprint.

@wintermeyer
Copy link
Member Author

I don't know how good this is but I just found it: https://github.com/lpil/icalendar

@riverrun
Copy link
Collaborator

Mostly finished in #532

Remaining tasks:

  • add links to the federal_state page
  • changed the wording and update the formatting of the links on the school page
  • decide what filenames we want to use and if we want different filenames for the different types of icalendars

@wintermeyer
Copy link
Member Author

  • decide what filenames we want to use and if we want different filenames for the different types of icalendars

I think taking the name of the location and the year is a good first choice.

@riverrun
Copy link
Collaborator

Updated in #533

The wording and formatting of the icalendar links still need to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants