My public blog script, `lb` is now much improved

[linkstandalone]

I know a couple of you guys out there use my blog script, lb, for your personal blogs. Advertised as a "Blog & RSS system in less than 100 lines of shell script". It's minimal, easy to customize and I've been using it for months now. If you didn't see the original video, there's the link.

The script allows you to write blog posts that are then automatically syndicated in several locations of your choosing:

But yesterday I rewrote the script, actually making it shorter while adding some nice features.

The script is backwards compatible with the old script, although the commands have slightly changed (just run the command and it will tell you how) and if you've been working on unpublished drafts in lb 1.0, you must still publish them with lb 1.0. This backwards compatibility means that you can also revise old published blog entries without much of a problem. The only hiccup is the fact that if you revise a blog entry published with lb 1.0, when republished it will appear only with the new date. This should not be true of articles published by this lb 2.0.

To "install" the blog script, simply download it to the wanted blog directory and change the variables in it to seek the correct files (the RSS feed, blog file, blog index). You must add a comment line that looks exactly like this:

<!-- LB -->

to each file. That line is the point in the document after which new articles/RSS entries/list entries will be added. See the source files of my above linked pages for examples!