You are here

Ini files

About creating, modifying site INI files. (SiteIni Pack)

Minor problem

Forums: 

Hello

I've created a new ini for site cinemagia but the problem is i get a warning 

"error downloading page: The request timed out (5sec)".

After that warning webgrabb++(last version) works normally and grab the epg for 2 days in my case.

I've attached the log, config and ini files in archive.

Attachments: 

How to modify the description

Forums: 

Hi I'm new to webgrab+ and need some bginners help:

I'm trying to get some more data into the description.

As far I got it to work to "add" data at the end e.g.:

                     description.modify {addend('category' not"")|\n /Category: 'category'}

1.) Is there a command / possibility to insert data at the beginning instead to add at the end??

2.) Is there some kind of general repository of commands with syntax?

Thanks for the help in advance

 

Escaping the forward slash

Forums: 

In the uk-sky.com.ini you have

category.scrub {regex||<span class="bubble-programme-genres">(.+?)</span>||}
category.modify {replace|,|\|}

Which gives the below from Entertainment, Action. Replacing the comma with a back slash to split the genres

<category lang="en">Entertainment</category>

<category lang="en">Action</category>

 

I want to replace the comma with a forward slash to give me Entertainment / Action, but escaping the forward slash or even just leaving as is doesnt work. In all cases i get left with <category lang="en">EntertainmentAction</category>

tried

category.modify {replace|, |/|}

category.modify {replace|, | / |}

category.modify {replace|, | \/ |}

A Simple INI

Forums: 

What I want to do is create a few channels with my own general epg data. Something simple like this...

http://pastebin.com/raw/ph3TW3y2

Could I create an INI to pull data from a text file like this? How would this be done? Thanks for your help :)

Eir Sports

Forums: 

hi guys:

can any of the experts here please make it possible for us to grab the eir sports from this site or any other one: https://www.eirsport.ie/tv-guides

thanks

Adding icon src to the dummy file

Forums: 

Hi there, I'm very much a beginner.

I use the dummy file for one channel that only shows one program a day. It works fine but, all the proper other channels grabbed with proper ini files, adds a <icon src="http://whatever.jpg" /> line into each programme.

Seeing as I only have one programme a day, I only need one programme .jpg to show. How can I add a static icon src into the dummy file so that I can produce and display the one single jpg I have on my server for this dummy channel?

Thank you,
Craig..

Adding channel number tips

Forums: 

Hello, Im' new to the forum and also new to WebGrab+Plus ini programing. 

I wanted to test how I could update an existing INI file to add in the output the Channel Number reported by a website. 
For my test I used the first one I stumble upon: virginmedia.com http://webgrabplus.com/epg-channels#s1B6 (original INI files)

So I modify virginmedia.com.ini file to add a new variable in uncommented @auto_xml_channel_start
index_temp_9.scrub {regex||channel-live\\\"><p>(.*?)<\\/p>||}

to attempt to add it to channel name
index_site_channel.modify {addend| 'index_temp_9'}

so I endup with the following

index_site_id.scrub {regex||"([^\"]*)":\{"trans"||}
index_site_id.modify {addend|##'index_variable_element'}
index_temp_9.scrub {regex||channel-live\\\"><p>(.*?)<\\/p>||}
index_site_channel.scrub {regex||span class=\\"channel-logo.*?title=\\"(.+?)\\">||}
index_site_channel.modify {remove|\}
index_site_channel.modify {addend| 'index_temp_9'}

if it is working for the first channel this is remplacing the name of channel starting the second channel by the channel number.

definitly there is something that I still not understood. Any tips will be welcome :-D

Many thanks.

My WebGrab+Plus version is V1.57

[edit]to add sample output

<site generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version  V1.57 -- Jan van Straaten" site="virginmedia.com">
  <channels>
    <channel update="i" site="virginmedia.com" site_id="bbc-one##40979" xmltv_id="BBC ONE 101">BBC ONE 101</channel>
    <channel update="i" site="virginmedia.com" site_id="bbc-two##40979" xmltv_id="102">102</channel>
    <channel update="i" site="virginmedia.com" site_id="itv##40979" xmltv_id="103">103</channel>
    <channel update="i" site="virginmedia.com" site_id="channel-4##40979" xmltv_id="104">104</channel>

...

NEW Reportv with multiple sources

Forums: 

The code: 1NSdbZVbpZDX started it, I found multiple "aid" sources and Blackbear199 make it perfect yes

The channels: 782 channels from Argentina, México, Costa Rica, El Salvador, Chile, Uruguay, Paraguay, Venezuela, Bolivia, Perú and Brasil laugh

devil The Google search: link

Attachments: 

Pages

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl