Sublinks in webepg (1 Viewer)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,848
    3,465
    Nuenen
    Home Country
    Netherlands Netherlands
    Hi all,

    I'm struggling with sublinks at the moment.
    Checked the wiki on that, but the info is not enough for me to fully understand it.
    What I can't figure is how to get the sublink from the following:

    Code:
    <h3>
    <a href="series-info.asp?series=Sophie Grigson In The Home Counties&ID=1461"> Sophie Grigson In The Home Counties </a>Londen - met een rivier erdoorheen
    </h3>

    I don't have any specific keywords that appear in the url that I could put in the search-attribute, and there is more than one <a href> in the section of the program, I don't know how to proceed.

    Also: Now I have "Sophie Grigson In The Home Counties" as Title, but it would be nice if "Londen - met een rivier erdoorheen" could be added to that.

    Current setting:
    [Collapse]
    <?xml version="1.0" encoding="utf-8"?>
    <Grabber>
    <Info availableDays="7" timezone="W. Europe Standard Time" version="2.0" />
    <Channels>
    <Channel id="travelchannel.co.uk" siteId="1"/>
    </Channels>
    <Listing type="Html">
    <Site url="http://www.travelchanneltv.nl/tvguide.asp?day=[DD]/[MM]/[YYYY]" post="" external="false" encoding="" />
    <Html>
    <Template name="default" start="&lt;p align=&quot;center&quot;&gt;">
    <SectionTemplate tags="HDA">
    <TemplateText>
    &lt;div id="panel4" class="CollapsiblePanel"&gt;
    &lt;div class="CollapsiblePanelTab" tabindex="0" &gt;
    &lt;div class="scheduletime"&gt;
    &lt;h3&gt;&lt;strong style="color:#F97634"&gt;&lt;#START&gt;&lt;/strong&gt;&lt;/h3&gt;
    &lt;/div&gt;
    &lt;div class="scheduleitem"&gt;
    &lt;h3&gt;
    &lt;a&gt;&lt;#TITLE&gt;&lt;/a&gt; &lt;/h3&gt;
    &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="CollapsiblePanelContent"&gt;
    &lt;strong&gt;&lt;#DESCRIPTION&gt;&lt;em&gt;&lt;a&gt;Hier klikken...&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;script type="text/javascript"&gt;
    var panel4 = new Spry.Widget.CollapsiblePanel("panel4", {contentIsOpen:false});
    &lt;/script&gt;
    </TemplateText>
    </SectionTemplate>
    </Template>
    </Html>
    </Listing>
    <Actions>
    </Actions>
    </Grabber>
    [/Collapse]
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom