61 lines
3.3 KiB
INI
Executable File
61 lines
3.3 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: epg.i-cable.com.chinese
|
|
* @MinSWversion: V1.1.1
|
|
* @Revision 0 - [14/01/2013] Jan van Straaten
|
|
* - creation
|
|
* @Remarks: HongKong, Chinese version of epg.i-cable.com.ini
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=epg.i-cable.com|timezone=UTC+08:00|maxdays=7|cultureinfo=zh|charset=utf-8|titlematchfactor=90|subtitlestype=onscreen}
|
|
url_index{url|http://epg.i-cable.com/new/ch_getcontent.php?lang=chi&ch=|channel|&date=|urldate}
|
|
urldate.format {datestring|yyyyMMdd}
|
|
index_showsplit.scrub {multi|<div class="ch_entrybar">|||}
|
|
*
|
|
index_temp_1.scrub {single|color">||<span} *AM PM additions required for start time
|
|
index_start.scrub {single|<span class="f_eng">||</span>}
|
|
index_title.scrub {single(separator="\">" include=last)|<div class="ch_prog">||</div>|</div>}
|
|
index_rating.scrub {multi (include="家長指引""兒童不宜")|<div class="ch_iconblock|alt="|" title="|</div>}
|
|
index_subtitles.scrub {multi (include="中文字幕")|<div class="ch_iconblock">|alt="|" title="|</div>}
|
|
index_urlshow.scrub {url||<a href="||.php|</div>}
|
|
*
|
|
title.scrub {single(separator=" " include=first)|<name>||</name>|</name>}
|
|
titleoriginal.scrub {single(separator=" " exclude=first)|<name>|<![CDATA[|]]>|</name>}
|
|
description.scrub {single|<desc>||</desc>|</desc>}
|
|
director.scrub {multi(separator=",")|<director>||</director>|</director>}
|
|
actor.scrub {multi(separator=",")|<actors>||</actors>|</actors>}
|
|
showicon.scrub {single|<moviephoto>|<thumbnail imageurl="|" imagewidth="|</photo>}
|
|
*
|
|
* operations:
|
|
index_start.modify {addend('index_temp_1' "深夜")| AM}
|
|
index_start.modify {addend('index_temp_1' "早上")| AM}
|
|
index_start.modify {addend('index_temp_1' "中午")| PM}
|
|
index_start.modify {addend('index_temp_1' "下午")| PM}
|
|
index_start.modify {addend('index_temp_1' "晚上")| PM}
|
|
index_title.modify {remove|</a>}
|
|
index_subtitles.modify {replace(~ "中文字幕")|'index_subtitles'|true}
|
|
index_urlshow.modify {addend(~ "movie")|.xml}
|
|
index_urlshow.modify {clear(not ~ "movie")}
|
|
*
|
|
title.modify {addstart("")|'index_tite'}
|
|
title.modify {remove|<![CDATA[}
|
|
title.modify {remove|]>}
|
|
titleoriginal.modify {remove|<![CDATA[}
|
|
titleoriginal.modify {remove|]>}
|
|
description.modify {remove|<![CDATA[}
|
|
description.modify {remove|]>}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
** the following 7 lines creates a channel list file (enable once if an update is required):
|
|
*url_index{url|http://epg.i-cable.com/txt_ver/index.php}
|
|
*index_site_channel.scrub {multi|<a href='schedule_content.php?lang=&channel=|'>|</a>|<br}
|
|
*index_site_id.scrub {multi|<a href='schedule_content.php?lang=&channel=||'>|<br}
|
|
*index_site_channel.modify {remove| ¤} * removes funny chars
|
|
*index_site_channel.modify {remove| #} * removes funny chars
|
|
*index_site_channel.modify {remove| ^} * removes funny chars
|
|
*index_site_channel.modify {remove| *} * removes funny chars
|
|
** @auto_xml_channel_end |