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

Wappy

Portal Member
September 14, 2008
16
0
Hi there im having a few problems in regards to setting up a table.

Im sure i'm going wrong i've read up on the the code but still i little lost.

i've tried these two sites

Sky Sports | Rugby League | Super League | Table

but there live score is in flash so i doubt we'd be able to use that :(


i then looked at the bbc score side

BBC SPORT | Rugby League | Tables | Super League table

and there live scores

BBC SPORT | Rugby League | Live scores | Super League live scores

Now here is what happened 1'st with the sky link i can get the table header in but not the table i then looked at the bbc and i thought that would be easier but for some reason i'm not even getting the headers in...

I know im going wrong somewhere probably in the id but im just lost.

Any help would be appreciated..

regards

Wappy:D
 

ederson13

Portal Member
December 9, 2008
40
3
what did you use for the xpath ?

i think this should do it ... i`m at work and i can`t test this
//table[@id='ss-stat-prem']
 

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    For the Super League (Jeu a XIII)
    View attachment SuperLeague.xml

    From BBC I have the following:
    http://news.bbc.co.uk/sport2/hi/rugby_league/tables/default.stm
    //table[@class='shorttable']

    http://news.bbc.co.uk/sport2/hi/rugby_league/fixtures/6484489.stm
    //div[@class='mvb']
    Here the xpath expression is based on "div" you can add a rule to highlight the first line of each score (like I did for the Cricket results). For example "Contains 2009" (see the attached file).

    http://news.bbc.co.uk/sport2/hi/rugby_league/results/6484501.stm
    //table[@class='ruRes']
    You need to set skip = 0, max = 1

    I cannot try the Live score because it's empty but it is probably like the fixture with div.

    For Fox (not in the attached file)
    Standings
    http://www.skysports.com/rugbyleague/league/0,19927,12197,00.html
    //table[@id='ss-stat-prem']

    Fixture/Results
    http://www.skysports.com/rugbyleague/calendar/
    //table[@class='ss-fixcal-table']
    And you need to skip the header twice skip = 2 and add your header.

    Two reasons to skip the header here and create your own:
    - there are many tables return by the xpath expression, that's ok but the header will appear between each line
    - the header is written with <thead><tr> and so parsed twice by the method which reads the table
     

    ysmp

    Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    v0.10

    Hello, v0.10 is available :)

    Here are the new features:

    First about the upgrade.
    Note that the new mpi contains an empty settings file.
    If you have configure your own scores or modified the existing ones, before upgrading export you settings to an XML file (using the export button on the configuration screen, or by copying the settings file).
    Then install the new version. Starts the plugin to synchronize the settings with the online file then import your scores.
    My advice is to import your own scores (new) and use only the "name" option to merge the existing ones.

    Online Synchronization
    It is possible to let the plugin synchronize the settings with an online file.
    For now the settings are hosted here.
    The plugin won't download any icons, but a zip file with all the icons is available here.

    If you want I can upload other files, someone sent me a Russian version of the initial settings.

    By default the plugin is configure to synchronize only the first time (or when the scores list is empty), but you can change this in the configuration screen: to always (every time the plugin starts) or Manual (with the context menu). The option Never will actually do the same as Manual.
    My advice is to set it to Manual since the file won't be updated every day.

    The online file contains most of the new scores I proposed in previous post, plus many others:
    - groups for champion's league and europa league
    - groups for world cup qualification (europe only for now)
    - Vuelta (Spain cycling race)
    - US Open (Just a live table because I haven't found anything really good)
    - A lot of 'history' tables

    Rules
    1 new operator is available: IsNull
    2 new formatting actions:
    - ReplaceText: to replace the text in value, if value contains a ',' the second element is used as the replacement
    Example:
    Text='abca' Value='a' => Result = 'bc'
    Text='abca' Value='a,z' => Result = 'zbcz'
    - MergeCells: Applies to the full line and basically it means that the column sizes are ignored and all the cell on the line are displayed one after another.
    It is useful for example when sometimes a line contains only a value in the first cell and this value is larger than the other cells of the same column (in HTML a colspan is used).

    Column Sizes
    It is possible to specify that the text in a column needs to be center by using a '+'.
    So '-' = Align left, '+' = Align center, nothing = Align right

    Paging
    If the score is too long for the screen a 'Next' button will appear. The navigation is right first then down. But try to avoid score too large because it is hard to read them.
    For skinner, the 'Next' Button has the ID=40.
    The Forward button on the remote can also be use to go to the next page.
    When the last page is displayed, clicking next will send you back to the first page. For now it is not possible to go back.
    I know there are still some issues about this in some weird case.

    Ordering scores
    The configuration screen allows you to change the order of the scores (not the categories or the leagues). Select a score and click the up or down buttons in the toolbar.
    I also optimize the construction of the tree in the configuration screen since the list of scores was increasing quite a lot ans also when saving a score.

    By the way, I'm thinking to remove this save button because I always forgot to click on it (I know I'm the one who put it here). This will means that the score will be committed when selecting another node. What do you think?

    The plan now is to find a better solution to host the settings file, that will allow to also download the icons. Then I will submit a list of features I have in mind so you can vote for what you think
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,597
    10,590
    Königstein (Taunus)
    Home Country
    Germany Germany
    First of all big :D for the latest release.
    After downloading the logos also, the new version looks impressively good.
    So I made up a German version of the MyScoreCenter.Settings.xml (attached). Please note that I changed the parsing for the German 1. Bundesliga also to "kicker.de", so now the names, dates, tables etc. are in German. Could you please change this in your online file too?
     

    Attachments

    • MyScoreCenter.Settings.xml
      30.7 KB

    Users who are viewing this thread

    Top Bottom