**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: port.hu * @MinSWversion: * @Revision 1 - [04/03/2013] Francis De Paemeleere * - minor adjustments * @Revision 0 - [02/02/2013] Jan van Straaten * - creation * @Remarks: prefered over port.hu.ini, based on the mobil site port.hu/pls/w/mobil.. * @header_end **------------------------------------------------------------------------------------------------ * site {url=port.hu|timezone=UTC+01:00|maxdays=12|cultureinfo=hu-HU|charset=ISO-8859-2|titlematchfactor=90} site {subtitlestype=teletext} url_index{url(debug)|http://port.hu/pls/w/mobil.tv_channel?i_days=|urldate|&i_ch_id=|channel|&i_box=|subpage|&i_st_hour=24} *http://port.hu/pls/w/mobil.tv_channel?i_days=2&i_ch_id=1&i_box=1&i_st_hour=24 urldate.format {daycounter|1} subpage.format {list|1|2} * index_showsplit.scrub {multi|||||
} index_urlshow {url|http://port.hu|||} *index_urlchannellogo {url| } * index_start.scrub {single||||} index_title.scrub {single(separator="\">" exclude="|||} index_title.modify {cleanup(style=sentence)} index_subtitle.scrub {single|
|||} index_subtitle.modify {remove|} index_subtitle.modify {remove|} index_description.scrub {multi(separator="
" exclude="Feliratozva a Teletext")||||} index_description.modify {cleanup} index_subtitles.scrub {multi(separator="
" include="Feliratozva a Teletext")||||} index_subtitles.modify {replace(not "")|'index_subtitles'|true} * title.scrub {single(separator="
" include=first)|
|||} title.modify {cleanup(style=sentence)} titleoriginal.scrub {single(separator="
" exclude=first)|
|||} description.scrub {single(exclude="Vetítik:")|
\n|||
} description.modify {cleanup} director.scrub {multi(separator=", ")|
|Rendezõ: |
|
} director.modify {remove|} director.modify {cleanup} actor.scrub {multi(separator=", ")|
|Szereplõ(k): |
|
} actor.modify {remove|} actor.modify {remove|} actor.modify {cleanup} productiondate.scrub {single|
||
|
} temp_6.scrub {multi(separator=",""<" exclude="br/>")|
|||
} * filter the category out of temp_6 temp_1.modify {calculate(type=element format=F0)|'temp_6' #} loop {('temp_1' > "0" max=20)|end} temp_1.modify {calculate(format=F0)|1 -} temp_2.modify {substring(type=element)|'temp_6' 'temp_1' 1} temp_3.modify {calculate(format=F0)|'temp_2'} category.modify {addstart('temp_3' < "1")|####'temp_2'} end_loop category.modify {replace|####|\|} category.modify {remove|színes} category.modify {remove|/span>} category.modify {cleanup} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start ** !! disable subpage.format {list|1|2} to run this !! *url_index{url(debug)|http://port.hu/pls/w/tv.channel?i_date=|urldate|&i_ch=|channel|&i_xday=12} *urldate.format {datestring|yyyy-MM-dd} *index_site_id.scrub {multi|class="tv_combo">|