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!

85 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
  34. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts. 사설토토사이트

    ReplyDelete
  35. I learned a lot from you.토토사이트 I have a hobby similar to yours.

    ReplyDelete
  36. Wow, that's what I was searching for, what a information! present here at this website, thanks admin of this website. 토토사이트

    ReplyDelete
  37. Hi there, yup this article is genuinely good and I have learned lot of things from it about blogging. thanks. 카지노사이트

    ReplyDelete
  38. It's an awesome article in support of all the web visitors; they will take advantage from it I am sure. 파워볼

    ReplyDelete
  39. I am very impressed with your writing토토사이트 I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see!

    ReplyDelete
  40. Great post and amazing facts right here.Keep it up the wonderful work
    ม่วนอีหลีอิอิ
    jav

    ReplyDelete
  41. I think that I saw you visited my web site so I came to “return the favor”. I am trying to find things to enhance my web site! I suppose its ok to use some of your ideas!! I am constantly looking online for posts that can help me. Thanks!

    사설토토
    카지노사이트
    파워볼

    ReplyDelete
  42. The very next time I read a blog, Hopefully it doesn’t fail me as much as this one. I mean, Yes, it was my choice to read through, but I actually believed you’d have something useful to say.

    토토
    온라인카지노
    파워볼사이트

    ReplyDelete
  43. It’s appropriate time to make some plans for the future and it’s time to be happy. I have read this post and if I could I desire to suggest you some interesting things or advice.

    스포츠토토
    바카라사이트
    파워볼게임

    ReplyDelete
  44. That's a really impressive new idea! 토토커뮤니티 It touched me a lot. I would love to hear your opinion on my site. Please come to the site I run once and leave a comment. Thank you.

    ReplyDelete
  45. situs judi slot pragmatic memang sangat banyak digemarin karna memiliki game slot onlin yang menarik dan menguntungkan, untuk bermain slot online pragmatic terpercaya saat ini anda dapat mengunjungi http://www.auditioncafe.org/slot-depo-via-gopay/

    ReplyDelete
  46. Hello
    Thank you for giving me useful information.
    Please keep posting good information in the future
    I will visit you often. Thank you.
    I am also running the site. 메이저놀이터 This is a related site, so please visit once.
    Have a niceday!

    ReplyDelete
  47. 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
  48. I was looking for another article by chance and found your article 메이저놀이터 I am writing on this topic, so I think it will help a lot. I leave my blog address below. Please visit once.

    ReplyDelete
  49. Your information was very useful to me. That's exactly what I've been looking for 바둑이사이트!

    ReplyDelete
  50. Great content indeed 토토 https://www.majortotosite.pro/

    ReplyDelete
  51. Your article was very impressive to me. It was unexpected information,but after reading it like this 카지노사이트, I found it very interesting.

    ReplyDelete
  52. Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I get actually enjoyed account your blog posts. Anyway I’ll be subscribing to your augment and even I achievement you access consistently fast.

    사설토토

    ReplyDelete
  53. 바카라사이트윈
    I was pretty pleased to find this web site. I need to to thank you for your time for this fantastic read!! I definitely loved every bit of it and I have you book marked to look at new stuff on your blog.

    ReplyDelete
  54. Either way, Prague won 2-0 to advance to the quarterfinals with a combined score of 3-1 in the first and second games.
    The situation is the situation in which the Prague player collapsed due to injuries, and the 먹튀폴리스

    ReplyDelete
  55. you for the good writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! 토토존
    However, how could we communicate?

    ReplyDelete
  56. post very useful for me, as it contains lot of information. I always prefer to read the quality content and
    this thing I found in you post. Thanks for sharing토토프레이

    ReplyDelete
  57. 사설토토 I have read it, but the information is still less than mine, i am wanting to learn more

    ReplyDelete