Category: General

  • Reindexing old MT entries

    I’m not quite there yet, but I’ve got all my old MT articles with the same IDs as they had under that CMS. I basically used DrBacchus’ More about migrating from MT to WP method, but tried to integrate Scott Hanson’s Export from WordPress. It was not a complete success, but I’ll document what I did here in the hope that it’s useful.

    DrBacchus was using an older version of MT, while I’m using the most recent version. I found that the file you have to edit to insert IDs is lib/MT/ImportExport.pm — not lib/MT/App/CMS.pm.

    If you can avoid the temptation of adding blog entries to WP before importing from MT, do so. It’s a royal pain to add them later.

    I used the WP MT-export module to export all my blog entries, then trimmed out the existing entries which had been entered in MT. I then added entry IDs to the export file (an awk one-liner: awk 'BEGIN{id=323;} {print;} /^STATUS: / {print "ID:", id; id++;}' worked for me, as my highest MT article ID was 322). I then joined the export files from MT and WP in one big ‘export.txt’ file.

    If you have existing WP entries, you’ll have to get rid of them. I found that going directly into the database, and doing:

    delete from wp_posts;
    delete from wp_comments;

    would do it.

    Don’t forget to patch import-mt.php as per DrB’s instructions before importing.

    Here’s where the pain comes in — WP wouldn’t import the text from the entries created in MT. It restored all the metadata, but not the content. So I had to manually patch in the entries from the export file.

    I still have to work out rewrite rules for permalinks, but at least everything’s on the server where it should be. Maybe John’s Moved To WordPress rewrite rules will help me, as I think that my host (1and1) may not be doing entirely halal things with .htaccess support.

  • ping!

    Still alive, incidentally. Just been on site, and had lots of visitors.

  • Steve Weber abides

    Judith & Steve called me again. Steve treated me to a great version of ‘Skin Game’ (from Too Much Fun!) over the phone. I think having one of the elder statesmen of psych-folk play a personal concert for me while I waited for the Bathurst streetcar to take me to the CNE must be one of the weirder episodes in my life.

  • best … Leonards … EVER!!

    best mini traffic cones ever

    I found we had some of the best mini traffic cones ever in the office. They’re really tough, made of a kind of squishy plastic. We also have full-sized ones of the same material. Don’t know where we got them, but if Robyn Hitchcock ever starts up his cone artwork again, these would be perfect for miniatures.

  • An Adventurer Is You!

    I’ve been playing too much Kingdom of Loathing, an extremely silly RPG. Its stick-man graphics are the best.

  • Goodbye, Grocery Gateway

    It seems that yesterday was probably our last Grocery Gateway delivery. The somewhat dejected driver said that service as we know it ends on Friday. If anything of the company remains, it won’t deliver the same range of stock, and it very probably won’t deliver in Scarborough.

    Apart from their recent payment debacle (where they claimed that MasterCard had stopped a payment fully two months after the transaction — and afterwards, Grocery Gateway’s payments department was spectacularly rude to me, and gave me derisory compensation for the half day I wasted sorting out their error), we’ve found them to be useful. Most of our 40+ deliveries have been as we ordered, and on time. We’ll have to find an alternative now.

    I’m disappointed that they weren’t more of a success. They didn’t seem to advertise very well, and never played their environmental card one bit. I don’t know how many car journeys a full grocery delivery van could cut out, but it’s a sane, rational way of dealing with our pollution problem.

    Waitaminute — sane, rational, anti-pollution, North America? What was I thinking?

  • Autumnal

    The sumachs are beginning to flame, trees are beginning to brown, and I
    haven’t seen a groundhog for days. Looks like it’s doing that autumn thing.

    Hey little leaf, lying on the ground
    Now you’re turning slightly brown.
    Why don’t you hop right back on the tree?
    Turn the colour green like you’re meant to be.

    — “Same Old Man”, The Holy Modal Rounders.

  • Photos of the future

    I’ve just ordered some digital prints from Future Photo. Their website seems to work pretty well. Let’s see how they turn out.

    I do have one complaint — they send your username and password in clear
    text by e-mail when you register. Bad futureshop, no FMCG!

  • Messages from Steve

    Got two messages from the taller Holy Modal Rounder, Steve Weber,
    tonight. He was jamming away, and recorded a great song for me, Blue Navigator.

  • Help, I’ve been traded!

    My blog appears to be a (very minor) commodity in BlogShares: We Saw A Chicken …

  • We Saw A … Beaver?!

    Highly unlikely, but I saw a biggish brown animal with a strangely
    shaped tail swimming in the Don River. Could it be Castor?

  • Get outta my way!

    Thoughtlessly Parked Cars at Burlington Station

    I walk. And when mass thoughtlessness blocks my way, I get angry.

  • Another cool thing about WordPress

    …. is that you can e-mail in blog entries. Like this one.

  • Mostly working

    Okay, WordPress works now. I’m keeping the old MT archives for now, as there doesn’t seem to be a sane way of getting Apache’s mod_rewrite to work properly here. I suspect PEBCAK, probably, with intensely arcane rewrite rule syntax as a mitigating factor.

  • Repeatedly stabbing myself in the eye with a hot poker

    s_OlympukesLight2.png
    … would be more fun than following the Olympics.

    Seriously, if there’s anyone out there who thinks that the Limping Games is anything other than a cash grab for synthetic hormone-enhanced automata, I’d like to meet them — and mock them repeatedly with “You sad old man!” delivered in a scornful faux-Cockney accent.

    Take the 400m race, for instance. If I stayed in exactly the same place, I’d be back where I started 43.18 seconds before the world record holder, and what’s more, I wouldn’t even be remotely out of breath. And we give medals to people who run round in circles? Jings!

    The above image is a glyph from the Olympukes Light free font from fontshop. It speaks to my condition.

  • I believe in bugs

    minimantis.jpg
    I saw my first in-the-wild preying mantis today. It makes this place so much more exotic than Scotland.

  • lion theft on the boulevard

    kenmark_lion.jpg
    Somebody stole our lions! We had two — admittedly rather scabby — concrete lions outside our house, and this morning they were gone.

    It’s not the fact that they were anything to write home about, but they were our lions. We kinda liked them there. Now they are gone, how will people find our house?

  • Kennedy Road, from shore to shore

    kennedy_at_simcoe.jpg
    (yes, there was an enormous storm coming in …)

    If you live in Scarborough, Kennedy Road is yet another line of stripmalls and furniture shops. But if you look at its route on a map, you’ll see that it runs from Lake Ontario to Lake Simcoe, through some beautiful countryside.

    Since we don’t have a car, and I only recently got a licence, we haven’t been out of the city much. We need to drive somewhere west of Hamilton today, so for practice yesterday, I drove all of Kennedy Road.

    Since I know quite how horrible the road is south of Steeles (the Toronto boundary), we kept on Birchmount until we hit the city limit, then headed north on Kennedy through Markham. Things remained fairly unimpressive until we got out of Markham, and passed through Whitchurch-Stouffville and up through the Oak Ridges Moraine. This bit’s beautiful.

    Kennedy Road ends as an unpaved road at the edge of Lake Simcoe. Its northern section is so green that you can almost forget the horrors that run through Scarborough. We came back down Warden — another road with similar urban delights to Kennedy — and found it to be just as attractive.

  • Getting (Not Very) Political

    Canada goes to the polls soon. For the last month, the papers have been filled with the minutiae of the candidates and their policies. As a Canadian Without A Vote™, I feel strangely detached from this. Having an opinion on the candidates would be like me judging a beauty contest for slugs.

    But people keep asking for my opinion, so here it is: Anyone but Harper. Stephen Harper reminds me a lot of George W. Bush, minus the intelligence and charisma of the southern leader. I’ve seen sharper hockey pucks than Harper, who always seems to be photographed with that glaikit (see extended entry for definition) open-mouthed expression on his face.

    Martin looks like he’s got terrible halitosis, and is permanently worried that we’re on the verge of finding him out for some nefarious act. Layton’s a bit full-on for a successful leader. And that green party guy just looks uncomfortable in a suit.

    None of the parties have innovative sustainable agendas, so I can’t recommend any of them. But if Harper wins in June, all those friends of ours in the US who want to inhabit our basement should Bush win in November might as well stay home.
    (more…)

  • The Multi-Talented Mayor

    mcca_colour.jpg
    One-man band singing sensation. Tapdancer. Comic book artist. Sometime mayoral candidate in Hamilton Donut Rock City. Is there no end to the talents of Mayor McCa? Why is he unknown outside Ontario?

    I was on the guest list for his show at Lee’s Palace on Friday. CA was on first, so there wasn’t much of a crowd. This is the first time I’ve seen him in his one-man band persona. Much fun was had.

    I recorded the show with the Mayor’s permission. I had the files online, but took them off when I ran out of space. Let me know if you want to hear them.