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
Attempting new grabber for ontv.dk
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="thomas.p" data-source="post: 419417" data-attributes="member: 88481"><p>I Have been looking into the use of regular expressions as per the <z> tag some more since my last post. They are beginning to make some sense, but I am still having trouble getting my experiments to take off. In the grabber I can test the different page layouts individually and it works fine. But when I apply <z> tags weird stuff happens and few things work as expected. I suspect some of my problems are due to the "greedy" nature of the regular expression algorithm, however considering my prior experience with the subject matter pretty much anything could be going on right under my nose without me knowing </p><p></p><p>At the moment I am directing my attention in two different directions. With one template I seek to describe each possible page layout in its entirety and make the grabber choose between them. The other is an attempt to generalize the problematic layouts. The first is not very elegant, but easy to decipher for future editing, whereas the other is pretty much the opposite of that. However both are "supposed" to work <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Basically, using the DTPH tags either approach seem to apply the wrong page layout consistently. This confuses me a great deal, since I make the grabber attempt the ones with greatest complexity first and then gradually lessen it. From what I have read about regular expressions I was under the impression that doing so would counter their greediness and all would be close to Nirvana. Apparently not so...</p><p></p><p>I could use some suggestions for what to try next <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></blockquote><p></p>
[QUOTE="thomas.p, post: 419417, member: 88481"] I Have been looking into the use of regular expressions as per the <z> tag some more since my last post. They are beginning to make some sense, but I am still having trouble getting my experiments to take off. In the grabber I can test the different page layouts individually and it works fine. But when I apply <z> tags weird stuff happens and few things work as expected. I suspect some of my problems are due to the "greedy" nature of the regular expression algorithm, however considering my prior experience with the subject matter pretty much anything could be going on right under my nose without me knowing At the moment I am directing my attention in two different directions. With one template I seek to describe each possible page layout in its entirety and make the grabber choose between them. The other is an attempt to generalize the problematic layouts. The first is not very elegant, but easy to decipher for future editing, whereas the other is pretty much the opposite of that. However both are "supposed" to work :( Basically, using the DTPH tags either approach seem to apply the wrong page layout consistently. This confuses me a great deal, since I make the grabber attempt the ones with greatest complexity first and then gradually lessen it. From what I have read about regular expressions I was under the impression that doing so would counter their greediness and all would be close to Nirvana. Apparently not so... I could use some suggestions for what to try next :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Attempting new grabber for ontv.dk
Contact us
RSS
Top
Bottom