[icalendar-dev] How to make a now & next application with an iCal feed
Salim Fadhley
sal at stodge.org
Sat Apr 5 13:46:05 CEST 2008
I have an iCalendar feed that represents the schedule of a broadcast radio
station. I'd like to perform some sort of query on this feed to tell me what
the current program is and what program will be starting next.
I've managed to use the icalendar class to iterate over the event objects in
the file, however is there a convenient way to query the object so that I
only get objects for which the start and end time is between a time-range?
The issue I have is repeating elements - most items in the calendar are
repeating elements - so one object might actually represent a whole range of
show instances in the schedule - how do I be sure I am not missing one.
Here is my public iCal:
http://www.google.com/calendar/ical/schedule%40resonancefm.com/public/basic.ics
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/icalendar-dev/attachments/20080405/01de1927/attachment.htm
More information about the icalendar-dev
mailing list