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
Processing Of Skin Tags That Have Boolean Values
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="CyberSimian" data-source="post: 1205869" data-attributes="member: 141969"><p><strong>Started on:</strong> 2016-12-29</p><p><strong>last update:</strong> 2016-12-29</p><p></p><p><strong>Summary: </strong></p><p>The current processing of XML tags that accept boolean values does not allow a long expression to be split over multiple lines. This makes files more difficult to maintain.</p><p></p><p><strong>Area:</strong></p><p>The skin engine.</p><p></p><p><strong>Description:</strong></p><p>This morning I wanted to code the following in a skin file that I have been modifying:</p><p></p><p>[code]<visible>window.isvisible(6)</p><p> |window.isvisible(600)</p><p> |window.isvisible(601)</p><p> |window.isvisible(603)</p><p> |window.isvisible(762)</p><p> |window.isvisible(763)</visible>[/code]</p><p></p><p></p><p>Well, I did code it. The problem is that it does not work. To get it to work, I had to code it like this:</p><p></p><p>[code]<visible>window.isvisible(6)|window.isvisible(600)|window.isvisible(601)|window.isvisible(603)|window.isvisible(762)|window.isvisible(763)</visible>[/code]</p><p></p><p></p><p>which is more difficult to maintain, as a significant part of the line is off the right-hand side of the screen (so it is not possible to see the line in its entirety).</p><p></p><p><strong>Proposal</strong></p><p>For XML tags where the value is a boolean, accept and ignore insignifcant blanks and end-of-line characters (CRLF or whatever).</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1205869, member: 141969"] [B]Started on:[/B] 2016-12-29 [B]last update:[/B] 2016-12-29 [B]Summary: [/B] The current processing of XML tags that accept boolean values does not allow a long expression to be split over multiple lines. This makes files more difficult to maintain. [B]Area:[/B] The skin engine. [B]Description:[/B] This morning I wanted to code the following in a skin file that I have been modifying: [code]<visible>window.isvisible(6) |window.isvisible(600) |window.isvisible(601) |window.isvisible(603) |window.isvisible(762) |window.isvisible(763)</visible>[/code] Well, I did code it. The problem is that it does not work. To get it to work, I had to code it like this: [code]<visible>window.isvisible(6)|window.isvisible(600)|window.isvisible(601)|window.isvisible(603)|window.isvisible(762)|window.isvisible(763)</visible>[/code] which is more difficult to maintain, as a significant part of the line is off the right-hand side of the screen (so it is not possible to see the line in its entirety). [B]Proposal[/B] For XML tags where the value is a boolean, accept and ignore insignifcant blanks and end-of-line characters (CRLF or whatever). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Processing Of Skin Tags That Have Boolean Values
Contact us
RSS
Top
Bottom