You are here

Site with 2 languages

4 posts / 0 new
Last post
karimf
Offline
Joined: 10 years
Last seen: 8 years
Site with 2 languages

Hi again :)

I was wondering how to treat a site that has its EPG in 2 languages ? is it possible from the site.ini file to do that?

I am asking because if I use the site.ini of language 1 some shows are missing the title and if I use the site.ini with the language 2 (which the 100% complete, nothing missing) it displays english movies/shows names in this language which makes you wonder about the real english name of that movie/show.

any help would be much appreciated.

 

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 6 hours
Is the support helpful?
support us

It's a bit difficult to answer this. Which siteini are you refring to? Which languages?
And   .. remember ​http://webgrabplus.com/content/rules-guidlines

Jan

karimf
Offline
Joined: 10 years
Last seen: 8 years

Thanks WGMaker for your reply.

Would you be kind enough to guide me on to how to grab this page:

http://www.mbc.net/ar/mbc4/grid.html

Worked a lot on it and can't find a solution, all shows are crammed into one slot (in the xmltv file, they all have the same start and stop times) !!

Thanks in advance.

karimf
Offline
Joined: 10 years
Last seen: 8 years

Forget to paste what I'm using as ini file   :)))

site {url=mbc.net|timezone=GMT|maxdays=6.1|cultureinfo=ar-IQ|charset=utf-8|titlematchfactor=90}

url_index{url(debug)|http://www.mbc.net|channel}
urldate.format {datestring|yyyy/MM/dd}
index_showsplit.scrub {multi(debug)|<div class="archttl">||</p>|</p>}}

*index_showicon.scrub{url|http://www.mbc.net|<img src="http://d57e32cb.static.ziggozakelijk.nl/%7C%7C"|alt=}
*index_start.scrub {multi(include="GMT")|<li>||</li>|</li>}
*index_start.scrub {regex||(\d{2}\:\d{2})\sGMT||}
index_start.scrub {multi(include="GMT")|<li>||</li>|</li>}
index_start.modify{remove|GMT}
index_description.scrub {single|<p>||</p>|}
index_title.scrub {single|<h3>||</h3>|</h3>}

index_description.modify{cleanup}
index_title.modify{cleanup(debug tags="<"">")}

Ans the test channel in the config xml file is :

<channel update="i" site="mbc.net" site_id="/ar/mbc2\grid.html" xmltv_id="mbc2">mbc2</channel>

 

It grabs everything but all shows have the same start and stop times (programme start="20151004000000 +0000" stop="20151004000000 +0000" channel="mbc2">)

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