Oakblogger

I wanted a way to post updates to my web site quickly and easily. I wanted the postings to be modular (so that I could easily edit or delete postings), timestamped (so that each posting would show when it was created), and portable (so that I could run it from any computer with Perl installed). Oakblogger is what came out of those requirements.

Here is how it works:

  • Download the blogger script to you server.
  • Unpack the compressed file by running tar xvzf blogger.tar.gz from the command line.
  • Edit the file to put in the paths for the include file and data file.
  • Set the script to be executable chmod 777 blogger.cgi
  • Point you web browser at the script. The first time that you run the program, it will create it's datafile (this program uses Storable, a default module in most Perl installations, that is fast and portable).
  • Create your first posting.
  • Delete the 'Blank' posting that was created during the initialization of the datafile.
  • Click on the 'Put your posts into the Include file' link. This creates a formatted HTML file that can be included into your web page.
  • Edit your site page to include the file generated by the script.
    <!--#include virtual="/includes/blog.txt" -->
  • Update your blog to your heart's content!

You should put your blogger.cgi script behind an id/password screen, to prevent just ANYONE from updating your web log. The posts generated are listed in reverse chronological order, the newest post will be on top. You can change the 'look' of the posts by updating the 'web_post' section of the script. You can see examples of the default behaviour of the script by looking at my home page.

Take a look at my script licensing.

Enjoy!

 
 

All works on this site © Oakbox Productions

Contact Form and Public Key General Work History Basic web mail script