Alternate WebEPG template for IMDB grabber (1 Viewer)

nopunin10did

Portal Member
August 4, 2015
6
1
39
Home Country
United States of America United States of America
I have put together an alternate version of the TemplateText for the IMDB grabber, based on the current behavior of the site.
I seemed to be having issues with grabbing episode titles originally, so I used the "z" tag to set an optional section.

Human-readable template (uses tags TBA):
<tr><td>
<a><#START></a>
</td>
<td>
<b><a><#TITLE></a></b>
<z(> - <i>
<a><#SUBTITLE></a>
</i></z)?>
: <#DESCRIPTION></td>
</tr>


XML Version:
<Template name="default" start="single_station_container">
<SectionTemplate tags="TBA">
<TemplateText>
&lt;tr&gt;&lt;td&gt;
&lt;a&gt;&lt;#START&gt;&lt;/a&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;b&gt;&lt;a&gt;&lt;#TITLE&gt;&lt;/a&gt;&lt;/b&gt;
&lt;z(&gt; - &lt;i&gt;
&lt;a&gt;&lt;#SUBTITLE&gt;&lt;/a&gt;
&lt;/i&gt;&lt;/z)?&gt;
: &lt;#DESCRIPTION&gt;&lt;/td&gt;
&lt;/tr&gt;
</TemplateText>
</SectionTemplate>
</Template>
 

RonD

Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    Thanks for looking into this. probably the best place for this message is in the WebEPG forum. For a new user finding the correct forum can be a bit confusing. see link https://forum.team-mediaportal.com/forums/webepg.136/

    Curious what was having problems but I have not used WebEPG/imdb for quite a while, maybe create a new message in that forum, upload your complete imdb.xml update in that message with just 1 or 2 example channels. That way people can test what you are proposing.
     

    Users who are viewing this thread

    Top Bottom