2013-11-26, 06:19 PM
I have managed to persuade WebGrab Plus ( http://webgrabplus.com/ ) to scrape show descriptions from the UK Radio Times website. These show descriptions are more comprehensive than the descriptions obtained by the xmltv grabber used by most in the UK ( http://www.birtles.org.uk/xmltv/ ). But ... all the other fields in the WebGrab xmltv are fairly poor.
What I would like to do is merge the data from the two xmltv files ... using everything from the Birtles xmltv except <desc> and use the <desc> from the WebGrab xmltv.
The only way that I have found that might do the job is XSLT ... but the syntax is beyond me. I use the sweet msxml file from PBS ( http://forums.nextpvr.com/showthread.php...transforms ) and was hoping that PBS or someone might help me along.
The (edited) Birtles xmlltv looks like ...
The (edited) WebGrab xmltv looks like ...
My hope is that it will be possible to match on <programme start= stop= > and <title> <\title>.
Thank you for any suggestions.
What I would like to do is merge the data from the two xmltv files ... using everything from the Birtles xmltv except <desc> and use the <desc> from the WebGrab xmltv.
The only way that I have found that might do the job is XSLT ... but the syntax is beyond me. I use the sweet msxml file from PBS ( http://forums.nextpvr.com/showthread.php...transforms ) and was hoping that PBS or someone might help me along.
The (edited) Birtles xmlltv looks like ...
Code:
<programme start="20131126210000 +0000" stop="20131126220000 +0000" channel="UK_RT_104">
<title lang="en">Last Tango in Halifax</title>
<sub-title>S2E2/6</sub-title>
<desc>Alan and Celia have tied the knot at last ...
</desc>
The (edited) WebGrab xmltv looks like ...
Code:
<programme start="20131126210000 +0000" stop="20131126220000 +0000" channel="BBC1">
<title lang="en">Last Tango in Halifax</title>
<desc lang="en">Alan and Celia have tied the knot at last ...
<\desc>
My hope is that it will be possible to match on <programme start= stop= > and <title> <\title>.
Thank you for any suggestions.