46 lines
2.2 KiB
INI
Executable File
46 lines
2.2 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: Voice of America
|
|
* @MinSWversion: V1.1.1/55.27
|
|
* none
|
|
* @Revision 1 - [02/11/2015] Jan van Straaten
|
|
* timezone correction, improved showsplit, reoved minor error in description
|
|
* @Revision 0 - [10/09/2013] Willy
|
|
* creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
site {url=voanews.com|timezone=UTC|maxdays=28|cultureinfo=en-US|charset=UTF-8|titlematchfactor=50|episodesystem=onscreen}
|
|
|
|
url_index{url|http://ibb7-2.ibb.gov/tvschedule/getlisting.cfm}
|
|
urldate.format {datestring|MMddyy}
|
|
|
|
url_index.headers {method=POST}
|
|
url_index.headers {contenttype=application/x-www-form-urlencoded}
|
|
url_index.headers {postdata=requestdate='urldate'&type=Full&satellite='channel'}
|
|
|
|
*index_showsplit.scrub{multi|<td class="text2"><b>Time:||<hr size="1" noshade></td>|}
|
|
index_showsplit.scrub{regex||<td class="text2"><b>Time:.+?<hr size="1" noshade></td>\s+?</tr>||}
|
|
index_start.scrub {single(separator=" " include=first)|<b>Time:</b>||</td>|</tr>}
|
|
index_title.scrub {single|Title:</b>||</td>|</tr>}
|
|
index_subtitle.scrub {single|Language:</b>||</td>|</tr>}
|
|
index_description.scrub { single |Description:</b>||<br>|</tr>}
|
|
index_episode.scrub {single|Episode:</b>||</td>|</tr>}
|
|
index_title.modify {cleanup(tags="<"">")}
|
|
index_title.modify {cleanup}
|
|
index_description.modify {remove|(not available)}
|
|
index_description.modify {cleanup}
|
|
|
|
index_subtitle.modify {addend('index_episode' not "") | (Ep.'index_episode')}
|
|
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url|http://ibb7-2.ibb.gov/tvschedule/index.cfm}
|
|
*index_site_id.scrub {multi|Select Satellite</b>|value="|"|View Satellite Map}
|
|
*index_site_channel.scrub {multi|Select Satellite</b>|"><font color="#000000">|<|View Satellite Map}
|
|
*index_site_channel.modify {addstart|Voice of America - }
|
|
** @auto_xml_channel_end
|