monkinetic weblog

Steve Ivy's Weblog - Since 1999 - XII Ed.

Plugin Test

I'm testing a new plugin I'm working on, please be patient.

|bill brown|

|pixel|

|nullgel|

|sir not-appearing-in-this-film|

This plugin works by looking in the post content for bits of text between |'s (vertical bars), then checking to see if that text is in your links database. If it is, it replaces the pipe-text-pipe combo with the text, linked to the URL in your links db. The above links, |bill brown|, |pixel|, and |nullgel|, are all in my blogroll links category, and are therefore linked to their respective sites. Sir not-appearing-in-this-film is not, so the pipes are stripped and the text returned unlinked.

Caveat: for now, the regex I'm using is /|([_a-zA-Z0-9-s]+)|/m, so no punctuation can be used in your link names. I consider this a bug, but have not worked out the regex yet. Grr. :–(

My name is Steve Ivy and I write about technology, the open web, social software, and general nerdity on monkinetic.com. You should follow me on Twitter or subscribe to this blog if you like what you're reading. I spend my days hacking Movable Type, python, Django, and various other efforts at Wallrazer. This is my personal site.