PLog

PLog is a GPL'd blogging tool. I wrote it so that I could more easily combine banal daily commentary with photographs. Simple as that.

You'll need ImageMagick if you want to use the [img] tag. I have compiled it under Debian on both x86 (GHC 5 and 6) and Alpha (GHC 6), and Mac OS X (GHC 6.2.2).

It's written in Haskell, with the goal that it be pure Haskell 98. As this is impossible[1], I have settled on providing implementations using both the FFI (for speed and compiler portability) and an OS-pipe (for people who don't have the libraries installed and have an uncooperative sysadmin). The latter probably doesn't work on Windows.

The source is available here: plog-0.0.6.tar.gz.

Changes

0.0.7 (in the pipeline): 0.0.6: 0.0.5: 0.0.4: 0.0.3: 0.0.2: 0.0.1: Initial release
« back
Peter Gammie
Last modified: Mon Feb 5 22:54:15 EST 2007

[1] OK, the reasoning goes like this: Haskell 98 does not support binary IO — it's supposed to do Unicode translations — so one cannot write binary file handling functions directly in Haskell. Therefore one needs to either call an external program or use the FFI. PLog needs to know how large images are, so information must flow back from the external program, which the standard system function doesn't allow. Furthermore, I claim with no proof that this is impossible to do in a portable fashion.