Upgrades: 2

Once again WordPress has reworked the category system:

WordPress 2.3 introduces our new taxonomy schema. Any plugin that queries against the old table will break horribly. Plugins that use the category API should be fine.

This means that this code in my left sidebar, which I modified from the original Tiga theme:


<?php
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->categories");
foreach ($link_cats as $link_cat) {
if (get_links($link_cat->cat_id, '', '', '', FALSE, 'id', FALSE, FALSE, -1, FALSE, FALSE)) { /* anything to show? */
?>

needs some work. Looks like this evening’s project is figuring out how to use category filters.

10 years of “Here I am”

I cracked the electronic mic ten years ago today with a GeoCities account (back before the Yahoo! acquisition). My first project was a set of photos taken from various vantage points along the 70-odd miles of Interstate 66. Painstakingly scanned and cropped, most of them nevertheless were quite pedestrian, and I’ve since taken the set down.

Nearly six years later, I migrated most of the rest of the content to a Comcast account. My Larry Shue appreciation page is still up, as is the suite of pages about the Wood Duck. I was experimenting with several blog-style efforts (here, here, and here), but the page-maintenance effort was dragging me down, so I climbed on the dedicated-software bandwagon once it picked up some steam, and the result was pedantic nuthatch.

I’ve a couple of Blogger-based side projects (here and here), I write and maintain the web site for Reston Community Players, and my fingerprints are beginning to appear in a couple of wikis.

Last year, after a futile bit of FTP-juggling and username chicanery, I realized that I was going to run out of disk space on the Comcast account, and so I moved my blogging house here. And now you know everything.

Upgrades

Hmm. It looks like WP 2.1.x (to which I just upgraded) has hidden the linkcategories table. Come out, come out, whereever you are! My left sidebar hurts!

Specifically, I’m trying to find the equivalent code for

$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) {
if (get_links($link_cat->cat_id, '', '', '', FALSE, '', FALSE, FALSE, -1, FALSE, FALSE)) {
...
}
}

We don’t need no stinking categories

I admit it: the category system for this blog is a mess. I started out with clever allusive titles like Ars Longa and Like Life (the title of a comic novel by Lorrie Moore), but I quickly ran out of allusions that were sufficiently descriptive. Every time I tagged something with NOC, Leta would ask me, “what does that stand for?” and I would explain “not otherwise classified.” And my posts refused to distribute themselves at all evenly into a tidy set of seven categories or so. What would George Miller make of the folksonomy movement, I wonder? Anyhow, let this be a warning to the teeming millions (milling onesies, maybe?) that I may scribble all over the category system at some point.