I'm trying to make the www_dr_dk.xml grabber work. I have converted the format so the grabber now works 
Now my problem is the TemplateText.
The site can be seen here:
http://www.dr.dk/nav/programoversigt/w3c/inc/channel.aframe?media=TV&channel=dk1&seldate=0&seltime=0
I have tried with this template (and it is very close to work)
<table> <tr> <td><img src /></td> <td><z(><a href></z)?><#START> <#TITLE><z(></a></z)?></td>
</tr></table>
<z(><table><tr><td ></td><td><#GENRE></td></tr></table></z)?>
<z(>
<div>
<table>
<tr>
<td>
</td>
<td><#DESCRIPTION></td>
</tr>
</table>
</div>
</z)?>
As you can see there are some programs without any link for showing the descriptions and they are bothering me.
Can someone also please explain the SectionTemplate tags'? What is it exactly doing? (I cannot figure out the logic, but i have used TA)
Any help will be much appreciated.
If i only use this:
<table> <tr> <td><img src /></td> <td><z(><a href></z)?><#START> <#TITLE><z(></a></z)?></td>
</tr></table>
It also finds entries without the img tag. Why? (It does not comply to the template)
Now my problem is the TemplateText.
The site can be seen here:
http://www.dr.dk/nav/programoversigt/w3c/inc/channel.aframe?media=TV&channel=dk1&seldate=0&seltime=0
I have tried with this template (and it is very close to work)
<table> <tr> <td><img src /></td> <td><z(><a href></z)?><#START> <#TITLE><z(></a></z)?></td>
</tr></table>
<z(><table><tr><td ></td><td><#GENRE></td></tr></table></z)?>
<z(>
<div>
<table>
<tr>
<td>
</td>
<td><#DESCRIPTION></td>
</tr>
</table>
</div>
</z)?>
As you can see there are some programs without any link for showing the descriptions and they are bothering me.
Can someone also please explain the SectionTemplate tags'? What is it exactly doing? (I cannot figure out the logic, but i have used TA)
Any help will be much appreciated.
If i only use this:
<table> <tr> <td><img src /></td> <td><z(><a href></z)?><#START> <#TITLE><z(></a></z)?></td>
</tr></table>
It also finds entries without the img tag. Why? (It does not comply to the template)
Denmark