epg/siteini.pack/Spain/rtvv.es.ini

49 lines
2.2 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: rtvv.es
* @MinSWversion: V1.1.1
* @Revision 0 - [28/08/2013] petike
* - creation
* @header_end
**------------------------------------------------------------------------------------------------
site {url=rtvv.es|timezone=UTC+01:00|maxdays=5|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=90}
url_index {url|http://www.rtvv.es/va/programacio.html?data=|urldate|}
urldate.format {datestring|yyyyMMdd}
index_variable_element.modify{addstart|'config_site_id'}
index_showsplit.scrub {multi|<td class="'index_variable_element'">|<li class|</li>|</td>}
index_start.scrub {single|<span class="time">||</span>|}
index_start.modify {replace|h |:}
index_title.scrub {single|<h3 class="title">||</h3>|}
index_urlshow.scrub {single|<span class="moreinfo|sectionId_|"|</span>}
index_urlshow.modify {addstart(not="")|http://www.rtvv.es/va/rtvvalencia/get_program.html?mode=moreinfo&sectionId=}
index_category.scrub {multi(separator="/")|<p class="txt">||</p>|</p>}
index_subtitle.scrub{single|<p class="txt item_1">"||"</p>|}
index_temp_1.modify {calculate(type=word format=F0)|'index_category' #}
index_description.modify {addstart('index_temp_1'>"3")|'index_category'}
index_category.modify {clear('index_temp_1'>"3")}
title.scrub{single|<h2 class=\"title\">||<\/h2>||}
title.modify{cleanup}
title.modify {addstart("")|'index_title'}
description.scrub{single|<p class=\"synopsis\">||<\/p>||}
description.modify{cleanup}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the tv-dir.bg.channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {multi|}
*index_site_id.modify {clear}
*index_site_channel.modify {addend|Canal Nou####}
*index_site_channel.modify {addend|Canal Nou 24####}
*index_site_id.modify {addend|even####}
*index_site_id.modify {addend|odd####}
*
*index_site_channel.modify {replace|####|\|}
*index_site_id.modify {replace|####|\|}
** @auto_xml_channel_end