Dear all, I'm trying to write a small program that will query a
particular google calendar in order to tell me what event is currently
happening and what event will be happening next. It's going on the
home page of a web-site for a radio station that uses Google Calendar
internally to manage it's broadcast schedule and roster of staff.

I've managed to write a short python program the connects to the
calendar feed and displays items, but they appear to be not in
chronical order of start but in the order that they were created in
the feed.

Can somebody point me to the right way of solving this problem - I had
hoped that there would be something along the lines of this
pseudocode:

feed = getFeedForURL( url )
items = feed.query( startdate = now, enddate = now + 1hour )
for item in items:
    print item.startitme
    print item.title

What's the right way to do this?

PS - the feed is here:
http://www.google.com/calendar/feeds/schedule%40resonancefm.com/public/basic

THANKS


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to