Tuesday, March 24, 2009

Each calendar will be updated automatically – I have a script that runs twice an hour while baseball games are on (it gets a break from 3am-noon eastern time) to scrape the latest data and update all of the calendars. Unfortunately, I don't think the calendars will be re-indexed that quickly by Google Calendar, but it's better than nothing.

I actually wrote Chickenfoot code two years ago to scrape data from mlb.com for use with CalMap and wikicalendars.com. Unfortunately, I never quite got Chickenfoot working with cron (which meant I manually ran the Chickenfoot script every morning to update the calendars), so this year I actually decided to run my original JavaScript code using Rhino since it's easy to kick off a Java process using cron. It sounds a little crazy, but it works great!

24 comments:

I've been trying to embed a mini Google Calendar on my website. I have come across a widget that you have made http://gmodules.com/ig/creator?synd=open&url=http://www.google.com/ig/modules/calendar-for-your-site.xml

I love it, except for that the event time in the pop up window is displayed in a wrong time zone (I think it's GMT 00:00) for non-Google users. Is there anything that I'm not doing correctly?

I'm sorry to communicate to you by posting a comment on you blog, but I could not find your email address anywhere on this blog. I would really appreciate it if you could give me some advice as to how to fix the time zone problem.

online assignment help granted as a common advanced and approved Tutor Service also All Homework Help organization which allows safe - secret and deliver services, we always try to our best to keep supporting us and order now. online assignment help

Online sociology essay writing services have come up with Sociology Assignment Writing Services for sociology coursework writing service students in order for them to score straight A’s in their custom sociology research paper services.