[mythtv] mythweb screenshot

Neil Trodden cannon.trodder at ntlworld.com
Thu Jun 12 00:24:41 EDT 2003


At 11:37 11/06/2003 -0400, you wrote:
>I've been messing around with the listings backend and frontend a bit
>myself, and made a display that more closely resembles the program guide in
>mythtv.  I've just been sorta hacking around at it when I get a free minute,
>and as a result, the HTML is ugly (there's even a little CSS thrown in
>because I thought that I'd be able to shrink the listing by creating some
>CSS classes. I'm not sure if this is the case or not, but I didn't finish
>the attempt).
>
>I've been testing rendering the page in IE, and a friend has been testing it
>in Phoenix.  I'll fire up Konqueror occasionally, and KHTML has rendered the
>page the same way Gecko has been, so I think it should still be working in
>Konq in its current form.

Thanks Jon,

Looks good but I haven't used the previous MythWeb so I can't really 
comment :-)

I found this from the Movies button:

Warning: Missing argument 3 for printyourself() in 
/usr/pub/www/mythweb/beta/classes.php on line 199

...but it's just a demo!

If you are looking at keeping the page-size down, maybe consider replacing 
some of the long GET URLs with Javascript functions which take the program 
id or whatever needs submitting, and construct a URL.

Instead of :

"main.php?mode=single&channel=3002&starttime=20030611180000&endtime=20030611183000&refoffset=0"onmouseover="window.status='Newschannel 
2 at 6 (6:00p - 6:30p)'; return true;" onmouseout="window.status=''; return 
true;"

how about:

"javascript:goto(single,3002,20030611180000,20030611183000,0" 
title="Newschannel 2 at 6 (6:00p - 6:30p)">

..create a javascript function called "goto" to construct the URL and call 
a function onload to attach a mouseover event to all elements which are 
program links. This function could handle the window.status stuff.

There are a lot of links, so it should drop the page size. The only thing 
is, I'm not sure if there is a "lowest common denominator" browser that 
MythWeb should work with. Maybe a dumbed down (non-script) version can be 
returned for non-scripting clients? I am happy to help out in any way I can.


--

Neil Trodden




More information about the mythtv-dev mailing list