craigh/PostCalendar — pull request #27 by evert (2012-09-16 17:52:32+00:00)
Title: Icalendar export

Hi!

This is what I've come up with. A few notes:

1. I pretty much left the entire smarty template blank, except 1 template variable that holds the entire object.
2. Right now I don't have a calendar name, so by default the calendar name will be picked up as 'Unitled' in iCal for example. If you can tell me if I can get a name somewhere, or if you want a default calendar title.. let me know.
3. At the moment I called the header() function from within the view to set the Content-Type to text/calendar. This is probably wrong.. not sure how to do it properly though.
4. I included a composer autoloader in lib/vendor/sabre-vobject

Let me know what you think