Sublink using "&" instead of "&" (1 Viewer)

Sasler

Portal Pro
October 19, 2006
72
0
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?
 

Users who are viewing this thread

Top Bottom