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
Support
Electronic Program Guide
WebEPG
Problem with Z tag
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="James" data-source="post: 374525" data-attributes="member: 12681"><p>Hi Khurram,</p><p></p><p>Generally that would but the idea. However, the Z tag builds a Regular Expression, so it could depend a little on what comes before and after. See the concept of greediness (<a href="http://www.regular-expressions.info/optional.html" target="_blank">Regex Tutorial - The Question Mark Makes the Preceding Token Optional</a>). Also WebEPG does not make a difference between these two tags <dt> and <dd>.</p><p></p><p></p><p>if <dt> or <dd> = d</p><p>and </dt> or </dd> = D</p><p></p><p>Then the regex looks like "(dDdD)?(dDdD)?dDdD" and this is going to be matched to a long string from the HTML source using the same system.</p><p></p><p>/James</p></blockquote><p></p>
[QUOTE="James, post: 374525, member: 12681"] Hi Khurram, Generally that would but the idea. However, the Z tag builds a Regular Expression, so it could depend a little on what comes before and after. See the concept of greediness ([url=http://www.regular-expressions.info/optional.html]Regex Tutorial - The Question Mark Makes the Preceding Token Optional[/url]). Also WebEPG does not make a difference between these two tags <dt> and <dd>. if <dt> or <dd> = d and </dt> or </dd> = D Then the regex looks like "(dDdD)?(dDdD)?dDdD" and this is going to be matched to a long string from the HTML source using the same system. /James [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Problem with Z tag
Contact us
RSS
Top
Bottom