Search ~ Custom Bing

June 2009

The code to produce the different 'search types' is shown below.

var WLSearchBoxConfiguration=
{
    "global":{
        "serverDNS":"www.bing.com",
        "market":"en-AU"
    },
    "appearance":{
        "autoHideTopControl":false,
        "width":600,
        "height":400,
        "theme":"Blue"
    },
    "scopes": [
        {
            "type": "web",
            "caption": "this site",
            "searchParam": "site:conceptdevelopment.net"
        }
        ,
        {
            "type": "web",
            "caption": "ConceptDev Blog",
            "searchParam": "site:conceptdev.blogspot.com"
        }
        ,
        {
            "type":"web",
            "caption":"Web (Australia)",
            "searchParam":"loc:AU"
        }
        ,
        {
            "type":"web",
            "caption":"Web (all)",
            "searchParam":""
        }
    ]
}
It seems like the caption can be ASCII text, but if you are planning on using any special characters they should be encoded (香).
Useful links www.bing.com/siteowner