Discussion:
Managing pages with same structure
(too old to reply)
Jean-Rene David
2003-08-20 21:36:49 UTC
Permalink
Hello,

I am using vim to edit and manage my little website. All the pages have
the same structure/layout, a pretty common thing I guess.

I wonder what tricks people use to efficiently manage such a website,
i.e. how to minimize the work when making modifications to the structure
of the site.

Personnally, I have a template file with no content and each time I want
to change the structure of the site, I change the template. I also have
what I call "content" files, which basically contain just the, well,
content. So what I do after I've updated the template file is regenerate
the site by merging the template with each content file using a little
script I wrote.

Now all this seems awfully tedious but I don't see any other way to do
it. Does anybody have suggestions?
stumper
2003-10-31 08:57:32 UTC
Permalink
Post by Jean-Rene David
Hello,
I am using vim to edit and manage my little website. All the pages have
the same structure/layout, a pretty common thing I guess.
I wonder what tricks people use to efficiently manage such a website,
i.e. how to minimize the work when making modifications to the structure
of the site.
Personnally, I have a template file with no content and each time I want
to change the structure of the site, I change the template. I also have
what I call "content" files, which basically contain just the, well,
content. So what I do after I've updated the template file is regenerate
the site by merging the template with each content file using a little
script I wrote.
Now all this seems awfully tedious but I don't see any other way to do
it. Does anybody have suggestions?
There must be quite a few commercial programs. But they are too expensive
and too complex.

Several years ago I wrote a simple program for my own use. It is quite
primitive. Still, it is flexible enough for my simple need. It is at

http://www.newvessel.com/tbeam/

Unfortunately it is for Windows. Even though I am using Linux now, I don't
have the time to port it. It appears to work in Linux with Wine. But, the
built in text editor is not working properly (window refresh problem).

I sure hope some of the popular HTML editors adopt my approach to simplify
creation of personal homepages.
--
<< Stumper at NewVessel.com >>
Loading...