**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: yourdiscovery.com
* @MinSWversion: V0
* none
* @Revision 1 - [12/03/2011] Quake505
* none
* @Remarks:
* none
* @header_end
**------------------------------------------------------------------------------------------------
site {url=www.mydigiguide.com|timezone=UTC+00:00|maxdays=14|cultureinfo=en-GB|charset=ISO-8859-1|titlematchfactor=50}
site {episodesystem=onscreen}
*
url_index{url|http://www.yourdiscovery.com/dni-tvlistings/GetScheduleByBroadcastDate?type=series&country_code=GB&channel_code=|channel|&date=|urldate|}
urldate.format {datestring|ddMMyyyy}
*
* Enable the three lines below to create a channel list
*
*index_site_id.scrub {multi()||}
*index_site_channel.scrub {multi()||schedule-start="21600">||}
*index_site_channel.modify {replace|&|And}
*
*
index_showsplit.scrub {multi||||}
*
*
* Scrubs
*
index_date.scrub {single||||}
index_start.scrub {single||||}
index_title.scrub {single||<|}
index_subtitle.scrub {single||<|/programme-title>}
index_description.scrub {single||<|/programme-description>}
index_episode.scrub {single||Episode |<|/programme-title>}
index_temp_1.scrub {single||SERIES |<|/series-title>}
*index_temp_2.scrub {single||<|/duration-time>}
index_duration.scrub {single||<|/duration-time>}
*
*
* Mods
*
index_temp_1.modify {addstart(null)|'{single||(SEASON |)|}'}
index_episode.modify {addstart(notnull)|E}
index_episode.modify {addstart(notnull)|S'index_temp_1'}
index_episode.modify {addstart(null)|S'index_temp_1}
index_episode.modify {addstart(null)|P'{single|| Part |<|/programme-title>}'}
*index_temp_2.modify {calculate (format=F2)|60/}
index_duration.modify {calculate (format=time)|60/}
index_description.modify {replace|Â|}
index_subtitle.modify {replace|â |- }
*
*
* The line below enables the stop element that uses the web page duration (this is not required)
*
*index_stop.modify {calculate(format=time)|'index_start' 'index_temp_2'+}