[Gllug] Website developement

Stig Brautaset stig at brautaset.org
Sat Jul 14 21:48:33 UTC 2001


David Freeman <freemadi at yahoo.co.uk> writes:

> list,
> 
> I have a couple of questions.
> 
> I have recently, as part of some NVQ avoidance work, been redsigning my
> web site.
> 
> http://www.alug.org.uk/freemadi/
> or if the DNS is fixed
> http://freemadi.alug.org.uk/  [1]
> 
> Now I have spotted lots of mistakes due to me creating it when I should
> be sleeping, as each page is almost identical, each page needs the same
> alterations to be made. But each page is non Identicle enough for it to
> be a pain in the arse to do.
> 
> So I was wondering if anyone on the list can think of a way to create a
> site with lots of pages, like this one, where the design can be changed
> without changing each file by hand, whilst keeping it looking as
> similiar to what it does at the moment. And whilst keeping the html on
> the server static, so I could create it dynamically on my machine and
> then upload it.

heh. What a coinsidence.  Just two days ago I put some informations
about (as far as I can tell) exactly the information you are looking
for on my webpage.  I use gcc's preprocessor to merge a template
holding the layout and link bit, and a file for holding the actual
content. That way I do not have to mess around with a lot of html-tags
just to change the content, and since all the pages uses the same
layout, the design is easy to change/correct since you only have one
file to relate to. I use make to control the whole thing. Examples of
makefile, template and more is to be found on my webpage.

Have a look at http://www.brautaset.org/config.htm to get an idea. 
Feel free to email me with questions.

Cheers, Stig
-- 
 22:40:05 up 20 min,  3 users,  load average: 0.38, 0.16, 0.05

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list