Hello,
can't make it work the 'alloc' attribute: http://webgrabplus.com/sites/default/files/download/documentation/Manual...
Could someone please give me an example of it's usage?
Here is the snippet which DOESN'T work:
** @auto_xml_channel_start
*index_site_id.scrub {regex||]*id="[^\"]*"[^>]*>.*?||}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart(alloc=display_name)|'index_site_id'}
*index_site_id.modify {substring(type=regex)|]*id="([^\"]*)"[^>]*>}
*index_site_channel.modify {substring(type=regex alloc=display_name)|]*>(.*?)}
*index_site_channel.modify {set(alloc=display_name)|'index_site_channel'}
*index_site_id.modify {cleanup(removeduplicates=equal link="index_site_channel" alloc=xmltv_id)}
*end_scope
** @auto_xml_channel_end
Can you post the site.ini and specify what are you trying to achieve ?
Sure. Here is the ini file, it's from siteini.pack:
https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/2f4d964b402...
I'm trying to change default 'site_channel' allocation for both xmltv_id and display_name elements in output xml file to use 'site_id' for xmltv_id element of the file instead, and 'site_channel' for display_name element only.
Essentially I'm trying to achieve the same as in this another ini file, but with the structure of my file:
https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/2f4d964b402...
Any thoughts?
It seems like regression: even with unmodified ini https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site... I get empty channels list with only one entry:
channel update="i" site="teleguide.info" site_id="" xmltv_id=""
It happens until I remove 'alloc' arguments altogether. Then it starts work OK and gives full channel list.
My program is version V2.1.11.0, Linux.
Please, help.
you cannot use it with regex.
It doesn't work even without regex. Please see my previous message.
This is what i am saying, it will never work with regex.
Here it used without regex, and it still doesn't work, but worked earlier in previous versions probably.
https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/2f4d964b402...
The authors are checking