My Score Center - version 2.12.0.0 - 4 May 2014 (for MP 1.6/1.7) (2 Viewers)

HudsonHawk04

Portal Pro
August 26, 2010
84
1
Jayhawk Nation
Re: My Score Center - version 1.3 - 1 Nov 2010

I am in the process of adding College Basketball to the basketball section of the plugin, I have all the conference standings and the AP top 25 but I cannot figure out how to add final scores. Any suggestions?
 

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 1.3 - 1 Nov 2010

    I am in the process of adding College Basketball to the basketball section of the plugin, I have all the conference standings and the AP top 25 but I cannot figure out how to add final scores. Any suggestions?

    Hello HudsonHawk04,
    You try to be ready for March Madness :)

    What do you want to do exactly, what website are you using, what are you calling "final scores" ?
     

    HudsonHawk04

    Portal Pro
    August 26, 2010
    84
    1
    Jayhawk Nation
    Re: My Score Center - version 1.3 - 1 Nov 2010

    I am trying to grab college basketball scores from here NCAA College Basketball Scores - NCAA Basketball - ESPN. I have the conference standings pulling from yahoo and I have the AP top 25 pulling as well but from espn. You got me thinking would it be possible to (around the time of march madness) to pull from cbs.sportsline.com and have the bracket update itself along the way?
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 1.3 - 1 Nov 2010

    Boy, american sports are so complicated :)
    I just read about the bracket on wikipedia

    I'm not sure what data you want to parse to get the bracket.
    but if it is the bracketology page just using the following xpath expression looks not too bad
    //table[@class="data borderTop"]

    The projected champion is on a second column so here is the trick:
    - add a rule that is always true like row number != -1 and set the action to merge cells
    => column = -1, operator = '!=', value = -1, action = 'merge cells'
    - you can also format the conference (put this rule first otherwise it won't work)
    => column = 0, operator = 'ends with', value = ')', action = 'FormatLine', Style = 'your style'

    23-03-56.jpg
     

    HudsonHawk04

    Portal Pro
    August 26, 2010
    84
    1
    Jayhawk Nation
    Re: My Score Center - version 1.3 - 1 Nov 2010

    as far as the bracket goes if something could be made to input the teams and their corresponding seeds in the tourney that wouldn't bother me a bit. I am just at a complete loss on how to pull the final scores for the day in much the same way it is done for college football.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 1.3 - 1 Nov 2010

    Sorry, I don't understand what you want to do.
    Can you give the link to the page you want to parse.

    Is it this one? College Basketball - Rankings - Rivals.com
    In this case you may be able to reuse college football scores, just copy them and change the url and adapt other settings.
    You may also have a look to NHL scores.
     

    HudsonHawk04

    Portal Pro
    August 26, 2010
    84
    1
    Jayhawk Nation

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 1.3 - 1 Nov 2010

    ok so you need to copy the nhl results
    use xpath = //table[@class='scores']

    The difficulty here is that not all the tables have the same number of columns, and you can have a third (fourth?) in case of overtime.
    I suggest not to put headers, to skip the first 2 lines and add an "empty line" between each table (combo box near xpath elements field)
    For the column sizes to use something like = 0,-36,+5,+5,+5,+5,+5

    Note that for the url you can use rivals.yahoo.com/ncaa/basketball/scoreboard
    or http://rivals.yahoo.com/ncaa/basketball/scoreboard?d={yyyy-MM-dd}
    The first one will always give you the current day results, the second one too but in the next version it will show two buttons prev/next to navigate through history.
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,643
    764
    Göteborg
    Home Country
    Sweden Sweden
    Re: My Score Center - version 1.3 - 1 Nov 2010

    Hi Fred

    Could you help updating Championship Results and Standings? It seems to show information from the last season of 2009/2011.
    I've tried changing to 2010/2011 but it doesn't look any good using StreamedMP (perhaps skin related?)
     

    Attachments

    • Championship.png
      Championship.png
      117.3 KB

    Users who are viewing this thread

    Top Bottom