TV-Today Germany - Details are gone (2 Viewers)

jimbeam128

Portal Pro
December 16, 2008
165
19
Germany Germany
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:
<Listing type="Html">
    <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="" />
    <Search maxlistings="30" />
    <Html>
      <Template name="default">
        <SectionTemplate tags="TB">
          <TemplateText>
           &lt;tr valign="top"&gt;
				&lt;td&gt;
					&lt;span class="tv-sendung-uhrzeit"&gt;&lt;#START&gt;&lt;br/&gt;-&lt;br/&gt;&lt;#END&gt;&lt;/span&gt;
				&lt;/td&gt;
				&lt;td&gt;
					&lt;img/&gt;
					&lt;script language="Javascript"&gt;&lt;/script&gt;
				&lt;/td&gt;
				&lt;td&gt;&lt;#NOTUSED&gt;&lt;/td&gt;
				&lt;td&gt;
					&lt;#TITLE&gt;
					&lt;#NOTUSED2&gt;&lt;br/&gt;
					&lt;span class="tv-sendung-info"&gt;
						(&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;
						
					&lt;/span&gt;
				&lt;/td&gt;
				&lt;td&gt;
					&lt;a&gt;&lt;img/&gt;&lt;/a&gt;&lt;br/&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
          </TemplateText>
        </SectionTemplate>
      </Template>
      <Template name="Details">
        <SectionTemplate tags="T">
          <TemplateText>
            &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;
            &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
          </TemplateText>
        </SectionTemplate>
      </Template>
      <DataPreference>
        <Preference template="default" title="1" subtitle="0" genre="1" description="0" />
        <Preference template="Details" title="0" subtitle="0" genre="2" description="1" />
      </DataPreference>
      <Sublinks>
        <Sublink search="detailPopup" template="Details">
          <Link url="http://www.tvtoday.de/programm/?format=detail&amp;sid=[1]" post="" external="false" encoding="" />
        </Sublink>
      </Sublinks>
    </Html>
  </Listing>
</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
 

Attachments

jimbeam128

Portal Pro
December 16, 2008
165
19
Germany Germany
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...
 

Attachments

jimbeam128

Portal Pro
December 16, 2008
165
19
Germany Germany
AW: TV-Today Germany - Details are gone

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

Code:
2011-03-24 18:25:22.375000 [WebEPGImporter(10)]: WebEPG: SubLink Request http://www.tvtoday.de/programm/?format=detail&sid=107015027393 POST: 
2011-03-24 18:25:23.359375 [WebEPGImporter(8)]: HTMLPage: GetInternal encoding: UTF-8
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:
&lt;div class="text"&gt;&lt;#DESCRIPTION&gt;&lt;/div&gt;

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

Quake505

Portal Pro
May 23, 2009
68
8
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
 

jimbeam128

Portal Pro
December 16, 2008
165
19
Germany Germany
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
 

jimbeam128

Portal Pro
December 16, 2008
165
19
Germany Germany
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:
<ul class="desc">
									<li>Humor</li>
									<li>Anspr.</li>
									<li>Action</li>

									<li>Span.</li>
									<li>Ero.</li>
								</ul>
								<ul class="boller">
									<li>
																																<img src="http://images.tvtoday.de/_imgToday/program/boller_3.gif" height="8" width="33">
																			</li>
									<li>

																																<img src="http://images.tvtoday.de/_imgToday/program/boller_0.gif" height="8" width="33">
																			</li>
									<li>
																																<img src="http://images.tvtoday.de/_imgToday/program/boller_2.gif" height="8" width="33">
																			</li>
									<li>
																																<img src="http://images.tvtoday.de/_imgToday/program/boller_1.gif" height="8" width="33">
																			</li>
									<li class="last">

																																<img src="http://images.tvtoday.de/_imgToday/program/boller_0.gif" height="8" width="33">
																			</li>
								</ul>
							</div>
											</div>
					<div class="text">
																					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/>
																						<br/>
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:

Humor Anspr. Action Span. Ero.
Thanks in advance
 

Attachments

Jelmo

Portal Pro
September 8, 2007
711
55
Germany Germany
AW: TV-Today Germany - Details are gone

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

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Top Bottom