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 2007-03-16, 08:43   #1 (permalink)
Portal Member
 
Join Date: Oct 2006
Posts: 71
Thanks: 1
Thanked 0 Times in 0 Posts


fixed Sublink using "&" instead of "&"

I'm having a problem white following code:

Code:
<?xml version="1.0" encoding="utf-8" ?>
<Grabber>
  <Info language="lt" availableDays="3" timezone="E. Europe Standard Time" />
  <Channels>
  	<Channel id="5kanalas.lt" siteId="" />
  </Channels>
  <Listing type="Html">
    <Site url="http://www.5kanalas.lt/default.aspx?page=Programa&amp;day=[DAY_OFFSET]" post="" external="false" encoding="" />
    <Html>
      <Template name="default" start="ProgramContainer" end="mainover1">
        <SectionTemplate tags="T">
          <TemplateText>
            &lt;tr&gt;&lt;td&gt;&lt;a&gt;&lt;#START&gt;   &lt;#TITLE&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;       
          </TemplateText>
        </SectionTemplate>
      </Template>
       <Template name="Details" start="&lt;div style=&quot;FLOAT:right&quot;&gt;" end="mainover1">
        <SectionTemplate tags="S">
          <TemplateText>
            &lt;span id="_ctl1_Long1_lblText"&gt;
			&lt;#SUBTITLE&gt;&lt;br&gt;
			&lt;#DESCRIPTION&gt;&lt;br&gt;&lt;br&gt;
			&lt;br&gt;&lt;/span&gt;   
          </TemplateText>
        </SectionTemplate>
      </Template>
      <Sublinks>
      	<Sublink search="default.aspx" template="Details" />
      </Sublinks>
    </Html>
  </Listing>
</Grabber>
When the grabber tryes to open a sublink it uses the following form:
Code:
WebEPG: SubLink Request http://www.5kanalas.lt/default.aspx?page=InfoBlock&amp;cid=2798
Which is excatly the same as in the original <a href> tag:

Code:
href="default.aspx?page=InfoBlock&amp;cid=2798"
The only problem is that it won't work unless the link is like this:

Code:
http://www.5kanalas.lt/default.aspx?page=InfoBlock&cid=2798
So the difference is that "&amp;" should be "&".

How can I do this?

Last edited by Sasler; 2007-03-16 at 08:47.
Sasler is offline   Reply With Quote
Old 2007-03-24, 11:13   #2 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Its was a bug. Now fixed and in the SVN.

I also added your grabber to the SVN
James is offline   Reply With Quote
Reply

Bookmarks

Tags
andamp, 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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sublink url not used marceltrou WebEPG 1 2007-02-11 20:00
A perfect HTPC with MP & PVR Scheduler & faster XP STSC Tips and Tricks 16 2007-01-30 23:40
RC4 (svn-04-22-2006--16-49) & sub & wmv codec wizard84 The old Bugreport Forum 5 2006-04-28 09:58
monitor := standby && screen := startpage && f0rmula MediaPortal 1 Talk 5 2006-01-27 16:55
Reccomendations & Opinions on DVB & HDTV cards for H Anonymous Hardware Selection Help 1 2005-09-07 09:47


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


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