mbonsack wrote:
> I've been having trouble getting any college hoops scores for Illinois.
> I see that Big Ten is (still) ID "7", but when I look at an Illini score
> on the ESPN website itself, the URL looks like
>
> http://espn.go.com/mens-college-basketball/team/_/id/356/illinois-fighting-illini
>
> which ends with "illinois-fighting-illini". Should I use that full name
> for the team name when setting up SDT, or just Illinois?
>
> -mark
Illinois is what SDT pulls for the Team name. I played around with it a
little bit tonight and found there is a trailing space being added by
the ESPN website.
Try "Illinois " on your system and I think you'll get the scores to show
up.
I've added the following lines in the gotCBB subroutine to trim any
leading or trailing spaces from the teams returned from ESPN.
Code:
--------------------
#Trim any leading and trailing spaces from team names
$away_team =~ s/^\s+//;
$away_team =~ s/\s+$//;
$home_team =~ s/^\s+//;
$home_team =~ s/\s+$//;
--------------------
It's working for me, so I'll post an update to the BoomX2 version of SDT
included this patch and adding the American conference to the settings.
PS - The same code can be added to the gotCBB subroutine in tcutting's
release if that is what you're running.
------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=14327
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins