Hi Stephen,
I’m using EO at http://inside.tru.ca/events and I’m finding the ICS file is not being updated. We’re using multisite and ZenCache (cleared the cache yesterday).
I’m seeing my first event in the feed as February 5 – which it shouldn’t be as we have many more upcoming events.
As per normal, you can see the feed here: http://inside.tru.ca/eo-events. I’m parsing it with PHP and then spitting it out here: http://www.tru.ca/staff.html
Any thoughts?
Thanks!
Matthew Tarzwell
Oliver,
Just to clarify: its the iCal feed that EO generates that doesn’t seem to be updating with new events rather that a iCal feed your pulling in using iCal sync?
Stephen Harris
On reflection I think you may have been expecting the iCal feed to only return future events, it doesn’t, it includes all events.
You could try appending ?event_start_after=now
.
But also note that the feed will group recurring events. Rather than each occurrence, it will create one item for each event and specify a recurrence rule which can be used to generate the dates of the event. DTSTART and DTEND refer to the first occurrence of the event.
Stephen Harris
Hi Stephen,
Thanks for your reply – yes, I was expecting it to be only future events.
Appending that code worked great – thanks! I’m not worried about the grouping of events; that work as I expect.
Matthew Tarzwell