views:

1116

answers:

1

Hi Everyone,

This is my first post here at stackoverflow. My question is how to change the google calendar feed so that it only shows events for the current day automatically?

Basically what I want to do is output the feed onto a webpage that only shows events for today. The feed would change day by day. I've done something similar with other feeds (not google calendar) before except in those cases, I would be outputting the most recent "#" of posts. This wouldn't work if I were to show events for today only.

I've searched around on yahoo pipes and found a few where it filters the feed with a date that you have to input. This works except I want to be able to make it automatic instead of having someone input the date. Reading the google calendar feed api, there's also a date range I can do, but it's the same issue, I would have to specify the range by hand. Is there any way to automate that or some other alternative?

Is there some xslt magic I can do or something?

Thanks for the help!

+2  A: 
Jukka Matilainen
To get today's events instead of the next 24 hours, you could use something like `today 00:00 +0300` and `tomorrow 00:00 +0300` as the starting and ending dates, substituting your own timezone offset for the `+0300`.
Jukka Matilainen
Wow, I wasn't aware that Yahoo Pipes could handle iCal. Nice, +1.
Tomalak
This is a great answer. I didn't know that the date builder module was allowed to accept relative dates. More than that, I didn't even know there was a date builder module! Thanks for helping me learn more about Yahoo Pipes.
hewittnbut