Related Search Test Bed

This is a simple test bed for the related search functionality. To create a related search box you simply have to plugin the right <script> tags and wrap a simple <abbr> tag with a few options:

<abbr class="searchterm [using:news] [withstyle:expanded] [orderby:relevance]" title="search terms to search for">optional content</abbr>

Default search for ajax

This isn't wrapping a term, so a small button will be shown instead.
<abbr class="searchterm" title="ajax" />

News search for ajax

Wow this is a great entry posting on Ajax. The link above is created via:
<abbr class="searchterm using:news" title="ajax">Ajax</abbr>

Blog search with the expanded style

This search explicitly uses blog search and gives expanded search results.
ajax search using blog with style expanded
<abbr class="searchterm using:blog withstyle:expanded" title="ajax">Ajax</abbr>

Blog search with the expanded style ordered by relevance

This uses all of the options to give you results related to Ajax.

To play nice with non-JavaScript you can use a title of 'search for YOURTERM' and we strip out the 'search for'. This means that the mouseover for non-JavaScript will be at least readable.

<abbr class="searchterm using:blog withstyle:expanded orderby:relevance" title="search for ajax">Ajax</abbr>