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-11-01, 22:02   #1 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Belgium
Age: 40
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default sublinks, need help with creating grabber

Hi guys,

I'm making a webEPG grabber for www.teveblad.be (Belgium - Femish/Dutch). I know there's already one in the SVN, but it does not provide enough channels, and it has some problems. So i'm making my own, which i'll share when it's finished.

Grabbing the main program data already works, but I want to grab the more detailed program info from the linked detail page. But this last bit seems not to work after a few day's of trial and (ho)(e)rror.
Here's an example of how these detail pages look like: sublink HTML page example in pastebin
I also know that the grabber opens the detailed pages, I found these in the log file:
Code:
1/11/2006 18:45:00 [Info.] WebEPG: Guide, Program Info: 20061101211500 / 20061101221000 - Flikken
1/11/2006 18:45:00 [Info.] WebEPG: Reading http://www.teveblad.be/ndl/detail.asp?progid=35703003220061101EEN.001 POST:
So i'm convinced that there must be something wrong with my template
Here's the snippet that should match the detail page in the first pastebin link:
Code:
<section name="SubListing">
<entry name="Start">Inhoud</td></entry>
<entry name="Template">
	<td></td>
	<td>#DESCRIPTION</td>
</entry>
</section>
The HTML tags in the above code section are changed by the forum.
Here's a link to the complete grabber xml
You should realize that the number of rows can change from one detail page to another. The Description ('Inhoud') that i'm looking for, however, is always the last row.

Can anyone give a hint to the solution please. Thanks in adnavce.

Marc
gommer is offline   Reply With Quote
Old 2006-11-01, 22:35   #2 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi gommer,

The problem is that the sublinked page of teveblad.be is variable. In that the information and html code changes. This is not supported by the current version of WebEPG but I'm working on a new parser engine which will support this

/James
James is offline   Reply With Quote
Old 2006-11-01, 22:44   #3 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Belgium
Age: 40
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Quote:
Originally Posted by James View Post
Hi gommer,

The problem is that the sublinked page of teveblad.be is variable. In that the information and html code changes. This is not supported by the current version of WebEPG but I'm working on a new parser engine which will support this

/James
Hi James,

Do you ever sleep . The swift reply is much appreciated.

I knew about the engine not handling variabe pages (templates).
That's what I tried to solve by setting the 'start' tag at the line i'm interested in ('Inhoud'), since it happens to be the last one (always).

What's wrong with this approach?
gommer is offline   Reply With Quote
Old 2006-11-01, 22:51   #4 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hmmm ... I didn't see that. Nicely done that should work.

Try removing the </td> from the Inhoud.
James is offline   Reply With Quote
Old 2006-11-01, 23:01   #5 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Belgium
Age: 40
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Quote:
Originally Posted by James View Post
Try removing the </td> from the Inhoud.
Nope, tried that already, didn't change a thing
No errors, but also no 'Inhoud'.

By the way, it's not a problem that #description is in the main listing, as well as in the sublisting, is it?
gommer is offline   Reply With Quote
Old 2006-11-01, 23:34   #6 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

No thats fine it can be used in both the main and sublink template.
James is offline   Reply With Quote
Old 2006-11-02, 09:45   #7 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Belgium
Age: 40
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Small addition to this story:
in the sublisting page, 'Inhoud' is not unique, OTOH 'Inhoud</td> ' IS unique.

Any other thought of what i could try.
gommer is offline   Reply With Quote
Reply

Bookmarks

Tags
creating, grabber, sublinks

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
no video from both DVD and TV postema Installation, configuration support 17 2006-12-05 22:09
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
0.2RC3 : DVB-T channel scan OK, no A/V in My TV lshih Installation, configuration support 6 2006-04-15 20:49
My TV can tune in DVB-T & see event info but no A/V lshih Codecs, External Players 0 2006-04-03 20:56


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


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