zope, webdav, ical, vcalendar, etc.
I am trying to dynamically create iCalendar or vCalendar files. I can do this with a Zope Page Template, naming it myCalendar.ics. When myCalendar.ics is accessed through a web browser, iCal pops up and asks what I want to do with the calendar info, etc. and all is well. But what I would like to do is use iCal or thunderbird( lightening ) to subscribe to the calendar so that updates are handled automatically. For iCal to do this, it wants to access the ics file via webdav. So I attempt to connect to zope via its webdav port and request the sale zpt, but of course it sends it as its source, not as the rendered calendar. If i take out all the TAL and just have a static vCalendar or iCalendar file then this works via webdav but my whole reason for doing this is so that I can populate the calendar with events form a RDBMS when the myCalendar.ics template is called. Your ideas appreciated.
On 2/2/07, Erik Myllymaki <erik.myllymaki@aviawest.com> wrote:
So I attempt to connect to zope via its webdav port and request the sale zpt, but of course it sends it as its source, not as the rendered calendar.
The Zope webdav source port's sole purpose is to provide access to the source code of scripts and templates. Use the regular HTTP port for WebDAV access if you require templates and scripts to be rendered; Zope supports WebDAV access on the regular HTTP port out of the box. -- Martijn Pieters
participants (2)
-
Erik Myllymaki -
Martijn Pieters