Tuesday, March 24, 2009

It's time to add baseball schedules to Google Calendar!

It's not very flashy, but I created a Google Calendar for each MLB team's 2009 schedule:

http://mlb.bolinfest.com/

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!

61 comments:

  1. Hi,

    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.

    Regards,

    Sumi

    ReplyDelete
  2. First - thanks! I wish I had discovered your Google calendar MLB schedules before the season started. Are you planning to do these again for 2010?

    - Is your script still running? If so, what gets updated? ... the game scores?

    ReplyDelete
  3. Guess I wasn't observant enough about the game score updates. Great job. And, thanks again.

    ReplyDelete
  4. Suppose, you are out spilled by a progressively dexterous adversary in soccer. softball pins

    ReplyDelete
  5. I just want to let you know that I just check out your site and I find it very interesting and informative.. UFABET

    ReplyDelete
  6. I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. 토토사이트

    ReplyDelete
  7. This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. ที่นักพนันออนไลน์แนะนำ

    ReplyDelete
  8. This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here! ทางเข้าUFABET

    ReplyDelete
  9. I learn some new stuff from it too, thanks for sharing your information. แทงบอลออนไลน์

    ReplyDelete
  10. This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. UFABET

    ReplyDelete
  11. I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! SR9009 powder

    ReplyDelete
  12. It proved to be Very helpful to me and I am sure to all the commentators here! SR9009 powder

    ReplyDelete
  13. This is very nice one and gives indepth information. My site : UFABET

    ReplyDelete
  14. thank you for sharing your knowledge and experience with me vegus168 vegus168

    ReplyDelete
  15. Thanks for sharing your superb internet site. ufabet ufabet

    ReplyDelete
  16. Best Assignment Help Online has been a frequent provider of online services in the US and other countries for more than five years. Buy assignments in UK

    ReplyDelete
  17. 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

    ReplyDelete
  18. 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.

    ReplyDelete
  19. Dentistry research paper writing services have become very popular among dental school coursework writing service students seeking Dentistry Writing Services and dental assignment writing services.

    ReplyDelete
  20. Thank you a lot for providing individuals with an extremely marvellous possiblity to check tips from this website.
    รูเล็ต pantipล
    รูเล็ต pantip
    รูเล็ต pantip

    ReplyDelete
  21. This article is so interesting i love to share it with you guys.
    sa gaming
    sa gaming
    sa gaming

    ReplyDelete
  22. Thank you for all of your work on this web page.
    UFASTAR
    UFASTAR
    UFASTAR

    ReplyDelete
  23. เว็บไซต์ที่ดีที่สุดสำหรับนักเดิมพันออนไลน์ jokergame bz เว็บคาสิโน อันดับ 1 ผู้ให้บริการเกมที่แจกโบนัสเยอะที่สุด ใครอยากลงทุนกับเว็บไซต์คุณภาพ แนะนำเว็บนี้เลย

    ReplyDelete
  24. It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it! 먹튀검증

    ReplyDelete
  25. Hey, you used to write fantastic, but the last several posts have been kinda boring…토토사이트 I miss your tremendous writings. Past several posts are just a bit out of track! come on!메이저놀이터

    ReplyDelete
  26. I got a web site from where I be capable of really obtain valuable information regarding my study and knowledge.
    Great Article… Good Job… Thanks For Sharing…

    Website:안마

    ReplyDelete
  27. It's very interesting. And it's fun. This is a timeless article. I also write articles related to , and I run a community related to 안전놀이터. For more information, please feel free to visit !!

    ReplyDelete
  28. We hope that this type of content will take time for more authors to research and write well. I am very impressed with your vision and insight 안전놀이터. I have a lot of the same type of content on my site. name is 사설토토사이트

    ReplyDelete
  29. We were having a great deal of trouble with this problem. But looking at your article, the problem was solved. I wrote a thank you note.토토사이트

    ReplyDelete
  30. Hello ! I am the one who writes posts on these topics온라인포커 I would like to write an article based on your article. When can I ask for a review?

    ReplyDelete
  31. Thank you! This is what I need to find. 토토사이트 Hope to hear more news from you.

    ReplyDelete
  32. This is a very impressive subject. Thank you for always. I have been reading your article interestingly. If possible, please visit my website to read my posts and leave comments. Have a nice day! 토토사이트

    ReplyDelete
  33. I was impressed by your writing. I have a similar hobby as you. Can you come and see what I did?먹튀검증

    ReplyDelete