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
 
LinkBack Thread Tools Display Modes
Old 2008-05-24, 07:12   #1 (permalink)
Portal Member
 
Join Date: Sep 2007
Age: 25
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default Problem with Sublink (20min.ch)

Hi

I'm writing a new grabber for 20min.ch because the old one doesn't work any more. now the grabber xml look like:

Code:
<?xml version="1.0" encoding="utf-8"?>
<Grabber>
  <Info language="de" availableDays="7" timezone="W. Europe Standard Time" version="2.0" />
  <Channels>
    <Channel id="sf1@sfdrs.ch" siteId="5" />
  </Channels>
  <Listing type="Html">
    <Site url="http://www.20min.ch/unterhaltung/tv_guide/suche.tmpl" post="program_id=&amp;cb-[ID]=on&amp;dates=0-6&amp;time=all_day&amp;text=&amp;cat=all&amp;subcat=all" external="false" encoding="" />
    <Html>
      <Template name="default" start="&lt;/script&gt;&lt;/td&gt;&lt;/tr&gt;" end="">
        <SectionTemplate tags="T">
          <TemplateText>
                          &lt;td valign="top" width="10%" class="font"&gt;
                            &lt;nobr&gt;&lt;#START&gt;&lt;/nobr&gt;
                          &lt;/td&gt;

                          &lt;td valign="top" width="27%" class="font"&gt;
                            &lt;nobr&gt;SF 1&lt;/nobr&gt;
                          &lt;/td&gt;
                          &lt;td valign="top" width="63%" class="font"&gt;&lt;b&gt;
                            &lt;a href="javascript:void(window.open('detail.tmpl?programid=8325319','tvguide','width=550,height=800,scrollbars=yes'));"&gt;&lt;#TITLE&gt;&lt;/a&gt;&lt;/b&gt;
                          &lt;/td&gt;
          </TemplateText>
        </SectionTemplate>
      </Template>

      <Template name="Details" start="" end="">
        <SectionTemplate tags="T">
          <TemplateText>
          </TemplateText>
        </SectionTemplate>
      </Template>
      <Sublinks>
        <Sublink search="detail.tmpl" template="Details">
	  <Link url="http://www.20min.ch/unterhaltung/tv_guide/detail.tmpl" post="programId=[1]" external="false" encoding="" />
        </Sublink>
      </Sublinks>
    </Html>
  </Listing>
</Grabber>
The detail template is not finished at the moment. At the moment I've a problem with the Sublink, in HTML code link looks like this:

Code:
javascript:void(window.open('detail.tmpl?programid=8434990','tvguide','width=550,height=800,scrollbars=yes'));
That link opens page
Code:
http://www.20min.ch/unterhaltung/tv_guide/detail.tmpl?programid=8434990
When I'm now looking into my log of webepg it shows this:

Code:
SubLink Request http://www.20min.ch/unterhaltung/tv_guide/detail.tmpl POST: programId=window.open('detail.tmpl?programid=8356772
Does I do something wrong in the xml?
Any help would be greate.
steven83 is offline   Reply With Quote
Old 2008-08-05, 18:37   #2 (permalink)
MP Donator
 
Join Date: Apr 2007
Posts: 323
Thanks: 22
Thanked 1 Time in 1 Post

Country:

My System

Default

I had similar problems with changes to 20min.ch and was also unsuccessful in fixing the grabber.
I gave up and am now pulling all info from fernsehen.ch (grabber attached).
Hope that helps!
Attached Files
File Type: xml 1-www_fernsehen_ch.xml (5.0 KB, 1 views)

Last edited by rsbrux; 2008-08-05 at 18:37. Reason: automatic URL expansion
rsbrux is offline   Reply With Quote
Reply

Bookmarks

Tags
20minch, sublink

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with one Channel: RTL CH CieNeSDi General Support 0 2008-01-27 10:55
Problem changing ch. from one device to another. gibman fixed TV-Server / Client Bugs 18 2007-05-05 14:05
Webepg in CH: New site 20min.ch brunoh WebEPG 17 2007-02-26 18:11
Sublink url not used marceltrou WebEPG 1 2007-02-11 19:00
Hauppauge 34-key-remote, ch+ and ch- does not work melstig General Support 2 2006-10-01 16:34


All times are GMT +1. The time now is 23:05.


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