View previous topic :: View next topic |
Author |
Message |
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Thu Mar 08, 2007 1:12 pm Post subject: |
|
|
To deepak: yes, I'm using total team turnovers in all computations - see my first message
To gabefarkas: live NBA games happen when I'm in a deep REM phase, so I don't have any example of a live boxscore to play with. Currently I only use clockData to detect overtimes.
To John Quincy: you probably just need to replace a double 'nextSibling' with a single one for the team names to display correctly in Opera
To holymoly: thanks for the compliments. Forecasting is a very different animal. I prefer to keep things simple. |
|
Back to top |
|
|
gabefarkas
Joined: 31 Dec 2004 Posts: 1313 Location: Durham, NC
|
Posted: Thu Mar 08, 2007 1:37 pm Post subject: |
|
|
cherokee_ACB wrote: |
To gabefarkas: live NBA games happen when I'm in a deep REM phase, so I don't have any example of a live boxscore to play with. Currently I only use clockData to detect overtimes. |
In that case I'll play with it and let you know. |
|
Back to top |
|
|
ziller
Joined: 30 Jun 2005 Posts: 126 Location: Sac Metro
|
|
Back to top |
|
|
gabefarkas
Joined: 31 Dec 2004 Posts: 1313 Location: Durham, NC
|
Posted: Thu Mar 08, 2007 9:05 pm Post subject: |
|
|
Just curious if anyone else is trying this during tonight's CHI/ORL game? I am, and getting nothing to come up. Is it just me, or anyone else too? |
|
Back to top |
|
|
Eli W
Joined: 01 Feb 2005 Posts: 402
|
Posted: Thu Mar 08, 2007 10:45 pm Post subject: |
|
|
gabefarkas wrote: | Just curious if anyone else is trying this during tonight's CHI/ORL game? I am, and getting nothing to come up. Is it just me, or anyone else too? |
Yeah, it doesn't seem to work on live boxscores for me as well. _________________ Eli W. (formerly John Quincy)
CountTheBasket.com |
|
Back to top |
|
|
NickS
Joined: 30 Dec 2004 Posts: 384
|
Posted: Fri Mar 09, 2007 1:07 pm Post subject: |
|
|
I finally tried this out and it really is as great as everyone says.
Thanks.
Would it be possible to write a equivilant script for the Y! boxscores? I prefer their website for scores just because I think it's cleaner. |
|
Back to top |
|
|
gabefarkas
Joined: 31 Dec 2004 Posts: 1313 Location: Durham, NC
|
Posted: Fri Mar 09, 2007 1:34 pm Post subject: |
|
|
cherokee - it seems like it doesn't necessarily work during games. I took a quick look through the code and I can't figure out why not offhand.
So, I thought you might want to take a crack at it. I grabbed two source codes for you to take a look at.
Halftime of CHI/ORL
Midway through second quarter of SAS/SAC |
|
Back to top |
|
|
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Sat Mar 10, 2007 11:19 am Post subject: |
|
|
Thanks, Gabe.
The format is a little different in live boxscores, and that was causing troubles. I've updated the script with live boxscores support, plus I've added the possession estimate when minutes != 48
http://userscripts.org/scripts/show/7817
For Yahoo the script would be quite similar. Actually, my initial idea was to write it for Yahoo, but eventually (for Team turnovers and other reasons) my choice was ESPN, and that's it. I'm not planning on maintaining two different scripts. I'm sure you understand. |
|
Back to top |
|
|
Ed Küpfer
Joined: 30 Dec 2004 Posts: 787 Location: Toronto
|
Posted: Wed Mar 14, 2007 8:19 pm Post subject: |
|
|
Just wanted to confirm that this is working for live scores. Good job.
_________________ ed |
|
Back to top |
|
|
gabefarkas
Joined: 31 Dec 2004 Posts: 1313 Location: Durham, NC
|
Posted: Wed Mar 14, 2007 9:35 pm Post subject: |
|
|
Ed Küpfer wrote: | Just wanted to confirm that this is working for live scores. Good job. |
With a couple of tweaks, you can make it show actual possessions per team. But yeah, it works great for live scores too now. |
|
Back to top |
|
|
tsherkin
Joined: 31 Jan 2005 Posts: 247
|
Posted: Thu Mar 15, 2007 12:18 pm Post subject: |
|
|
That's an impressive piece of work...
Nicely done. |
|
Back to top |
|
|
AJax
Joined: 22 Jan 2006 Posts: 49 Location: The Prairies of the Great Middle West
|
Posted: Sun Mar 18, 2007 9:28 pm Post subject: |
|
|
Thanks very much for this, I've been meaning to install GreaseMonkey for months and this is a very worthwhile reason to do so.
Nice coding, we appreciate your work. - Adam |
|
Back to top |
|
|
RustyKSU
Joined: 19 Mar 2007 Posts: 2
|
Posted: Tue Mar 20, 2007 8:25 am Post subject: |
|
|
Awesome work...how hard would it be to grab the values from college box scores, which have a slightly different format?
I'd do it myself, but I'm pretty clueless when it comes to this stuff...I thought I'd see if someone had already done it before I wasted a couple hours learning how to write scripts. |
|
Back to top |
|
|
cherokee_ACB
Joined: 22 Mar 2006 Posts: 157
|
Posted: Thu Mar 22, 2007 2:39 pm Post subject: |
|
|
RustyKSU wrote: | Awesome work...how hard would it be to grab the values from college box scores, which have a slightly different format? |
Not much hard, but there are already sites with 4-factor NCAA boxscores, and ESPN doesn't provide turnover numbers in their live coverage, so a user script wouldn't be any better than what's already available for college. |
|
Back to top |
|
|
RustyKSU
Joined: 19 Mar 2007 Posts: 2
|
Posted: Fri Mar 23, 2007 8:24 am Post subject: |
|
|
cherokee_ACB wrote: | RustyKSU wrote: | Awesome work...how hard would it be to grab the values from college box scores, which have a slightly different format? |
Not much hard, but there are already sites with 4-factor NCAA boxscores, and ESPN doesn't provide turnover numbers in their live coverage, so a user script wouldn't be any better than what's already available for college. |
Gotcha, thanks...does cbssportsline have TO's in their standard live box scores? I know their NCAA tourney ones do, but can't remember what their standards are like. |
|
Back to top |
|
|
|