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):
- Grossly simplified configuration.
- Simplified internals: got rid of the
ForeignPtrs in
the ImageMagickFFI binding in favour of an explicit close
function.
- Added headings to the RSS feed.
0.0.6:
- RSS feed.
- Sundry bug fixes.
- Rename
[abbrev abbreviation] to [a
abbreviation].
- Fix permalinks to point to the monthly indices. This means the
generated entry files are now just for caching. Resulted in much
simplification - the
entry_footer and
entry_header files are no longer needed.
- Simplified the configuration. You'll need to delete a few fields
from
$HOME/.plog.
0.0.5:
- Rejig the layout a bit.
- Bug fix: inline images and later updates of the blog entry meant
the image would be de-inlined.
- Tweaked the layout some more, and made things more HTML 4.01
strict compliant. The code generated by PLog satisfies the W3
checker, but that doesn't mean the HTML I write does…
- Added more flexible rebuild options.
- Added a [box ...] tag.
0.0.4:
- Small after-release changes 2004-02-11: Update
version. Hack build system to cope with no ImageMagick at all. I
realised that rotating and size hints don't work well together for the
command-line programs…
- Added example
plog.conf and entries.
- Have only one calendar (for the most recent month), and reduce
the rest to links to the separate month indices.
- Put archived indices in order, not reversed.
- Better error handling. Remove incomplete output files in most
cases (except for lexer errors).
- Added calling ImageMagick via the FFI. In this mode no GHC-specific features are used. You'll need to have the ImageMagick headers and libraries installed (not just the command
line utilities) if you want to use this. It's faster.
- De-functionalised the
Configuration data
structure. Introduced an external configuration file.
- Fixed footnote handling: formatting, and adding them above the
footer in day pages.
- Made table layout more flexible: can specify a width.
- Massive overhaul of the build system: almost compiles under NHC and GHC 5 and 6 now. There are some space issues that occur
only with NHC.
- Added attributes to images, e.g.
{RotateLeft}.
0.0.3:
- Got it to compile under GHC 6 - Mark told me
the type of
dupTo had changed.
- Added heading markup so Mark has to think up quirky titles
all the time.
- Slightly better handling of whitespace in various places. (Makes
the generated HTML look a little better.)
- Switched from an ad hoc lexer to an Alex one.
- Better error handling: added filenames and locations to errors.
- Instead of just dropping the first two directory entries,
actually test for and exclude directories. This is racey, but the
existing code makes a fairly deep assumption that the directory
contents aren't changing.
0.0.2:
- If the
abbreviations file doesn't exist, that's OK.
- Made it more HTML compliant (at least according to the
nsgmls program that XEmacs knows about).
- Added footnote markup.
- Extend
make-like date checking to
extra/.
0.0.1: Initial release
« back
Peter Gammie
Last modified: Mon Feb 5 22:54:15 EST 2007