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: 486167" data-attributes="member: 91354"><p>Hello,</p><p>Here the XPath expression you need: <strong>//div[@title="Gespeeld"]/../../..</strong></p><p></p><p>How to find your XPath:</p><p>- Personally I'm using Firefox and the plugin Web Developer, it has a functionality to highlight the tables on the page and also the current element.</p><p>- Then you can look at the source of the page and try to find and element which is unique. Usually the class property will help.</p><p></p><p>Here if found that there is only one div with the property title equal to Gespeeld so then you go back tree levels to the table node. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>Note that for this website I tried the same XPath expression on a volleyball page and it works.</p><p></p><p></p><p></p><p>Hello,</p><p>Here is for you: <strong>//div[@id='tab_clubstand_11']//table</strong></p><p></p><p>All the tables (there's only one) following the div with id = tab_clubstand_11</p><p></p><p>You can have it on l'equipe.fr too with those urls:</p><p><a href="http://www.lequipe.fr/Football/CLA_HOL.html" target="_blank">http://www.lequipe.fr/Football/CLA_HOL.html</a> ==> //div[@id='ClassementGeneral']/table[1]</p><p><a href="http://www.lequipe.fr/Football/RES_HOL.html" target="_blank">http://www.lequipe.fr/Football/RES_HOL.html</a> ==> //div[@id='programme']//table[1]</p></blockquote><p></p>
[QUOTE="FredP42, post: 486167, member: 91354"] Hello, Here the XPath expression you need: [B]//div[@title="Gespeeld"]/../../..[/B] How to find your XPath: - Personally I'm using Firefox and the plugin Web Developer, it has a functionality to highlight the tables on the page and also the current element. - Then you can look at the source of the page and try to find and element which is unique. Usually the class property will help. Here if found that there is only one div with the property title equal to Gespeeld so then you go back tree levels to the table node. :D Note that for this website I tried the same XPath expression on a volleyball page and it works. Hello, Here is for you: [B]//div[@id='tab_clubstand_11']//table[/B] All the tables (there's only one) following the div with id = tab_clubstand_11 You can have it on l'equipe.fr too with those urls: [url=http://www.lequipe.fr/Football/CLA_HOL.html]http://www.lequipe.fr/Football/CLA_HOL.html[/url] ==> //div[@id='ClassementGeneral']/table[1] [url=http://www.lequipe.fr/Football/RES_HOL.html]http://www.lequipe.fr/Football/RES_HOL.html[/url] ==> //div[@id='programme']//table[1] [/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