TV-Today Germany - Details are gone

Discussion in 'WebEPG' started by jimbeam128, March 24, 2011.

  1. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    MediaPortal Version: 1.1 RC4
    MediaPortal Skin: Bleazle Wide V8
    Windows Version: XP SP3
    CPU Type: Athlon X2 4850e
    HDD: 32 GB SSD + 500 GB HDD
    Memory: 2 GB DDR2
    Motherboard: Asus M3N78-VM
    Video Card: Gainward Geforce 9400 GT 1 GB
    Video Card Driver:
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card:
    1. TV Card Type: DVB-C
    1. TV Card Driver: 1.01.01.501
    2. TV Card: Terratec Cinergy C PCI HD
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Power DVD 9
    MPEG2 Audio Codec: AC3Filter
    h.264 Video Codec: PowerDVD9
    Satelite/CableTV Provider: Unitymedia NRW
    HTPC Case: Suitcase out of Hardware-Store
    Cooling: 2 low noise Fans
    Power Supply: Silentmaxx 350w
    Remote: Logitech 525
    TV: Samsung 32" LCD
    TV - HTPC Connection: HDMI


    Hello Webepg Designers,



    in Germany the TVToday Webepg Grabber seemed to change. I tried to change the Grabber XML-File by myself, but I got stuck.

    Here the original grabber:

    Code (Text):
    1. <Listing type="Html">
    2.     <Site url="http://www.tvtoday.de/programm/?format=list&amp;offset=[PAGE_OFFSET]&amp;date=[DD].[MM].[YYYY]&amp;slotIndex=all&amp;channel=[ID]&amp;tips=&amp;oder=time" post="" external="false" encoding="" />
    3.     <Search maxlistings="30" />
    4.     <Html>
    5.       <Template name="default">
    6.         <SectionTemplate tags="TB">
    7.           <TemplateText>
    8.            &lt;tr valign="top"&gt;
    9.                 &lt;td&gt;
    10.                     &lt;span class="tv-sendung-uhrzeit"&gt;&lt;#START&gt;&lt;br/&gt;-&lt;br/&gt;&lt;#END&gt;&lt;/span&gt;
    11.                 &lt;/td&gt;
    12.                 &lt;td&gt;
    13.                     &lt;img/&gt;
    14.                     &lt;script language="Javascript"&gt;&lt;/script&gt;
    15.                 &lt;/td&gt;
    16.                 &lt;td&gt;&lt;#NOTUSED&gt;&lt;/td&gt;
    17.                 &lt;td&gt;
    18.                     &lt;#TITLE&gt;
    19.                     &lt;#NOTUSED2&gt;&lt;br/&gt;
    20.                     &lt;span class="tv-sendung-info"&gt;
    21.                         (&lt;a&gt;&lt;b&gt;ARD&lt;/b&gt;&lt;/a&gt;) &lt;#DURATION&gt; Min. Showview &lt;#SHOWVIEW&gt;&lt;br/&gt;&lt;#GENRE&gt;
    22.                        
    23.                     &lt;/span&gt;
    24.                 &lt;/td&gt;
    25.                 &lt;td&gt;
    26.                     &lt;a&gt;&lt;img/&gt;&lt;/a&gt;&lt;br/&gt;
    27.                 &lt;/td&gt;
    28.             &lt;/tr&gt;
    29.           </TemplateText>
    30.         </SectionTemplate>
    31.       </Template>
    32.       <Template name="Details">
    33.         <SectionTemplate tags="T">
    34.           <TemplateText>
    35.             &lt;tr&gt;&lt;td&gt;&lt;#DESCRIPTION&gt;&lt;br/&gt;&gt; &lt;#END&gt; | &lt;#DURATION&gt; Min. | &lt;#SHOWVIEW&gt;&lt;/td&gt;&lt;/tr&gt;
    36.             &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
    37.             &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
    38.             &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
    39.             &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
    40.             &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
    41.           </TemplateText>
    42.         </SectionTemplate>
    43.       </Template>
    44.       <DataPreference>
    45.         <Preference template="default" title="1" subtitle="0" genre="1" description="0" />
    46.         <Preference template="Details" title="0" subtitle="0" genre="2" description="1" />
    47.       </DataPreference>
    48.       <Sublinks>
    49.         <Sublink search="detailPopup" template="Details">
    50.           <Link url="http://www.tvtoday.de/programm/?format=detail&amp;sid=[1]" post="" external="false" encoding="" />
    51.         </Sublink>
    52.       </Sublinks>
    53.     </Html>
    54.   </Listing>
    55. </Grabber>

    Not everything changed, just the "Details-Template". Start and End-Time and Title are there, but there is no description any more of the program. - So I grabbed a site from TVToday and put it in the WebEPGDesigner:

    [See picture below]

    On the left side there is the information. But on the right side there does not come the info´s.

    Additionally here is the Source-Code I played arround with:


    Can somebody assist me?:D
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: TV-Today Germany - Details are gone

    Hello again,

    ok, now I can parse the information in the WebEPGDesigner correctly [see attached picture]

    I´ve inserted the information as XML in the Grabber-File and tested it. But there still comes no Description information....

    And it´s not possible for me to check the webepg.log, because it´s simply not there any more...
     

    Attached Files:

  4. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: TV-Today Germany - Details are gone

    Now I could see in the tv.log this here:

    Code (Text):
    1. 2011-03-24 18:25:22.375000 [WebEPGImporter(10)]: WebEPG: SubLink Request http://www.tvtoday.de/programm/?format=detail&sid=107015027393 POST:
    2. 2011-03-24 18:25:23.359375 [WebEPGImporter(8)]: HTMLPage: GetInternal encoding: UTF-8
    3. 2011-03-24 18:25:23.359375 [WebEPGImporter(8)]: WebEPG: Getting sublinked data failed

    So I think I have to enter some more than this in the template text section:

    Code (Text):
    1. &lt;div class="text"&gt;&lt;#DESCRIPTION&gt;&lt;/div&gt;

    Can anybody assist and tell me what I am doing wrong?
     
  5. Quake505

    Quake505 Portal Pro

    Joined:
    May 23, 2009
    Messages:
    68
    Likes Received:
    8
    Ratings:
    +8 / 0
    Hi,

    It looks like the sub address has changed.

    The original address is : -

    -ttp://www.tvtoday.de/programm?format=detail&amp;sid=[1]

    The new address is: -

    -ttp://www.tvtoday.de/programm/detail/?format=detail&amp;sid=[1]

    The web page now has /detail/ added.

    The page layout has also changed, I'll have a got and see if i can get it to work

    Regards,

    Q505
     
  6. Quake505

    Quake505 Portal Pro

    Joined:
    May 23, 2009
    Messages:
    68
    Likes Received:
    8
    Ratings:
    +8 / 0
    Hi jimbeam128,

    Try the attached file.

    Tell me how you get on.

    Regards,

    Q505
     
    • Like Like x 1
  7. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: TV-Today Germany - Details are gone

    Hello Quake505,

    I´ve tested the new XML-File and it works like a charm!

    Thanks a lot for your help!!! - And also from my girlfriend... :)

    I will populate this in the german forum section for the others.

    :D
     
  8. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: TV-Today Germany - Details are gone

    Hello Quake,

    sorry to bother you again, but there is one error because TV-Today has different sites for their details.
    On some Sites there comes a "rating" before the details text. In the source code of the page it looks like this:

    Code (Text):
    1. <ul class="desc">
    2.                                     <li>Humor</li>
    3.                                     <li>Anspr.</li>
    4.                                     <li>Action</li>
    5.  
    6.                                     <li>Span.</li>
    7.                                     <li>Ero.</li>
    8.                                 </ul>
    9.                                 <ul class="boller">
    10.                                     <li>
    11.                                                                                                                                 <img src="http://images.tvtoday.de/_imgToday/program/boller_3.gif" height="8" width="33">
    12.                                                                             </li>
    13.                                     <li>
    14.  
    15.                                                                                                                                 <img src="http://images.tvtoday.de/_imgToday/program/boller_0.gif" height="8" width="33">
    16.                                                                             </li>
    17.                                     <li>
    18.                                                                                                                                 <img src="http://images.tvtoday.de/_imgToday/program/boller_2.gif" height="8" width="33">
    19.                                                                             </li>
    20.                                     <li>
    21.                                                                                                                                 <img src="http://images.tvtoday.de/_imgToday/program/boller_1.gif" height="8" width="33">
    22.                                                                             </li>
    23.                                     <li class="last">
    24.  
    25.                                                                                                                                 <img src="http://images.tvtoday.de/_imgToday/program/boller_0.gif" height="8" width="33">
    26.                                                                             </li>
    27.                                 </ul>
    28.                             </div>
    29.                                             </div>
    30.                     <div class="text">
    31.                                                                                     Drei Jahre nachdem die Inspektoren Very Long (Bastian Pastewka) und Even Longer (Oliver Kalkofe) den Wixxer gefasst haben, setzt ein neuer Superschurke die Totenkopfmaske auf. Auf seiner Todesliste steht auch Victoria (Christiane Paul), die Tochter des ehemaligen Scotland-Yard-Chefs Dickham (Joachim Fuchsberger). Die ersten Ermittlungen führen ins Kloster St. Vokuhila...Auch ohne Kenntnis der zitierten und parodierten Filme gibt es mindestens drei Gründe, hier Spaß zu haben: die vermutlich einzige und somit rasanteste Treppenlift-Verfolgungsjagd der Filmgeschichte, "Stromberg" Christoph Maria Herbst als Irrenhausleiter Adolf Hatler sowie ein bemerkenswerter Werbeblock, der nicht vom Sender stammt.<br/>
    32.                                                                                         <br/>
    33.  
    34.                                                                            
    I´ve attached a complete site of that style. Could you "generalize" it for that?

    In the EPG in Mediaportal we do not get the Text which is displayed after "<div class="text">

    We just get this here in EPG:

    Thanks in advance
     

    Attached Files:

  9. Quake505

    Quake505 Portal Pro

    Joined:
    May 23, 2009
    Messages:
    68
    Likes Received:
    8
    Ratings:
    +8 / 0
    Try this
     

    Attached Files:

    • Like Like x 1
  10. Quake505

    Quake505 Portal Pro

    Joined:
    May 23, 2009
    Messages:
    68
    Likes Received:
    8
    Ratings:
    +8 / 0
    Can somebody confirm that this is working?
     
  11. Jelmo

    Jelmo Portal Pro

    Joined:
    September 8, 2007
    Messages:
    711
    Likes Received:
    43
    Gender:
    Male
    Ratings:
    +52 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: TV-Today Germany - Details are gone

    I can test it in the evening. I will come back with the results
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!