Monday, March 7, 2011

PPLOG - a flat-file, Puppy-friendly blogging system written in Perl

I got a comment from BK (it could be Puppy lead developer Barry Kauler, or not …) about PPLOG, a flat-file blogging system that — like Bloxsom and Ode — consists of a single Perl script and very little else.

PPLOG comes out of the Puppy Linux community, and Puppy is a distribution that I’ve used quite a bit since I began messing around with Linux in late 2006/early 2007. I’m thinking of using it (again) on my 1999-era Compaq Armada 7770dmt, which I recently upgraded from Debian Lenny to Squeeze. Squeeze is running great on it, but I think Puppy will allow me to squeeze (no pun intended) more performance out of this now-12-year-old laptop. The live CD will enable me to keep the disk entirely devoted to swap and storage, and Puppy is lean yet easy to configure — it’s not as bare as TinyCore.

Back to PPLOG. It is coded by Federico Ramirez, who writes the following:

The idea of this is making a simple blog, with all basic features, a nice template, all in 1 file, easy to configure, easy to upload, fast, no mess.

Enjoy!

This script is powered by PERL (Practical Extraction and Report Language). Very useful to work with flatfiles, as this script doesnt need mysql. If you are a programmer and want to do something like this, with textfiles or try something new or you are tired of PHP, I recommend PERL.

Here is Federico’s blog (in Spanish). Look here for more PPLOG-running blogs.

Here are the installation instructions and a link to two “style packs.”

It looks like PPLOG has a web interface for creating entries. Readers can leave comments, the system will send you e-mail when a new comment is made, and there is a CAPTCHA utility for cutting down on spam. There’s also a hit counter. (I’ve been using the PostViews plugin in FlatPress to tally the hits/post, and it lets me know how popular individual posts are without having to go into AwStats.)

Barry Kauler’s blog is done in PPLOG. Naturally there is a Puppy PET package (link to the actual package for Woof) for PPLOG.