**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: astro.com.my * @MinSWversion: 1.1.1/49 * - needs command sort * @Revision 0 - [09/04/2013] Jan van Straaten * - creation * @Remarks: your_remarks * @header_end **------------------------------------------------------------------------------------------------ site {url=astro.com.my|timezone=UTC+08.00|maxdays=6|cultureinfo=en-US|charset=ISO-8859-1|titlematchfactor=90|firstshow=1} url_index{url|http://api-epg.astro.com.my/api/guide/start/|urldate|T00:00/end/|urldate|T23:59/channels/|channel|?format=xml} urldate.format {datestring|yyyy-MM-dd} index_showsplit.scrub {multi||||} scope.range {(splitindex)|end} index_showsplit.modify {sort(ascending,string)} sort_by.scrub {single(target="index_showsplit")||||} sort_by.modify {calculate(target="index_showsplit" format=date,unix)} end_scope *index_urlshow {url|} *index_urlchannellogo {url| } * *index_date.scrub {single|} scope.range {(indexshowdetails)|end} index_temp_1.scrub {single||||} *index_stop.scrub {single|} index_title.scrub {single||||} index_description.scrub {single||||} index_category.scrub {single||||} index_category.scrub {single||||} index_category.scrub {single||||} index_rating.scrub {single||||} index_episode.scrub {single(separator="(" exclude=first)||||} index_episode.modify {remove|)} index_start.modify {substring(type=char)|'index_temp_1' 11 8} end_scope * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *scope.range {(channellist)|end} *url_index {url(debug)|http://api-epg.astro.com.my/api/pack/?showall=yes&format=xml} *index_site_channel.scrub {multi||||} *index_site_id.scrub {multi||||} *end_scope ** @auto_xml_channel_end