You are here

international discovery site ini created

1 post / 0 new
1NSdbZVbpZDX
Offline
Joined: 8 years
Last seen: 4 years
international discovery site ini created

help needed to create channels for this ini,

here is the country list vars:

Australia & New Zealand, India, Korea, Malaysia, Philippines, South East Asia, Taiwan, Belgium, Czech, Denmark, Deutschland, Finland, France, Hungary, Italy, Nederland, Norway, Poland, Portugal, Romania, Russia, Spain, Sweden, Ukraine , United Kingdom, Argentina, Brasil, Colombia, Mexico, Otros, United States, Venezuela, Mid-East & Africa, Turkey.

need a loop to apropiate those variables onto each element of the resulting channel list

list should read this way:

   <channel update="i" site="tudiscovery.com" site_id="APAN-ENG" xmltv_id="Animal Planet [Australia & New Zealand]">Animal Planet [Australia & New Zealand]</channel>
    <channel update="i" site="tudiscovery.com" site_id="DCAU-ENG" xmltv_id="Discovery Channel [Australia & New Zealand]">Discovery Channel [Australia & New Zealand]</channel>

.......

    <channel update="i" site="tudiscovery.com" site_id="APIN-ENG" xmltv_id="Animal Planet [ India]">Animal Planet [ India]</channel>
    <channel update="i" site="tudiscovery.com" site_id="DCIN-ENG" xmltv_id="Discovery Channel [ India]">Discovery Channel [ India]</channel>

plz help

 

Brought to you by Jan van Straaten

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