Skip to content

add ics (iCalendar) export for activiteiten#125

Open
wandernauta wants to merge 3 commits into
berthubert:mainfrom
wandernauta:ical
Open

add ics (iCalendar) export for activiteiten#125
wandernauta wants to merge 3 commits into
berthubert:mainfrom
wandernauta:ical

Conversation

@wandernauta
Copy link
Copy Markdown
Contributor

This adds an endpoint to retrieve a single Activiteit in iCalendar format.

Some calendaring applications have both "Add by URL" and "Import from file" features. This should work with both. The former may be more convenient as it will change if the Activiteit is updated.

The current version directly exposes the aanvangstijd, eindtijd, nummer, noot, onderwerp, soort, voortouwNaam and zaalnaam fields. A link to the berthub.eu instance is provided to give users a way to quickly find the remaining information (betrokkenen, agendapunten, bijlagen).

This adds an endpoint to retrieve a single Activiteit in iCalendar
format.

Some calendaring applications have both "Add by URL" and "Import from
file" features. This should work with both. The former may be more
convenient as it will change if the Activiteit is updated.

The current version directly exposes the aanvangstijd, eindtijd, nummer,
noot, onderwerp, soort, voortouwNaam and zaalnaam fields. A link to the
berthub.eu instance is provided to give users a way to quickly find the
remaining information (betrokkenen, agendapunten, bijlagen).
The std::chrono::from_stream function is still very new.
@wandernauta
Copy link
Copy Markdown
Contributor Author

Dit is natuurlijk bedoeld als een eerste implementatie van #119. In mijn kalenderprogramma ziet deze activiteit er dan zo uit:

2026-05-17 20 16 22 app fastmail com 4af9176c713a

Thunderbird lijkt ook oké. Ik heb geen Outlook of Google Calendar paraat om te testen, maar die zouden het ook moeten snappen.

Mocht er vraag naar zijn dan kan dit in de toekomst redelijk makkelijk uitgebreid worden naar een kalender per commissie of kamerlid, door ical een vector aan activiteiten te voeren.

@berthubert
Copy link
Copy Markdown
Owner

YEAH! Wat cool, ik ga het bestuderen! Maar erg mooi!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants