Geek stuff: MT4 and preview problems

I had this problem with Movable Type 4 and an older blog created on MT3. It wouldn't allow entry previews, but gave an error about missing context handlers for entry_based archives. It bothered me a long time, but yesterday I decided to fix it and fortunately I was able to find the solution at the Movable Type support forums.

I'm posting it here now to make it easier to find in case someone else is having the same problem, as it's really quite simple fix. The problem is caused by MTArchive tags: your entry-based archive template shouldn't have any. Most likely culprit is MTArchiveTitle - just replace that by MTEntryTitle and everything works. Watch out - the bad tag may be hiding in a Header module.

14.11.2007 klo 08:27 | Be the first to comment | TrackBack (0)

Miscellaneous: Facebook

My wife got invited to Facebook by her friends, I checked the place out (hadn't taken a single look at it before that) and found out I have quite a few friends listed there. Thus, I got myself a Facebook profile, too.

2.10.2007 klo 08:04 | Be the first to comment | TrackBack (0)

Culture: Book reviews

One has never enough blogs, right? Even if old ones are pushing weeds and looking quite abandoned and derelict? Well, if you start enough blogs, the weak ones will eventually die (like this old geezer here) and the strong ones, those you are really interested in (say, Gameblog) will survive. We'll see what happens to my latest attempt.

It's called Mikko reads and it features small book reviews. If time permits, I'll go through my Finnish review archives (some 200 book reviews) and post translations, but at least I try to review all the books I read from now on. We'll see...

5.08.2007 klo 11:24 | Be the first to comment | TrackBack (0)

Geek stuff: BookMooch recommendations

I've been happily mooching books lately. BookMooch has actually beaten both Bloglines and BoardGameGeek in my browser: if I type 'b' in the URL bar, Firefox suggests BookMooch.

It's been fun, and quite useful too: I've mooched over 70 books with a very reasonable cost, just about three euros per book. While three euros is more than enough for some of them (old, worn paperbacks), I've also received brand new trade paperbacks and hardcovers in pristine condition, books I couldn't get in library and I'd have to pay at least 15 euros or so to buy.

In an effort to give something back to the community (and to get something for myself), I created BookMooch Recommendations. It's a simple recommendations engine: type in your BookMooch id to get some recommendations based on your mooching history. It was a fun project, and depending on your history, it can produce pretty good results, too.

If you're a BookMooch user, try it out. If you're not - well, if you like cheap books, you probably should be!

9.04.2007 klo 14:38 | Comments 2 comment(s) | TrackBack (0)

Geek stuff: SpamLookup keyword blacklist

Comment spam is a constant nuisance to every blog owner. Movable Type is an excellent tool for having a blog, but it's also very popular - which makes it a prime target for spammers. Fortunately the newer versions have SpamLookup, a good tool to fight spam.

I haven't seen many comment spam blacklists around, so I thought I'd publish mine. My keyword list has a bunch of regular expressions that block lots of spam. Not everything, definitely, but most of the common stuff: porn, debt consolidation, pharmacy and so on. This is for SpamLookup, but works with any keyword filter that understands regular expressions.

Installing the list is simple: just copy-paste it to the SpamLookup keyword filter. These are pretty safe for junking comments, but if your blog discusses finance, pharmacy or sex, you'll need to remove some stuff, otherwise conversation will be severely stiffled. Non-English blogs have it easier here.

These are all regular expressions, as this gives so much more power to the keywords. For example, /free(\s*|-)porn/i is much better than free porn, as it will catch several forms more: freeporn, free-porn and free porn.

Any good suggestions? It's best to send those by email to msaari@iki.fi, because SpamLookup might just want to eat them... I'll try and update the list every now and then as spam trends shift.

11.03.2007 klo 15:18 | Be the first to comment | TrackBack (2)

My life: Lunch with John Buckman

Neat: I met John Buckman and his wife Jan, both very nice people. John is, of course, the mastermind behind Magnatune and, most importantly, BookMooch. It's pretty strange to meet people like that in your home town - this time the key was the Openmind conference.

And the world is a step smaller, again: it turns out that now I'm just one step away from Doris Lessing, as I have met Jan who knows her.

24.10.2006 klo 14:29 | Be the first to comment | TrackBack (0)

Culture: Free books

Do you want free books? Iain M. Banks' excellent scifi novels? Or the hard-boiled noir scifi of Richard Morgan? Or something else? I've got a bunch of books I'd like to give away, and they're completely free. I'll even pay the shipping costs to anywhere in the world.

What's the catch? Well, to get the books, you'll need to sign up with BookMooch and ask the books from me that way. If you do that, then I'll get paid few points for each book. I can then use the points to get new books. Everybody wins.

I've been using BookMooch for a while now and I'm very happy with it. I've sent out six books and received eight. I read a lot of English books, mostly science fiction, and the Finnish libraries aren't the best possible source for that kind of literature. BookMooch isn't free, but a lot cheaper than buying the books new. The selection is perhaps a bit erratic, but at least so far I've found a lot of interesting books, more than I can get right now. And of course, the selection grows larger all the time when new users join.

20.09.2006 klo 09:13 | Comments 5 comment(s) | TrackBack (0)

Geek stuff: TagSupplementals

If you're running Movable Type 3.31 with the new tag functionality, getting TagSupplementals should be pretty high on your list. The plugin adds several very useful tags; the MTRelatedEntries tag which displays related entries based on similar tags is particularly nice.

24.08.2006 klo 08:25

Geek stuff: Lingerie flood

You go to bed in good faith. Oh, sure, there was a spam comment on your blog, but hey, you can deal with it later. Wake up next morning and what do you see: over 300 bloody spam comments advertising lingerie...

Fortunately Movable Type had the good sense to moderate all those, so removing them took just minutes, not hours...

24.08.2006 klo 07:15 | Be the first to comment | TrackBack (0)

My life: Baby life

The boy is two months tomorrow. It's been a wild ride so far... Though to be honest, I think life's been easier than I expected. The nights haven't been bad - I have to wake up few times, but that's pretty small. So I sleep from nine to five instead of eleven to seven, that's minor.

It's been fun, that's for sure! The baby is a constant source of funny stuff. He's cute as a button and almost endlessly capable on strange noises and funny faces. That's very nice, except at three am when you'd rather be sleeping than listening to a grunting baby, but hey, it's all or nothing...

So yeah, I'd recommend this to others, as well - having a baby can be good fun. Particularly if you enjoy poop jokes and find farts and burping entertaining...

22.08.2006 klo 07:12 | Be the first to comment | TrackBack (0)