GRS site issue fixed (I hope)
Posted by mholmes on 23 Jun 2009 in Activity log
SB reported yesterday, and then again today, some inconsistent behaviour with the display of the UVic calendar events as an RSS feed on the main GRS page. When I investigated, I discovered that:
- The Events page PHP feed handling object is set to retrieve and cache all events for the next 365 days.
- The feed handler on the site home page was set to retrieve only events for the next 100 days.
- The events SB had posted were outside the 100-day limit.
- Therefore if the home page handler was hit during the cache expiry period (i.e. within five minutes of the Events page having been hit), then it used the cache file, and showed the events, but if it was outside the cache period, then it got a new set of data from the calendar site, including only 100 days, and therefore failed to retrieve and show those events.
On SB's instructions, I set the index page feed to 365 days as well. That should fix the problem.