Writers have the cleanest closets

Not the emptiest, mind you. That’s different.

RadioUserland had a feature I really loved. Well… it had several (and it’s craptasticular language wasn’t one of them.)

If you typed “a phrase in quotes” it would look through all of your blog post titles for that phrase. If it found it, it would automagically turn the quoted phrase into a link.

I was shopping around for a WordPressWiki plugin and came up with something called “Blicki” which doesn’t work and hasn’t worked in some number of versions. But I figured, how damn hard can php be?

It didn’t really have much that would help and a lot of the library functions it relied on in the WordPress codebase either aren’t there or don’t behave quite the same.

After about an hour and a half I have the thing done. With the comment header it’s 66 lines from and not so bad if I do say so myself; especially considering that it’s a first php effort.

I’m going to use it as a basis for expanding in to a full blown wiki plugin, so I’m not planning on dumping it out into the world at large in it’s v0.1 state.

But if anyone’s interested in it in the meantime, lemme know. I don’t see any reason not to shoot the file over.

Tags: , , ,

Leave a Reply