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
xmlTV
xmltv - new line
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: 1178630" data-attributes="member: 141969"><p>Perhaps I have misunderstood text mark-up languages (GML, SGML, HTML, XML), but I was under the impression that successive lines of text in the input file are concatenated together, <strong>with the CRLF at the end of each line being replaced by a single blank</strong>. The philosophy behind text-mark-up languages is to disconnect the physical layout of the text in the file from the eventual appearance of the text on the screen (or printed page).</p><p></p><p>The correct solution has already been mentioned by [USER=97516]@Vasilich[/USER] -- the original poster should use the BR tag to indicate where he wants new lines to occur in the output, and the SP tag to generate blank lines in the output.</p><p></p><p>I will mention that I considered raising a bug with regard to the XML file that MP creates when making a TV recording, because line breaks in that file result in line breaks on screen. This caused a problem when I converted my DVR-MS files to TS. I wrote a REXX script to generate the XML files from the metadata contained within the DVR-MS files. I wanted to avoid long lines (longer than 79 characters), but I was forced to create long lines because MP treats the CRLF at the end of each line as a BR tag. Surely this is in contravention of GML/HTML/XML coding standards? (I chose not to raise the bug, as there are more important things for MP developers to do with their time.)</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1178630, member: 141969"] Perhaps I have misunderstood text mark-up languages (GML, SGML, HTML, XML), but I was under the impression that successive lines of text in the input file are concatenated together, [b]with the CRLF at the end of each line being replaced by a single blank[/b]. The philosophy behind text-mark-up languages is to disconnect the physical layout of the text in the file from the eventual appearance of the text on the screen (or printed page). The correct solution has already been mentioned by [USER=97516]@Vasilich[/USER] -- the original poster should use the BR tag to indicate where he wants new lines to occur in the output, and the SP tag to generate blank lines in the output. I will mention that I considered raising a bug with regard to the XML file that MP creates when making a TV recording, because line breaks in that file result in line breaks on screen. This caused a problem when I converted my DVR-MS files to TS. I wrote a REXX script to generate the XML files from the metadata contained within the DVR-MS files. I wanted to avoid long lines (longer than 79 characters), but I was forced to create long lines because MP treats the CRLF at the end of each line as a BR tag. Surely this is in contravention of GML/HTML/XML coding standards? (I chose not to raise the bug, as there are more important things for MP developers to do with their time.) -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
xmltv - new line
Contact us
RSS
Top
Bottom