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: 505671" data-attributes="member: 91354"><p>Hello,</p><p>I just add some new scores in the online file:</p><p>- Moto (GP, 125, 250)</p><p>- Nascar</p><p>- Volleyball: Euro</p><p>- Football: Netherlands (I don't know how I missed it)</p><p>- World Records: athletics and swimming</p><p></p><p>I forgot to sya that I think the best settings for the synchronization are:</p><p>- New</p><p>- Merge with only Url & XPath</p><p></p><p>This way you will get new scores and updates in case the url or the html changes. This option affects in fact the following parameters: Url, Xpath, Skip, MaxLines, Sizes, and Xpath Element</p><p></p><p>The "Names" option affects: Name, Category, League, Image and Headers.</p><p></p><p>If you want to change a parsing, I think the best solution is to copy the existing one to create a new item with a different id, which will not be synchronize with the existing one.</p><p></p><p></p><p></p><p>I'm not sure what you are asking for. If you want the commentary, this can be done.</p><p>In your example the commentary is in "div" html tag so the XPath is (the pipe | means 'and'):</p><p>//div[@id='mc_commentary_time'] | //div[@id='mc_commentary_comment']</p><p></p><p>The problem is more with the url which contains the names of the teams and the date.</p><p>You can already customize the date with the {}.</p><p>I already thought at something that might work here. I called it "Dynamic Scores" the idea is to have one URL and 2 XPath expression. The first expression is used to retrieve in the url a list of urls containing the scores. This can be use fore example when there is a combo to select a type of ranking (at home, away, ...) or a group. And then the second expression is used to parse the scores. Of course it means they are based on the same structure (but it is usually the case).</p><p></p><p>For the board it will be more complicated but I have some ideas.</p></blockquote><p></p>
[QUOTE="FredP42, post: 505671, member: 91354"] Hello, I just add some new scores in the online file: - Moto (GP, 125, 250) - Nascar - Volleyball: Euro - Football: Netherlands (I don't know how I missed it) - World Records: athletics and swimming I forgot to sya that I think the best settings for the synchronization are: - New - Merge with only Url & XPath This way you will get new scores and updates in case the url or the html changes. This option affects in fact the following parameters: Url, Xpath, Skip, MaxLines, Sizes, and Xpath Element The "Names" option affects: Name, Category, League, Image and Headers. If you want to change a parsing, I think the best solution is to copy the existing one to create a new item with a different id, which will not be synchronize with the existing one. I'm not sure what you are asking for. If you want the commentary, this can be done. In your example the commentary is in "div" html tag so the XPath is (the pipe | means 'and'): //div[@id='mc_commentary_time'] | //div[@id='mc_commentary_comment'] The problem is more with the url which contains the names of the teams and the date. You can already customize the date with the {}. I already thought at something that might work here. I called it "Dynamic Scores" the idea is to have one URL and 2 XPath expression. The first expression is used to retrieve in the url a list of urls containing the scores. This can be use fore example when there is a combo to select a type of ranking (at home, away, ...) or a group. And then the second expression is used to parse the scores. Of course it means they are based on the same structure (but it is usually the case). For the board it will be more complicated but I have some ideas. [/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