PDA

View Full Version : TiVoweb


Paperface
08-12-2006, 06:26 PM
Evening all,

Is anyone particularly familiar with TiVoWeb plus code-wise? I've just installed it and I'm loving the functionality of Tivoweb, but being one of those annoying web designer people, I can't help but notice that the html is quite out of date. From looking briefly at the code, there doesn't seem to be a simple way to update it as far as I can see. Can anyone point me in the right direction as to how to do this? I'd quite like to contribute something to the project and making some nice xhtml templates for it would be a nice, easy (hopefully) way for me to do that.

Cheers,

Dave

cwaring
08-12-2006, 06:59 PM
This might be a silly question, but why bother? It works perfectly well as it is :)

That said, I don't think TivoWeb itself is being developed any futher so I guess you can do what you like; certainly with your own copy. Not sure about distributing it though.

tefster
08-13-2006, 04:29 AM
As Carl said, if it ain't broke... Plus the nicest thing about TivoWeb using stock HTML rather than XHTML is broader browser compatibility (particularly for mobile devices).

But if you do want to change things then look within :-
./modules/*.itcl for most of the modules code
./html.itcl for the page structure html
and
./http-tt.tcl for code that outputs HTTP headers

The main problem that you'll find is that the HTML is embedded within the code, and many people have patched/alternate versions of modules to add different features. What would be more useful is to replace the embedded html with a templating engine, or just work through all of the core code and modules and CSSise those.

Paperface
08-13-2006, 06:10 AM
What would be more useful is to replace the embedded html with a templating engine, or just work through all of the core code and modules and CSSise those.

That was kinda what I was thinking, but not really knowing much about tcl - might make it difficult ;)