Closed ajf58 closed 10 years ago
This link here explains how to write a custom view handler to output iCal
https://github.com/eluceo/iCal looks like a possibility for rendering .ics files. It's not a Symfony bundle but supports composer so can be included easily. Could write a simply bundle that wraps it if necessary.
Hopefully, this will tie in with #24 . E.g. /societies/amateur-dramatic-club/shows /societies/amateur-dramatic-club/shows.json /societies/amateur-dramatic-club/shows.xml /societies/amateur-dramatic-club/shows.ics should all be different views of the same content
The custom jsonp handler uses a method I can't find in any of the documentation @hoyes. This makes it difficult to understand.
Currently icalendars are generated from e.g www.camdram.net/ical/adc-theatre for a venue/society or www.camdram.net/ical/09-10/adc to specify a particular academic year.
We probably want to support these URL.
It makes some sense for various entities (Shows, Societies, People, and Venues) to have a .ics extension. People would only display performance dates, but the other three would probably contain application deadlines, workshops, and other 'events'
1) Need to determine the logical separation 2) Current bundles that support iCalendar (RFC 5545 http://tools.ietf.org/html/rfc5545)