如何将Bing整合到我的网站中? [英] How to Integrate Bing in my website?

查看:132
本文介绍了如何将Bing整合到我的网站中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在网站上使用bing搜索,但不适用于我的网站.如果我在脚本中使用其他实时站点域名,则该域名适用于该站点.

以下是我使用的代码

Hi ,

I am using bing search in my web site but it''s not working for my website. If I am using other live site domain name in my script then it works for that site.

following is the code that I had used

<div id="WLSearchBoxDiv">
        <table cellpadding="0" cellspacing="0" style="width: 322px; height: 32px;">
            <tr id="WLSearchBoxPlaceholder">
                <td style="width: 100%; border: solid 1px #cccccc; border-right-style: none; padding-left: 10px;&lt;br mode=" hold=" /&gt;                    padding-right: 10px; vertical-align: middle;">
                    <input id="WLSearchBoxInput" type="text" value="Loading...">
                        disabled="disabled" style="background-image: url(http://www.bing.com/siteowner/s/siteowner/searchbox_background_k.png);
                        background-position: right; background-repeat: no-repeat; font-family: Arial;
                        font-size: 14px; color: #000000; width: 100%; border: none 0 transparent;" onclick="return WLSearchBoxInput_onclick()" /&gt;
                </input></td>
                <td style="border: solid 1px #cccccc; border-left-style: none; padding-left: 0px;&lt;br mode=" hold=" /&gt;                    padding-right: 3px;">
                    <input id="WLSearchBoxButton" type="image" src="http://www.bing.com/siteowner/s/siteowner/searchbutton_normal_k.gif">
                        style="border: none 0 transparent; height: 24px; width: 24px; vertical-align: top;" /&gt;
                </input></td>
            </tr>
        </table>
     </div> 
        <!-- Bing -->
        <script type="text/javascript" charset="utf-8">
            var WLSearchBoxConfiguration =
	{
	    "global": {
	        "serverDNS": "search.live.com",
	        "market": "en-GB"
	    },
	    "appearance": {
	        "autoHideTopControl": false,
	        "width": 600,
	        "height": 400,
	        "theme": "Yellow"
	    },
	    "scopes": [
			{
			    "type": "web",
			    "caption": "Search",
			    "searchParam": "www.sevavikasbank.com"
			}
			,
			{
			    "type": "web",
			    "caption": "Web",
			    "searchParam": ""
			}
		]
	}
	</script>
	<script type="text/javascript" charset="utf-8" src="http://search.live.com/bootstrap.js?market=en-GB&ServId=SearchBox&ServId=SearchBoxWeb&Callback=WLSearchBoxScriptReady"></script>
    <!-- Live Search --><!-- #EndLibraryItem -->



请给我一些建议或提供任何其他允许我搜索网站内容的代码.



please give me some suggestions or provide me any other code which allow me to search my site content .

推荐答案

hi,

请点击 http://www.bing.com/siteowner [


follow this link http://www.bing.com/siteowner[^]. this link will provide you step by step integration process.

Thanks


这篇关于如何将Bing整合到我的网站中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆