I'm currently using
fetch_feed() to pull in RSS feeds of calendar events that live in an external, non-WP site. Once I pull in those feeds, I display each feed's events in a calendar view.
The problem is,
fetch_feed() has you set a number of items to grab. My goal is to show all events for the current month, and every month has a different number of events. So, I can either set the max number of events very high, take a performance hit, and be sure that I am grabbing all of the events, or I can lower the number of events but risk missing some of them toward the end of a month.
fetch_feed() or any other RSS parser enable you to fetch RSS items by date rather than by the number of total items to grab? Not just order by date - actually grab however many items have a date within the range I specify? Is there a better way to pull in this data, given that the only somewhat parseable format I can get out of the source site is these RSS feeds - their closed API is not feasible?