[mythtv-users] UK TV Listings source - bleb.org
Chris Moore
zmower at ntlworld.com
Sat Jan 31 18:18:45 EST 2004
John Knottenbelt wrote:
>I'm thinking that perhaps XSLT is not quite powerful enough to convert the
>dates into ISO 8601. Attached is my current (incomplete) attempt which
>anybody can pick up and improve or use for ideas.
>
>
>
I'd been working on one of my own but yours was in much better shape.
So here's an updated version atttached which almost works. I've added
the test for before 6am but it doesn't seem to add the day onto the date.
You didn't say which processor you were using. I tried a few but
xsltproc seems to be the one which works without modifying the source.
>Cheers
>
>John
>
>Input Document looks like this:
>
><?xml version="1.0" encoding="UTF-8"?>
><!-- produced for the bleb.org TV system at Wed Jan 21 05:42:03 2004 -->
><root>
><xmltvid blebid="bbc1">bbc1.bbc.co.uk</xmltvid>
><xmltvid blebid="...">...</xmltvid>
>
>[bleb data here -- <channel ...]
></root>
>
>
>
The input document still looks like this. Need to knock up another
noddy stylesheet to generate it automatically. And a script to get the
files off bleb etc. Tomorrow maybe, if I can divert the wife and kids.
Chris Moore
--
Sig pending!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bleb2xmltv.xsl
Type: text/xml
Size: 3963 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040131/c3a0ff98/bleb2xmltv.xsl
More information about the mythtv-users
mailing list