MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » WebEPG


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2006-07-23, 19:48   #1 (permalink)
Portal User
 
Join Date: Jul 2006
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default How to make a new grabber for WebEPG

Hello,

I tried to make a new grabber for Belgium using the one already existing. But now with another tv guide.
The existing one is www_telepocket_be.xml using the tv guide telepocket.
I created one www_teveblad_be.xml using the tv guide teveblad. Because there is more information for the dutch side of Belgium.

I tried it but apparently it does not work. I don't know what I did wrong. If someone could help me, here is the content of my grabber:

<?xml version="1.0" encoding="utf-8"?>



<profile>
<section name="ChannelList">


<entry name="een.be">TV1</entry>
<entry name="ketnet.be">Ketnet</entry>
<entry name="canvas.be">Canvas</entry>
<entry name="vtm.be">VTM</entry>
<entry name="kanaaltwee.be">Kanaaltwee</entry>
<entry name="vt4.be">VT4</entry>
<entry name="vijftv.be">VijfTV</entry>
<entry name="vitaya.be">Vitaya</entry>
<entry name="nationalgeographic.nl">NationalGeographic</entry>
<entry name="vitaya.be">Vitaya</entry>
<entry name="ned1@omroep.nl">Nederland1</entry>
<entry name="ned2@omroep.nl">Nederland2</entry>
<entry name="ned3@omroep.nl">Nederland3</entry>



<entry name="la1.be">LA%20UNE</entry>
<entry name="ladeux.be">La%20Deux</entry>
<entry name="tvi@rtl.be">RTL%20TVI</entry>
<entry name="tf1.fr">TF1</entry>
<entry name="france2.fr">France2</entry>
<entry name="france3.fr">France3</entry>


<entry name="bbc1@bbc.co.uk">BBC1</entry>
<entry name="bbc2@bbc.co.uk">BBC2</entry>
<entry name="cnni-emea@cnn.com">CNN</entry>


<entry name="mtv.nl">MTV</entry>
<entry name="tmf.be">TMF</entry>
<entry name="jim.be">JimTV</entry>
</section>


<section name="Listing">
<entry name="BaseURL">http://www.teveblad.be/ndl/</entry>
<entry name="SearchURL">zender.asp?move=full&amp;channel=[ID]&amp;dag=[_M]/[_D]/[YYYY]</entry>


<entry name="Start">Complet</entry>


<entry name="End"></body></entry>


<entry name="Template">
<tr>
<td></td>
<td><#START></td>
<td><#END></td>
<td><#TITLE></td>
<td><#GENRE></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td><#DESCRIPTION></td>
<td></td>
</tr></entry>
</section>
<section name="Info">
<entry name="GuideDays">3</entry>
<entry name="Language">nl</entry>
<entry name="SiteDescription">Teveblad</entry>
<entry name="TimeZone">W. Europe Standard Time</entry>
</section>
</profile>
Boogol is offline   Reply With Quote
Old 2006-07-24, 09:46   #2 (permalink)
Portal Member
 
mbuzina's Avatar
 
Join Date: Apr 2005
Location: Germany
Age: 34
Posts: 459
Thanks: 1
Thanked 2 Times in 2 Posts

Country:


Default Re: How to make a new grabber for WebEPG

Quote:
Originally Posted by Boogol
<?xml version="1.0" encoding="utf-8"?>




<entry name="End"></body></entry>


<entry name="Template">
<tr>
<td></td>
<td><#START></td>
<td><#END></td>
<td><#TITLE></td>
<td><#GENRE></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td><#DESCRIPTION></td>
<td></td>
</tr></entry>
</section>
<section name="Info">
<entry name="GuideDays">3</entry>
<entry name="Language">nl</entry>
<entry name="SiteDescription">Teveblad</entry>
<entry name="TimeZone">W. Europe Standard Time</entry>
</section>
</profile>
Basically your XML is not correct and not valid.
Code:
    <entry name="End"></body></entry>
Here you have a closing </body> tag intermixed with your entry tag. Even if there was an opening body tag, you are not allowed to "overlap" tag opening and closing (the following is invalid: Text)
__________________
*** Power is nothing without control ***
mbuzina is offline   Reply With Quote
Old 2006-07-24, 14:58   #3 (permalink)
Portal User
 
Join Date: Jul 2006
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hy,

I don't really understand what you mean.
I copied this from a working grabber. I only changed the channels.

Could you tell me what i need to change exactly?

Thx
Boogol is offline   Reply With Quote
Old 2006-07-24, 15:08   #4 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Boogol,

It looks ok to me. What do you see in the log when you run this file?

/James
James is offline   Reply With Quote
Old 2006-07-24, 15:11   #5 (permalink)
Portal Member
 
mbuzina's Avatar
 
Join Date: Apr 2005
Location: Germany
Age: 34
Posts: 459
Thanks: 1
Thanked 2 Times in 2 Posts

Country:


Default

Hi,

Since I am not 100% aware of the format needed by the parser, but it requires valid XML definitions. In XML you define "values" by specifying tags. A tag starts with "<" + Name + Optional Attributes + ">". You then enter contents (text or more tags) and then close the tag with "</" + Name + ">". This means that the text in a tag may not contain "<" or ">" (and also "&" may not be used). To specify these characters use:
"&lt;" for < (withouth quotes)
"&gt;" for > (withouth quotes)
"&amp;" for & (withouth quotes)

I guess that should get you further (at least some way). It might be worthwhile reading a bit on XML (there are many introductionary articles on the web).

** EDIT **
Just read that you only exchanged some names. I guess that you copied the definition for a different listing provider to your provider? That would only work, if the markup (html) of the websites are identical.
__________________
*** Power is nothing without control ***
mbuzina is offline   Reply With Quote
Old 2006-07-24, 15:16   #6 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

I assume the &#60 ; and &#62 ; were replaced with '<' and '>' by the forum?

If your config file doesn't have these escape codes in it. Then you will have a problem. Make sure you can open the .xml in a web browser to test if the XML syntax is correct.
James is offline   Reply With Quote
Old 2006-07-24, 15:59   #7 (permalink)
Portal User
 
Join Date: Jul 2006
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

James,

Indeed the characters were replaced by the forum.

When I simply click on the xml file it opens correctly.

I will look at the log file when I'm home.
Could you just remind me were the log file is located? :?

Thx for the help so far
Boogol is offline   Reply With Quote
Old 2006-07-24, 16:14   #8 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

The log is in the log\ directory and is called WebEPG.log (funny that)
James is offline   Reply With Quote
Old 2006-07-24, 18:14   #9 (permalink)
Portal User
 
Join Date: Jul 2006
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

This is what i found out:

Some of the sites are found now but the ones here stiil do not work:

24/07/2006 18:11:19 [ERROR] WebEPG: ChannelId: een.be grabber error
24/07/2006 18:11:21 [ERROR] WebEPG: ChannelId: france2.fr grabber error
24/07/2006 18:11:21 [ERROR] WebEPG: ChannelId: jim.be grabber error
24/07/2006 18:11:21 [ERROR] WebEPG: ChannelId: kanaaltwee.be grabber error
24/07/2006 18:11:22 [ERROR] WebEPG: ChannelId: canvas.be grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: ladeux.be grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: la1.be grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: mtv.nl grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: ned1@omroep.nl grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: ned2@omroep.nl grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: ned3@omroep.nl grabber error
24/07/2006 18:11:23 [ERROR] WebEPG: ChannelId: tvi@rtl.be grabber error
24/07/2006 18:11:26 [ERROR] WebEPG: ChannelId: tmf.be grabber error
24/07/2006 18:11:29 [ERROR] WebEPG: ChannelId: vijftv.be grabber error
24/07/2006 18:11:30 [ERROR] WebEPG: ChannelId: vitaya.be grabber error
24/07/2006 18:11:32 [ERROR] WebEPG: ChannelId: vt4.be grabber error
24/07/2006 18:11:35 [ERROR] WebEPG: ChannelId: vtm.be grabber error

Any idea why this is?
Is it because of the name or something else?
Thx
Boogol is offline   Reply With Quote
Old 2006-07-30, 07:31   #10 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Boogol,

I just tested this grabber and it works without errors here. See the log:

http://pastebin.team-mediaportal.com/10280

I have not checked all stations, but I will check this into the SVN as it is now.
James is offline   Reply With Quote
Reply

Bookmarks

Tags
grabber, make, webepg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sublinks, need help with creating grabber gommer WebEPG 6 2006-11-02 09:45
NEW Italian EPG grabber, but need your HELP!! koala04 WebEPG 24 2006-11-01 09:27
EPG (AUS) Grabber - Different Design scott_k2 WebEPG 1 2006-09-28 07:46
Why is my WebEPG doing this? TheMerovingian WebEPG 13 2006-07-10 21:59
A problem creating spanish TDT grabber for WEBEPG pegial WebEPG 7 2006-06-04 13:14


All times are GMT +1. The time now is 04:22.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden