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
WebGrab+Plus a new xmltv grabber
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="WG++Maker" data-source="post: 823393" data-attributes="member: 107812"><p>Hi Redeye,</p><p></p><p>re the & ampersand character in xml.:</p><p>Assuming you have created the channellist file for your region and provider with enabling the two lines for that in yourtv.com.au.ini , you will get the following two channel entries for the one's containing the & :</p><p></p><p> <channel update="i" site="yourtv.com.au" site_id="Crime &amp; Investigation" xmltv_id="Crime &amp; Investigation">Crime &amp; Investigation</channel></p><p> <channel update="i" site="yourtv.com.au" site_id="Discovery Home &amp; Health" xmltv_id="Discovery Home &amp; Health">Discovery Home &amp; Health</channel></p><p></p><p>If you use these entries as such you will get xmltv listing containing lines like this:</p><p></p><p>..............</p><p> <channel id="Crime &amp; Investigation"></p><p> <display-name lang="en">Crime &amp; Investigation</display-name></p><p> <url>http://www.yourtv.com.au</url></p><p> </channel></p><p> <programme start="20111222020500 +1000" stop="20111222025500 +1000" channel="Crime &amp; Investigation"></p><p> <title lang="en">Motorway Cops</title></p><p> <sub-title lang="en">The Sixth Sense</sub-title></p><p>..............</p><p></p><p>In fact there is nothing 'illegal' (concerning xml format) and this should be accepted by any xml reader (the &amp; string is the normal substitution any xml writer will produce for the & character) which should convert it back to a sole & character. </p><p></p><p>If there are problems (may be the xmltv importer of MP doesn't accept this &amp; ?) you can change the channel entries like this:</p><p> <channel update="i" site="yourtv.com.au" site_id="Crime <span style="color: Blue">&amp;</span> Investigation" xmltv_id="Crime <span style="color: red">and</span> Investigation">Crime <span style="color: red">and</span> Investigation</channel></p><p> <channel update="i" site="yourtv.com.au" site_id="Discovery Home <span style="color: blue">&amp;</span> Health" xmltv_id="Discovery Home <span style="color: Red">and</span> Health">Discovery Home <span style="color: red">and</span> Health</channel></p><p></p><p>Replace the &amp; in the xmltv_id and the display_name with 'and' , <strong>but leave them in the site_id</strong>!! (they are needed as channel recognition in the grabber).</p><p></p><p>For the rest of the xmltv elements, there is a character filter build into the program that blocks all illegal xml characters, so don't worry there.</p><p></p><p>Hope this helps WG++Maker .. Jan</p></blockquote><p></p>
[QUOTE="WG++Maker, post: 823393, member: 107812"] Hi Redeye, re the & ampersand character in xml.: Assuming you have created the channellist file for your region and provider with enabling the two lines for that in yourtv.com.au.ini , you will get the following two channel entries for the one's containing the & : <channel update="i" site="yourtv.com.au" site_id="Crime & Investigation" xmltv_id="Crime & Investigation">Crime & Investigation</channel> <channel update="i" site="yourtv.com.au" site_id="Discovery Home & Health" xmltv_id="Discovery Home & Health">Discovery Home & Health</channel> If you use these entries as such you will get xmltv listing containing lines like this: .............. <channel id="Crime & Investigation"> <display-name lang="en">Crime & Investigation</display-name> <url>http://www.yourtv.com.au</url> </channel> <programme start="20111222020500 +1000" stop="20111222025500 +1000" channel="Crime & Investigation"> <title lang="en">Motorway Cops</title> <sub-title lang="en">The Sixth Sense</sub-title> .............. In fact there is nothing 'illegal' (concerning xml format) and this should be accepted by any xml reader (the & string is the normal substitution any xml writer will produce for the & character) which should convert it back to a sole & character. If there are problems (may be the xmltv importer of MP doesn't accept this & ?) you can change the channel entries like this: <channel update="i" site="yourtv.com.au" site_id="Crime [COLOR="Blue"]&[/COLOR] Investigation" xmltv_id="Crime [COLOR="red"]and[/COLOR] Investigation">Crime [COLOR="red"]and[/COLOR] Investigation</channel> <channel update="i" site="yourtv.com.au" site_id="Discovery Home [COLOR="blue"]&[/COLOR] Health" xmltv_id="Discovery Home [COLOR="Red"]and[/COLOR] Health">Discovery Home [COLOR="red"]and[/COLOR] Health</channel> Replace the & in the xmltv_id and the display_name with 'and' , [B]but leave them in the site_id[/B]!! (they are needed as channel recognition in the grabber). For the rest of the xmltv elements, there is a character filter build into the program that blocks all illegal xml characters, so don't worry there. Hope this helps WG++Maker .. Jan [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
WebGrab+Plus a new xmltv grabber
Contact us
RSS
Top
Bottom