Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Sunday November 24, 2002
04:38 PM

Simple Web Site Management

[ #9125 ]

Reinventing the wheel always gets one yelled at, but naturally I am doing it again. I have found that maintaining my Web site is a pain. Naturally, I went on a search for Web content management tools with a few preferences in mind.

  • Easy to use.
  • Not require server side code.
  • Easy to use.
  • Free.
  • Easy to use.
  • Well-written.
  • Easy to use.
  • Automatically generate a navigation bar.

Everything that I found failed one or more of the above prerequisites. ttree from Template Toolkit was the closest I found, but it doesn't appear to automatically generate the navigation bar the way that I want it to be done.

So I'm creating my own. All I do is create a file in my source directory and it's added to the site and all appropriate nav bars are to be updated. Do I want a new section added to the site? I just create a new directory and add a file to it. That's all.

As for the file format:

This is the title

<p>Insert the body of the page here.</p>

It's rather simplistic, but that's the point. I don't want to learn some complicated Web content management system for a simple vanity site. So far, I only have ~120 lines of code, but the bulk of the work is done. My work on the dynamic navigation bar will take a bit more time, but other than that, it works perfectly creating all of the folders that I need and generates nice, valid HTML. This should make further updates to my site rather painless. It would probably not be terribly useful for anyone else unless they already know Template Toolkit. Further, $simple == $inflexible, but it does what I want it to do. I can even override the default CSS and templates to customize the look and feel for every section. I rock :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.