| |||||||
| WebEPG everything related to WebEPG in here |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| MP Donator ![]() Join Date: Jan 2007 Location: Stockholm
Posts: 483
Thanks: 5
Thanked 10 Times in 10 Posts
Country: | Hello! I realized this morning that dagenstv.com changed their web layout and the grabber no longer works. I've made a first attempt to update it and as far as I can see it now works again. Please let me know if you find any issues. James: can we add this to the stream? /Peter |
| | |
| |
| | #2 (permalink) |
| MP Donator ![]() Join Date: Jan 2007 Location: Stockholm
Posts: 483
Thanks: 5
Thanked 10 Times in 10 Posts
Country: | Hi again, I just realized I had not counted for some variations to the layout. Here is a new version of the grabber that picks up all shows, but not yet the descriptions... I need to work on this or get some help from someone. Here is the problem: - Some shows have additional information in their section of the page. Some voting buttons... - I've tried to use conditional statements to take this into account and filter this away - Now I can pick-up the Title, Start, and End times for the show but not the description - I believe this has to do with the fact that there is no Tag following the #Description - The Tag comes after the conditional statement Here is the template: <div> <div><#START>(<#END>)</div> <div><#TITLE></div> <div><#DESCRIPTION> <------------ No Tag here <z(><div><div></div><div></div></div></z)?> <------------ Here is the conditional statement </div> <------------ And here comes the closing Tag <div></div> </div> I can't figure out any other way of doing this so all help is very mucb appreciated! /Peter |
| | |
| | #5 (permalink) |
| MP Donator ![]() | I've also looked into this and fail using the Z tag too. I don't really understand why it's supposed to be <z(><td><#DESCRIPTION></td></z)?> and not <z>(<td><#DESCRIPTION></td>)?</z>. I've come up with two different templates. One that gets all normal shows: Code: Start: <!-- Start End: <div class="dm"> Tags: D Text: <div> <div><#START>(<#END>)</div> <div><#TITLE></div> <div><#DESCRIPTION></div> And one that gets the shows with voting buttons: Code: Start: <!-- Start End: <div class="dm"> Tags: DF Text: <div> <div><#START>(<#END>)</div> <div><#TITLE></div> <div><#DESCRIPTION><form><div> Now to the question: How do we combine those two? |
| | |
| | #6 (permalink) |
| MP Donator ![]() Join Date: Jan 2007 Location: Stockholm
Posts: 483
Thanks: 5
Thanked 10 Times in 10 Posts
Country: | You got me there... I also had two different templates that I could not combine. Actually, in the end I gave up and started to use "xmltv.exe tv_grab_se_swedb". This one works really well, and it also syncs with TVScheduler through the TV3E plugin. With xmltv I can get both descriptions and start/end time for each show. No fancy vote buttons to take care of ![]() /Peter |
| | |
| | #7 (permalink) |
| MP Donator ![]() | There's only one problem with tv_grab_se_swedb. It supports less than half the amount of channels as dagenstv.com does. James can you confirm that a tag always needs a start and end tag like <div><#DESCRIPTION></div> and cannot have an optional end tag? Or is there a workaround? |
| | |
| | #8 (permalink) |
| Portal Developer Join Date: May 2005 Location: Switzerland
Posts: 1,341
Thanks: 4
Thanked 55 Times in 34 Posts
| Hi guys, petsa's template was correct but there was a bug with the Z tags which was stopping it from working. @vuego, think of the everything around the Z tag being removed and the regex command staying. So <z(> .... </z)?> becomes ( ... )?. The Z tags are needed to tell the parsing engine that these are regex commands. If you put them in without the Z tags, the parsing engine treats them as string matches. Like around the #END in this case. I've made some corrections and both of the following should work: Code: <div> <div><#START>(<#END>)</div> <div><#TITLE></div> <div><#DESCRIPTION> Code: <div> <div><#START>(<#END>)</div> <div><#TITLE></div> <div><#DESCRIPTION><z(><div><z)*></div> Last edited by James; 2007-12-28 at 19:40. |
| | |
| | #10 (permalink) |
| MP Donator ![]() | James please add this version to SVN since it also includes the new channels described in post #34 of the same thread. BTW I think that the WebEPG Designer also needs to be updated to handle the new Z tag. ![]() |
| | |
![]() |
| Bookmarks |
| Tags |
| dagenstvcom, grabber, sweden, updated |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another updated Telvis grabber (Finland) | pmcguire | WebEPG | 1 | 2007-11-04 06:39 |
| Spanish TDT grabber updated. | pegial | WebEPG | 1 | 2007-10-17 07:56 |
| Updated Grabber for tvtoday.de | milagroso | WebEPG | 1 | 2007-08-02 20:05 |
| Updated grabber for tvtoday.de | Hawkeye | WebEPG | 1 | 2007-05-15 16:53 |
| I have updated the grabber for TVCABO (Portugal) | cleao | WebEPG | 7 | 2007-05-04 10:56 |