home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Score Center - version 2.12.0.0 - 4 May 2014 (for MP 1.6/1.7)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FredP42" data-source="post: 500952" data-attributes="member: 91354"><p>For the Super League (Jeu a XIII)</p><p>[ATTACH]45681[/ATTACH]</p><p></p><p>From BBC I have the following:</p><p><a href="http://news.bbc.co.uk/sport2/hi/rugby_league/tables/default.stm" target="_blank">http://news.bbc.co.uk/sport2/hi/rugby_league/tables/default.stm</a></p><p>//table[@class='shorttable']</p><p></p><p><a href="http://news.bbc.co.uk/sport2/hi/rugby_league/fixtures/6484489.stm" target="_blank">http://news.bbc.co.uk/sport2/hi/rugby_league/fixtures/6484489.stm</a></p><p>//div[@class='mvb']</p><p>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).</p><p></p><p><a href="http://news.bbc.co.uk/sport2/hi/rugby_league/results/6484501.stm" target="_blank">http://news.bbc.co.uk/sport2/hi/rugby_league/results/6484501.stm</a></p><p>//table[@class='ruRes']</p><p>You need to set skip = 0, max = 1</p><p></p><p>I cannot try the Live score because it's empty but it is probably like the fixture with div.</p><p></p><p>For Fox (not in the attached file)</p><p>Standings</p><p><a href="http://www.skysports.com/rugbyleague/league/0,19927,12197,00.html" target="_blank">http://www.skysports.com/rugbyleague/league/0,19927,12197,00.html</a></p><p>//table[@id='ss-stat-prem']</p><p></p><p>Fixture/Results</p><p><a href="http://www.skysports.com/rugbyleague/calendar/" target="_blank">http://www.skysports.com/rugbyleague/calendar/</a></p><p>//table[@class='ss-fixcal-table']</p><p>And you need to skip the header twice skip = 2 and add your header.</p><p></p><p>Two reasons to skip the header here and create your own:</p><p>- there are many tables return by the xpath expression, that's ok but the header will appear between each line</p><p>- the header is written with <thead><tr> and so parsed twice by the method which reads the table</p></blockquote><p></p>
[QUOTE="FredP42, post: 500952, member: 91354"] For the Super League (Jeu a XIII) [ATTACH]45681.vB[/ATTACH] From BBC I have the following: [url]http://news.bbc.co.uk/sport2/hi/rugby_league/tables/default.stm[/url] //table[@class='shorttable'] [url]http://news.bbc.co.uk/sport2/hi/rugby_league/fixtures/6484489.stm[/url] //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). [url]http://news.bbc.co.uk/sport2/hi/rugby_league/results/6484501.stm[/url] //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 [url]http://www.skysports.com/rugbyleague/league/0,19927,12197,00.html[/url] //table[@id='ss-stat-prem'] Fixture/Results [url]http://www.skysports.com/rugbyleague/calendar/[/url] //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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Score Center - version 2.12.0.0 - 4 May 2014 (for MP 1.6/1.7)
Contact us
RSS
Top
Bottom