Adding new channels to WebEPG? (1 Viewer)

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    @THEBASED, I have had a quick look at the site and it should work fine with WebEPG. You will need to use the "Zendergids" section, because WebEPG cannot read grids.

    There are two things that are needed for making a WebEPG grabber xml file

    1. The GET/POST pattern.

    A good way to do this is install Paros (http://sourceforge.net/projects/paros) its a local proxy. Then config your browser to use the proxy at 127.0.0.1. This will allow you to see all the requests made to the web site when surfing around.

    You need to find the channel id and date.

    2. The template

    For this you need the HTML source for the page. This is easy in every browser right-click on the page and "view-source". Then you need to locate a listing. Just search for the name of a program and the find the title, time, description, etc. Work out what is different between two programs and what is the same. You'll need to work out which HTML tags can be used to find the listings. See the wiki and you will find a program to help.

    Hope this helps.

    Just post any problems/questions here.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Shaftstick,

    The instructions above will work for you too.

    Step 1. is easier for you, because the site doesn't hide the URL. Here is the URL from the "vue par jour":

    Code:
    http://www.clermont1ere.com/joomla/index.php?option=com_events&task=view_day&year=2007&month=10&day=03&Itemid=0

    We can clearly see the date here :)

    So you can try step 2. to create a template for the listings.
     

    THDBASED

    Portal Pro
    January 30, 2006
    469
    2
    Home Country
    Belgium Belgium
    @THEBASED, I have had a quick look at the site and it should work fine with WebEPG. You will need to use the "Zendergids" section, because WebEPG cannot read grids.

    There are two things that are needed for making a WebEPG grabber xml file

    1. The GET/POST pattern.

    A good way to do this is install Paros (http://sourceforge.net/projects/paros) its a local proxy. Then config your browser to use the proxy at 127.0.0.1. This will allow you to see all the requests made to the web site when surfing around.

    You need to find the channel id and date.

    2. The template

    For this you need the HTML source for the page. This is easy in every browser right-click on the page and "view-source". Then you need to locate a listing. Just search for the name of a program and the find the title, time, description, etc. Work out what is different between two programs and what is the same. You'll need to work out which HTML tags can be used to find the listings. See the wiki and you will find a program to help.

    Hope this helps.

    Just post any problems/questions here.


    Thanks a lot for helping me out!
    Ok I got it to work here is the GET:

    http://epg.telenet.be/search/search.html?send=ok&searchtype=advanced&period=today&date=20071005&time=0000-2359&channelType=3&channelThemeId=61&scheduleId=1&mainGenreId=-1&query=de

    Seams workable no? :)
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland

    Looks fine.

    So the date we can see [YYYY][MM][DD] and the channel id channelType=[ID]

    You can find the IDs for all the channels in the page source, see this section:

    Code:
    <td align="right">
    <select name="scheduleId" onchange="changeChannel(this.form);">
    <option value="1">VTM</option>
    <option value="2" selected="selected">één</option>
    <option value="3">VT4</option>
    ......

    The value is the ID. Please read my section about naming channels in the grabber file ;)

    You should be able to use the ones from an existing NL file.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Guys, it would really help others (and me) out if you could start a guide of how to make a grabber with one of your examples. In the wiki if possible, but you can post it here and I'll move it over.

    Screen shots from the browser/paros would be super (as these can take a while to do) ;)
     

    THDBASED

    Portal Pro
    January 30, 2006
    469
    2
    Home Country
    Belgium Belgium
    If I can figure it out myself I will try, but it will take a while and also a little help to make my first grabber (Zita site)
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi kkendall,

    Yes I did. I'm sorry to say it won't work :( because of the way the days work: today, tomorrow, [next week day], etc.

    WebEPG supports named days, but not the week day feature. This is also a mix of boths these options. I will look into supporting method, but cannot say how long it will take.

    Cheers,

    /James
     

    kkendall

    Portal Pro
    April 24, 2007
    864
    16
    45
    Gouda
    Home Country
    Netherlands Netherlands
    dammit, that sucks :(
    Well, it's not that big a deal really but it would be very nice though if it will work in the future...
    But did you notice you can replace 'tomorrow' by 'friday' (today is thursday)?
    So
    http://www.upclive.nl/Televisie/TV_.../?channels=Nederland+1&timescope=tomorrow_all
    can be renamed by:
    http://www.upclive.nl/Televisie/TV_...ds/?channels=Nederland+1&timescope=friday_all

    So it will work if WebEPG supports the days of the week. Unfortunately there are no months and dates in this guide...
    thanks again anyway
     

    Users who are viewing this thread

    Top Bottom