Personal Weblog System
The Personal Weblog System is a perl script that works as some kind of personal journal and text file station, which only you can read. Think of a very basic weblog tool which get mixed up with a online text editor. The main difference to other weblog systems is, that you add new entries from the same page you read the entries. This page is password protected, that's why it is a "personal" weblog system. And you can add, view and edit your own text files online.
If you are interested in setting up a weblog system, which others can read also, PWS is the wrong thing. But Ted Hawkings made a great rewrite of PWS to enhance it to an easy and very basic weblog system, so try his GTBlog.
Purpose - What it is for?
It's a tool for people who work a lot online and on different computers. I as a student use it for noting the daily progress of my work and to have some information about books and persons I daily work with always available, even in libraries, and without always syncronising laptops or palmtops.
Test it online
Before you want to read on and to install it you may want to take a look at the Personal Weblog System demo in action. Passwort is "test". It's on a free server as I dont want to be responsible for things other people enter there. Because it's a free server there are advertisments, which will not appear in your version, of course.
Your web server software must support Perl CGI scripts and your administrators must allow custom CGI scripts.
Download pws.zip (ca. 5kb)
I hope Personal Weblog System is very easy. If you want to add a new entry, click "Create Story" and the entry is added to the actual monthly file (which is automatically shown at startup). If you want to add a new text file, click the same button, but enter a filename in the field before. You can only create files with the ending ".txt". Use simple html code to format your text:
The search works with a "and" relation. It was the hardest part to code and it's still not working perfect. Note that it will also search the html code you may have written in the files. But you get google-like extracts from the hits, isn't that great?
The Personal Weblog System is not a very safe script. Safety has always to do with knowledge, and if someone has more knowledge than the author of a program, the program is unsafe. So this script is very unsafe ;-)
The main problem is, that everybody who knows about how the program works, knows how the monthly files are named and can access them. So, better place your program in a folder named NOT "PWS". If you access your script from a external computer, someone *could* *theoretically* see the URL (and the folder name), visit this PWS page, check the program code and then access your monthly files. But you shouldn't get to paranoid over this.
Feel free to use the program and to alter the code. But don't forget that this is my piece of kinky art, and you should always blame me for it. At least you should leave the notes of copyright and authorship in the code.
This was my first perl script intended to go public. I have a really old school style of programming, as I learned it with basic and pascal. There are really a lot of useless variables in the program, and I guess a lot of chaotic passages. It would be really helpful to hear some advices from experienced programmers or hints how to make a better and faster live search.
Another useful program
I'm also using the start-script from Zoltan Milosevic. For me it's the perfect addition to the Personal Weblog System and also targeted to people who work online on different computers. You can read more at the Start Script Home Page.