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
Development
Improvement Suggestions
[WebEPG] why not just regex
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="benjerry" data-source="post: 631475" data-attributes="member: 57133"><p>I've taken a very small look into it. I guess you means the XSL/Transform + XPath languages.</p><p></p><p>It can transform an xml document to an other xml document. It uses XPath to localise inside the input.</p><p></p><p>So this</p><p></p><p><div class="program"></p><p><a href="/programma/9519408/Nederland_in_Beweging%21/"></p><p><span class="time">08:45 - 09:00</span></p><p><span class="title">Nederland in Beweging!</span></p><p><span class="channel">Nederland 1</span></p><p></a></p><p></p><p>could be transformed to something like this</p><p></p><p><site></p><p> <programlist channelid="Nederland 1"></p><p> <program></p><p> <title>Nederland in Beweging!</title></p><p> <starttime>08:45</starttime></p><p> <endtime>09:00</endtime></p><p> <sublinks></p><p> <link url="/programma/9519408/Nederland_in_Beweging%21/" stylesheet="sublink_ned1.xsl" /></p><p> </sublinks></p><p> </program></p><p> <program></p><p> ..</p><p> </program></p><p> </programlist></p><p> <programlist channelid="Nederland 2"></p><p> <program></p><p> ...</p><p> </program></p><p> </programlist></p><p></site></p><p></p><p>.. using a XSLT stylesheet.</p><p></p><p>- multiple channels support on 1 page would be nice.. but I don't see it happening inside current WebEPG.</p><p></p><p>- sublink(s) would require a separate stylsheet(s). context is inside a single program: <program> .. </program></p><p></p><p>- wouldn't it be nice also if the site url building/grabbingcontrol was also defined somewhere in a file instead of fixed in programsource.</p><p>with input of date/channelid/grab statistics and using a stylesheet, the next grab url could be generated?</p></blockquote><p></p>
[QUOTE="benjerry, post: 631475, member: 57133"] I've taken a very small look into it. I guess you means the XSL/Transform + XPath languages. It can transform an xml document to an other xml document. It uses XPath to localise inside the input. So this <div class="program"> <a href="/programma/9519408/Nederland_in_Beweging%21/"> <span class="time">08:45 - 09:00</span> <span class="title">Nederland in Beweging!</span> <span class="channel">Nederland 1</span> </a> could be transformed to something like this <site> <programlist channelid="Nederland 1"> <program> <title>Nederland in Beweging!</title> <starttime>08:45</starttime> <endtime>09:00</endtime> <sublinks> <link url="/programma/9519408/Nederland_in_Beweging%21/" stylesheet="sublink_ned1.xsl" /> </sublinks> </program> <program> .. </program> </programlist> <programlist channelid="Nederland 2"> <program> ... </program> </programlist> </site> .. using a XSLT stylesheet. - multiple channels support on 1 page would be nice.. but I don't see it happening inside current WebEPG. - sublink(s) would require a separate stylsheet(s). context is inside a single program: <program> .. </program> - wouldn't it be nice also if the site url building/grabbingcontrol was also defined somewhere in a file instead of fixed in programsource. with input of date/channelid/grab statistics and using a stylesheet, the next grab url could be generated? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
[WebEPG] why not just regex
Contact us
RSS
Top
Bottom