Patch for entries_cache_meta plugin (meta values)

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. I’ve been using the entries_cache_meta plugin by Jason Thaxter, mainly for the convenience of specifying the modification date within the entry file. After a while I decided I’d like to also use its “meta” capability, i.e., the ability to specify arbitrary variables in the entry header along with the modification time, e.g., ...

2005-01-17 · 3 min · Frank Hecker

Enforcing proper use of trailing slashes

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. I’ve previously blogged about my canonicaluri plugin that checks to see whether the requested URI is in the canonical form for the type of page being requested, and if necessary does a browser redirect to the canonical form of the URI. However the canonicaluri plugin may be overkill for some people, for example, it presumes use of the extensionless plugin, so that canonical URIs for individual entries do not have file extensions for the default flavour. A simpler alternative to the canonicaluri plugin is the slashredir plugin, which only enforces proper usage regarding trailing slashes. ...

2005-01-11 · 2 min · Frank Hecker

My new weblog

UPDATE 2023/12/31: This is the first post for my blog after I converted my personal website hecker.org to use Blosxom. I’m including it here for historical interest. After a long period of neglecting my personal web site, I’ve decided to start my own weblog, with the goal of making it easier for me to publish new material and therefore (I hope) more likely that I’ll actually write more. My plan is to write about things that interest me, on the theory that they might interest at least a few other people. As part of that I’ll occasionally discuss the volunteer work I’ve been doing for the Mozilla project. ...

2005-01-09 · 2 min · Frank Hecker

To-do list

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. As many people can attest, sometimes you spend more time (and have more fun) tinkering with the underpinnings of a web site instead of actually writing new content to be posted on it. In that spirit, here is my current list of things I’m planning to add to or change about my web site and blog. ...

2005-01-09 · 3 min · Frank Hecker

Patch for atomfeed plugin (“modified” element for feed)

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. The “official” atomfeed plugin does not generate valid feeds for the current version (0.3) of the Atom specification because the output does not have a “modified” element for the feed as a whole, just “modified” elements for each story. Obviously the modification date/time for the feed can be interpreted as the date/time modified of the most recent story, so then it’s just a matter of generating the proper output for the MODIFIED tags. ...

2005-01-09 · 2 min · Frank Hecker

The lastmodified2 plugin

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. In a previous post I discussed the general problem of validating and caching dynamic content. In order to implement the strategy outlined in that post I decided to create a new version of the lastmodified plugin originally created by Bob Schumaker. The lastmodified plugin was a good base to build on; however it didn’t do exactly what I wanted to do, and hence I couldn’t resist trying to improve on it. ...

2005-01-09 · 23 min · Frank Hecker

Validating and caching dynamic content

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. One of the things I enjoy about setting up my own blog with the Blosxom software is learning about the deep details of web protocols and formats that I’ve never worried about before. (This might have been the case if I’d used another blogging system, but the hackable nature of Blosxom inspires, nay, almost demands it.) Lately I’ve been educating myself about HTTP conditional GET requests and validation and caching of dynamically-generated content. ...

2005-01-09 · 14 min · Frank Hecker

Copyright and license

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. I’ve done a lot of work related to software licensing as part of the Mozilla relicensing project and when I worked at CollabNet. As a result of enduring endess wrangling about licensing terms I’ve been put off complex licensing schemes, and prefer to make my own works available under very liberal terms. ...

2005-01-08 · 5 min · Frank Hecker

Emptymessage patch for Apache compatibility, etc.

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. When stock Blosxom sees a URL that doesn’t correspond to an existing entry or list of entries, it simply puts up a “normal” page (i.e., using the standard heat and foot templates for that flavour) that doesn’t have any actual content. I really don’t like this behavior, and thus I decided to try out the emptymessage plugin created by Fletcher Penney. Unfortunately I wasn’t entirely happy with its behavior either, and so I decided to patch it. ...

2005-01-08 · 3 min · Frank Hecker

Markdown patch for varying empty element suffixes

UPDATE 2023-03-27: This page is obsolete, as it refers to a prior version of this blog. However, it may be of historical interest. As noted in a previous post, I am a big fan of the Markdown text-to-HTML conversion tool. However, nothing’s perfect. I already discussed a bug involving link ids, and I subsequently found one other reason to patch Markdown, for sites like mine that generate both HTML 4.01 Strict and XML pages (an Atom feed in my case). ...

2005-01-08 · 3 min · Frank Hecker