ICS not updating?

This topic contains 3 replies, has 2 voices, and was last updated by  Matthew Tarzwell 8 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21611

    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
    #21617

    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
    #21618

    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
    #21623

    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
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.