From: Gre7g L. <gre...@wo...> - 2003-03-04 17:07:14
|
I've been using ht2html for a while now. I contribute to TMDA and as you may know, they use it to generate their web pages. Question 1: (licence) Is ht2html open source? It has all the appearances of an open source project, but I don't see any agreement in any of the downloaded files or on any of the webpages. May I freely modify this, distribute patches, or would it be best for me to join the ht2html group so I can submit CVS changes for added features? Question 2: (practical) I want to switch TMDA's design over from purely text-based: http://tmda.sourceforge.net/ To something a little more graphical: http://wolfhome.com/~gre7g/layout2.htm This shouldn't be too impossible, but ht2html makes a bunch of assumptions that will sabotage the process (such as fixed size spacers). Clearly those pieces of code would have to be overridden or changed to make this work. Do you know anyone who has done this before or would I be breaking new ground? Question 3: (philosophical) I understand that ht2html allows us to build a class that can then override various portions of the output, but I was wondering why you chose to do this with with functions? In other words, why have functions like get_style(), get_stylesheet(), get_banner(), etc. that only return a string? Wouldn't it have been simpler and more straightforward to just keep a class with a bunch of class constants such as style, stylesheet, banner, etc. and then allow us to overload these values? It seems to me that it would be simpler and more straightforward to define values than functions. It also makes more readible code to pull out variables than functions. Thanks in advance for any insight, Gre7g. ================================================================= Gre7g Luterman gr...@wo... http://www.templeofluna.com/ Stay informed: http://www.templeofluna.com/keeper/mailinglist.htm If it weren't for sex, none of us would be here. And of course, by 'here' I mean 'on the internet'. |