The method described in this post is suitable for non-developers.
For those who don’t know what “blended search results” is, it is search results from a different source merged into your regular results. On Bing and Google you often see news in addition to images and videos blended with the regular web hits. The method is used to keep apples from oranges, (or fruit cakes from gingerbread men in these x-mas times), so the end-user can more easily digest the search result.
In the image below, Bing has inserted image hits between hit #3 and #4 of the web results.
For this example the main content will be crawled content from http://www.comperiosearch.com and the blended content will be web content from Bing.
On your search center page drop in a new Core Results Web Part into the right hand column and name it for example “News Results”. SharePoint already have a Search Location for “Internet Search Results” defined so we will use this. This is an Open Search definition and you can also create and upload your own towards other Open Search providers. You find this under “Federated Locations” on your Search Query SSA in Central Admin. We will limit the results to 3 items.
The next step is to modify the XSL of the web part. Uncheck “Use Location Visualization” and click the “XSL Editor…”
Locate <xsl:template name="MainTemplate" > inside the xsl and append the following xsl after the line <div class="srch-results" >
This will link in jQuery from a CDN repository, and once the page is loaded the news search in the right column is moved with jQuery from the right column to after the third hit in the standard core results web part. The content is indented by 20 pixels, and the background is set to gray like seen on the image below.
(If you have fewer than three main results you need to modify the code for it to work)
In order for this to look better I would either need to do more jQuery magic, or change the xsl of the news results so that it renders it properly.
With an extra web part and a few lines added to an xslt, we have achieved blended results.
[Also postet at http://nuggets.comperio.no]