- August 4, 2015
- 6
- 1
- 39
- Home Country
- 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>
<tr><td>
<a><#START></a>
</td>
<td>
<b><a><#TITLE></a></b>
<z(> - <i>
<a><#SUBTITLE></a>
</i></z)?>
: <#DESCRIPTION></td>
</tr>
</TemplateText>
</SectionTemplate>
</Template>
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>
<tr><td>
<a><#START></a>
</td>
<td>
<b><a><#TITLE></a></b>
<z(> - <i>
<a><#SUBTITLE></a>
</i></z)?>
: <#DESCRIPTION></td>
</tr>
</TemplateText>
</SectionTemplate>
</Template>