Twitter @nelson Linkblog Search Archives 2015 12 11 10 09 08 07 06 05 04 03 02 01 2002 12 11 10 09 08 07 06 05 04 03 02 01 2001 12 11 10 09 08 07 One good site   Blog licensed under a Creative Commons License Scrambled words, stupid Blosxom tricks I read somewhere that you can read English even if the letters in each word are mixed up as long as the first and last letters are in the correct position. Try it! Read my scrambled blog. Sample: I raed swreemohe that you can raed Eignlsh eevn if the ltetres in each word are mexid up as long as the frsit and last lertets are in the crrcoet pooisitn. Try it! Raed my smrblaced blog. My blog software, Blosxom, is so hackable that it is straightforward to add a plugin to do this. Plugins even chain nicely, like this scrambled search for Perl. The code is quite a hack, using Perl Inline to let me write the actual text processing in Python like Rael's demo. There is one neat trick: Inline->bind() lets me defer the import of Python until it's actually needed, meaning there's no efficiency cost if the Python code isn't invoked. Update: thanks to Misha for fixing my mistake and pointing me to jwz's blog entry. tech • blosxom • plugins • wordscramble   2003-09-13 21:31 Z New Clicktrack plugin I've updated my clicktrack plugin to version 20030524. The plugin now doesn't URL escape the destination; makes it less obnoxious to copy and edit the URL. Boy I hate Perl. Why do I have to type ;, $, and @? Ugh. Python rulez!!1@! tech • blosxom • plugins • clicktrack 2003-05-24 17:59 Z Blosxom Plugin ASIN - Amazon Associates Yet another Blosxom plugin, ASIN. This one lets you write links in your entries like current music The asin plugin will turn it into the appropriate Amazon link. I was prompted to write this by Kottke's post about a change Amazon made to URL formats. Used to be you could go to Amazon, copy the URL for a page, paste it into your blog and slap on your associate ID and you'd get the credit. No more, now you have to construct the URLs very carefully. This plugin makes it simpler. I hope I got the URL format right. I'm sticking in the undocumented ref=nosim - I think it's obnoxious that Amazon defaults my links to 'buy more crap'. tech • blosxom • plugins • asin 2003-03-02 00:39 Z Blosxom Plug-ins: Clicktrack, new Imagesizer I've released a new Blosxom plugin, clicktrack. It rewrites URLs in your stories to go through a 302 redirect script so you can log clicks on your blog that go offsite. Yes, I'm running this on my own blog. There's also a new version of the imagesizer plugin to automatically add size tags to your story's images. Thanks to Todd for the Perl-fu to do this more cleanly. Finally, I now have a place for all my Blosxom plugins. Apache stylin! tech • blosxom • plugins • clicktrack 2003-03-01 18:08 Z ImageSizer Blosxom plugin, take 2 Todd was kind enough to patch my imagesizer Blosxom plugin so that it now handles stories with multiple images. If you're using it, try the update. tech • blosxom • plugins • imagesizer 2003-02-25 05:01 Z File plugin for Blosxom file is a Blosxom plugin that makes it easier to include dynamic content in your Blosxom blog. File loads the contents of files into variables. You can then use these variables in your Blosxom flavour templates. For example, the head.html for the sidebar on the left refers to a variable$file::quicktopic; the file quicktopic is rewritten every 15 minutes by a cron job to include the latest QuickTopic messages for my blog. tech • blosxom • plugins • file   2003-02-23 23:00 Z Image Size tags for Blosxom I hate having to specify the size of an image by hand in my HTML. Now I don't. imagesizer is a Blosxom plugin that will add width and height tags to your story images. It still has bugs, read the comments. Perl gives me a rash. tech • blosxom • plugins • imagesizer   2003-02-23 02:30 Z