You are here

channels2correct

4 posts / 0 new
Last post
donbrew
Offline
Joined: 7 years
Last seen: 1 year
channels2correct

This is the line I added to channels2correct.xml:

[code]<channel time_error="+2">"A&amp;E Network (East) (A&amp;E)"</channel> [/code]

This is the line in guide.xml:

[code]<display-name lang="en">A&amp;E Network (East) (A&amp;E)</display-name>[/code]

This is the error message I get when I run WebGrabPlus.start:

Channel "A&E Network (East) (A&E)" not found in xmltv file
 

Evidently channels2correct is parsing the escape character differently, is there a fix?

 

I guess code tags don't work here.

 

suzi
Offline
Has donated long time ago
Joined: 7 years
Last seen: 5 years

hi this how i do it example

<channel time_error="+1">BBC 1 HD</channel> in the correct file 

    <channel update="i" site="uk-sky.com" site_id="2076" xmltv_id="BBC 1 HD">BBC 1 HD</channel> this is the config file as you can see the names must be the same same to work

 

donbrew
Offline
Joined: 7 years
Last seen: 1 year
suzi wrote:

hi this how i do it example

<channel time_error="+1">BBC 1 HD</channel> in the correct file 

    <channel update="i" site="uk-sky.com" site_id="2076" xmltv_id="BBC 1 HD">BBC 1 HD</channel> this is the config file as you can see the names must be the same same to work

 

 

Thank you,  but that wasn't the current question, I figured that part out on my own after 15-29 minutes.

 

This was about parsing the escape code "&" in A&E network.  Webgrab++ parses "A&amp;E" as "A&E"  because & is an escape code in in utf-8 it does not mean the character used to indicate "and" you have to call it something else.

 

I think I have conquered that because of fat fingers.

 

suzi
Offline
Has donated long time ago
Joined: 7 years
Last seen: 5 years

hi yes you have it right

<channel time_error="+1">A&amp;E</channel>

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl