MtX
November 27th, 2003, 05:23 PM
Ok, here's the problem.. I have a simple HTML website, using the same template, images.. The site has around 30 pages to it.. I just discovered a problem on one page and I need to change it.. But since all the pages are made out of the other page, every page has the same error! Instead of opening up every page and fixing the mistake (very tedious and inefficient), is there a better solution? I'd hate to have to go into every single page and change a small thing every time.. Thanks..
AJMartin
November 28th, 2003, 01:29 AM
Originally posted by MtX
Ok, here's the problem.. I have a simple HTML website, using the same template, images.. The site has around 30 pages to it.. I just discovered a problem on one page and I need to change it.. But since all the pages are made out of the other page, every page has the same error! Instead of opening up every page and fixing the mistake (very tedious and inefficient), is there a better solution? I'd hate to have to go into every single page and change a small thing every time.. Thanks..
I came across the same problem when designing web pages. I didn't like using frames which are one "solution" to the problem, because the solution is worse than the problems, I feel. Instead, I used Rebol from http://www.rebol.com and created my own website generation software which combines my content with HTML (now XHTML and XML) to produce my finished website. That way, I avoid having to repeat myself (DRY from XP site).
Another solution is to use XML, stylesheets and XML transformations to create the site in HTML.
A tempory solution is to formulate your change in a scripting language, then run the script to change all your pages at once.
MtX
November 28th, 2003, 09:16 PM
ahh so complicated.. i only know HTML :D