Blosxom and the “entriescache” Plugin

23 Mar 2004

Paul R. Potts

The “entriescache” plugin seems to have a problem. When I add a new entry, and then delete it, Blosxom displays two copies of the first weblog entry. It seems to have something to do with the meta time stamp: if I don’t include hours/minutes/seconds, two day time stamps on the same post match. The cache gets confused. It seems to use only the timestamp, rather than a combination of timestamp and filename, to distinguish the entry.

Additionally, deleting an entry, or moving it, seems to totally baffle Blosxom. I wind up with the new entry skipped and the old one displayed with no title or content.

Updating a story is also broken; Blosxom will not notice the new file modification date, but rather goes entirely by creation date.

Finally, adding older stories (files with old creation_date metadata, but with new time stamps, migrated from my old web site) results in these stories not showing up in the weblog until I forcibly delete the state files for the plugin. Even adding brand-new stories results in those stories not showing up until I delete the state files.

Given that I’m using this plugin to try to solve the problems caused by lack of creation date metadata, it is especially frustrating that it seems to create several more. The situation I wanted to avoid is perhaps coming to pass: I’ll have to start hacking Perl again. Grr…

Creative Commons Licence
This work by Paul R. Potts is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. The CSS framework is stylize.css, Copyright © 2014 by Jack Crawford.

Blog IndexWriting Archive