The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Tuesday, October 09, 2001

Navigating a blog

Over the past few hours I've been working on the navigation code for this blog. And it isn't easy. I decided to forgoe adding navigation to the main page (while it's easy enough to find the previous seven days worth of entries, I don't think it's quite worth it yet to calculate the previous seven days entries but that may change) or to arbitrary ranges (that was hard enough to get right, and I still think there might be bugs in that code—not show stopping bugs, but there are probably some marginal cases where the code doesn't display what I think it should). I'm only handling the simple queries that bring back either a year's worth, month's worth, day's worth or the previous/next entry. Just to calculate the previous entry is a hundred lines of code. I could probably tighten that up a bit, but I'm still getting a handle on this, so I'll keep it verbose for now.

Obligatory Picture

[It's the most wonderful time of the year!]

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site:, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2022 by Sean Conner. All Rights Reserved.