[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TV] Formatting listings like the radiotimes website
The output looks really nice Richard, but putting on my web designer hat
for minute, can you change the output slightly to make it more
accessible. At the moment if you disable css styles, it's rather hard to
read. Using it with a screen reader would be rather painful. On way to
make it more accessible is if each day could be a list with each channel
outputted as a nested list within it.. The actual css changes would be
minimal I think. I had a go to do this a while back but my experience
with xslt is rather low. Do you think you'd be able to output it like
this, maybe as an option?
Just my thoughts..
Richard Lewis wrote:
I have created an XSLT script that fomarts bleb.org listings similar
to the radiotimes website (horizontally, with the width of each
programme proportional to its duration). The output uses only CSS
(and is valid XHTML). The list of channels displayed is controlled by
an XML configuration file.
You can have a look (and download it) here:
i really wrote it to use offline (which is why there are only a few
days available there, in case anyone wanted to see what it looked
like) and it seems ok for me so far.
There's also a PHP frontend that lets you specify the time the
listings begin and the day shown.
I didnt see any documentation on the listings format, is there a DTD
or schema or just a description available? The main point I want to
check is the time the listings start: it seems to be that listings
start at 6am, and if a programme has a start time earlier than this
then it is actually "tomorrow". I would have expected that instead
you could have an attribute to control this: you could make it
optional and only set it on programmes that start on the following
I also wondered why you use numbers for the directories, wouldnt it be
better to name the directories after the day they refer to? this would
it easier for poeple to download only days they don't already
have. (eg a few days ago I used wget to grab about 5 days, when they
run out I have to visit bleb to work out if i need to start grabbing
from 0 or 1 (and then rename the files locally if needed)
Do you plan to add the other ITV regions? (also things like BBC 2
Wales, and there were some other digital terrestrial channels not
Thanks for the great service.
Distributed to the bleb.org/tv developer list.
Archive available at: http://www.bleb.org/tv/maillist/
To unsubscribe, send 'UNSUBSCRIBE lawrence@xxxxxxxxxxx' to
mailto:tvdevel-request@xxxxxxxxx If you have any problems please contact