Needles in the Haystack

April 19th, 2006 § 0 comments

I decided the blog needed upgraded search capabilities, since Fletcher Penney’s find plugin just really wasn’t cutting it for me. So today I installed swish++, easily compiled and installed it, and after a quick perusal of the man page, indexed my web page in a matter of seconds. I then looked at Matthew Gregg’s swish plugin to blosxom and decided it needed some sprucing up. Namely, the search results needed to look more like google: sorted by rank (not by date), and divided up ten per page with navigation controls. So I hacked that in, along with a new blosxom search flavour. Here’s my version of the plugin; just type in something to the left in the search box to see what it produces. The new flavour templates use $swish::search in the head, $swish::rank in the story, and $swish::navigation in the foot. Hope someone finds this useful!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What's this?

You are currently reading Needles in the Haystack at levork.org.

meta

  • Pages

  • Archives

  • Categories

  • Twitter

    • Parents-in-law saw the wall of Lego today. They did not recoil in horror. This is why they're cool. (Maybe they blanched a bit. Still cool.)
  • Flickr