<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/search">

        <div style="background-color:white">

                <a href="http://www.google.com/">

                        <img src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google" />

                </a>

                <input type="text" name="q" size="31" maxlength="255" value="html" />

                <input type="hidden" name="ie" value="GB2312" />

                <input type="hidden" name="oe" value="GB2312" />

                <input type="hidden" name="hl" value="zh-CN" />

                <input type="submit" name="btnG" value="Google Search" />

                <input type="hidden" name="domains" value="http://www.speed.com/" />

                <br />

                <input type="radio" name="sitesearch" value=" " />

                <label for="sitesearch">搜索WWW</label>

                <input type="radio" name="sitesearch" value="www.speed.com" checked="checked" />

                <label for="sitesearch">搜索uuspeed</label>

        </div>

</form>

<!-- SiteSearch Google -->

<!-- Baidu Search -->

<form method="get" action="http://www.baidu.com/baidu">

        <div style="background-color:white">

                <img src="http://img.baidu.com/img/logo-137px.gif" border="0" alt="baidu" />

                <input name="word" size="30" maxlength="100" value="html" />

                <input type="submit" value="Baidu Search" />

                <br />

                <input name="tn" type="hidden" value="bds" />

                <input name="cl" type="hidden" value="3" />

                <input name="si" type="hidden" value="www.speed.com" />

                <input name="ct" type="hidden" value="2097152" />

                <input name="s" type="radio" checked="checked" />

                <label for="s">搜索uuspeed</label>

        </div>

</form>

<!-- Baidu Search -->

http://www.dreamdu.com/webbuild/google_search/点击打开链接

<form method=get action="http://www.google.com/search">
<input type=text name=q onfocus="if(this.value=='请输入关键词...') {this.value='';}this.style.color='#313131';" onblur="if(this.value=='') {this.value='请输入关键词...';this.style.color='#313131';}" value="请输入关键词..." x-webkit-speech lang="zh-CN" onwebkitspeechchange="foo()" x-webkit-grammar="bUIltin:search" >
<input type=submit name=btnG value="Google 搜索" >
<input type=hidden name=ie value=GB2312>
<input type=hidden name=oe value=GB2312>
<input type=hidden name=hl value=zh-CN>
<input type=hidden name=domains value="www.speed.com" >
<input type=hidden name=sitesearch value="www.speed.com">
</form>

资料http://blog.sina.com.cn/s/blog_5446a5800100jw1m.html点击打开链接

Google和Baidu的站内搜索代码的更多相关文章

  1. 一分钟加入google站内搜索代码

    一分钟加入google站内搜索代码| 一分钟加入google站内搜索代码|只有7行最精简.网上有很多 google 站内搜索代码,但是出于某些目的,很多都加入了多余的代码,从seo的角度来讲,是很不优 ...

  2. 完善dedecms站内搜索代码,为搜索结果添加第*页

    自那些平凡而伟大的程序猿开发了内容管理系统(cms),为了让看客们更快地找到自己感兴趣的内容,他们不断完善站内搜索代码,形成了一个小型的站内搜索引擎.可能有些网站模板设计师没考虑到seo的问题,很多站 ...

  3. 为帝国cms模板添加站内搜索小教程

    由于客户的需要,最近都在整帝国cms,很多东西还是不熟悉,特别是帝国cms模板,以前用的那些网站模板一般是保存在ftp文件中,而帝国cms模板是直接保存在数据库中,修改是在网站后台的模板管理,得慢慢适 ...

  4. 通过Google Custom Search API 进行站内搜索

    今天突然想把博客的搜索改为google的站内搜索,印象中google adsense中好像提高这个站内搜索的代码,但苦逼的是google adsense帐号一直审核不通过,所以只能通过google c ...

  5. Lucene.net站内搜索—3、最简单搜索引擎代码

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

  6. Google 宣布在 4 月 1 日关闭站内搜索

    今春,Google 计划终止又一项产品,它就是“站内搜索”(Site Search)功能.这项产品主要出售给 web 出版商,让它们可以在自家网站内运用业内领先的搜索技术.虽然该公司并未公开宣布此事, ...

  7. Lucene.net站内搜索—1、SEO优化

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

  8. 百度站内搜索https不可用切换api搜索,加上谷歌api站内搜索

    google推https几年了,百度开始宣传全面https,但是,百度站内搜索 自己的服务却不走https,接口报错.百度分享也是. 然后采用http://search.zhoulujun.cn/cs ...

  9. Lucene.net站内搜索—6、站内搜索第二版

    目录 Lucene.net站内搜索—1.SEO优化 Lucene.net站内搜索—2.Lucene.Net简介和分词Lucene.net站内搜索—3.最简单搜索引擎代码Lucene.net站内搜索—4 ...

随机推荐

  1. Eclipse设置之:代码注释/server 控制台输出乱码解决

    1           Eclipse设置 Configure clean up style The location is here: And the configuration should fo ...

  2. 压缩归档文件审查工具p7zip-full

    压缩归档文件审查工具p7zip-full   在数字取证中,会遇到各种形式的压缩文件和归档文件.为了处理这些不同的文件,Kali Linux提供了专用工具p7zip-full.该工具支持各种格式的压缩 ...

  3. HTTP错误405

    405 - 用来访问本页面的(方法不被允许) HTTP 错误 405 -禁止访问资源 HTTP 错误 405 405 不允许此方法 对于请求所标识的资源,不允许使用请求行中所指定的方法.请确保为所请求 ...

  4. POJ3070 Fibonacci[矩阵乘法]【学习笔记】

    Fibonacci Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 13677   Accepted: 9697 Descri ...

  5. BZOJ4255 : Keep Fit!

    首先旋转坐标系,把每个点可以接收的范围转化成一个正方形. 然后建立k-d tree,并记录下每个点在k-d tree上的位置. 对询问使用莫队算法,修改$O(\log n)$,查询期望$O(\log ...

  6. C++中如何访问全局变量和全局函数

    全局变量和全局函数是相对局部变量和局部函数而言的,不在{}或者for, if 等范围内的都是全局变量或者全局函数,最简单的是在同一个文件中去声明. 例如在mian.cpp中 #include < ...

  7. pygame系列_font游戏字体_源码下载

    在pygame游戏开发中,一个友好的UI中,漂亮的字体是少不了的 今天就给大伙带来有关pygame中字体的一些介绍说明 首先我们得判断一下我们的pygame中有没有font这个模块 if not py ...

  8. Codeforces Round #375 (Div. 2) F. st-Spanning Tree 生成树

    F. st-Spanning Tree 题目连接: http://codeforces.com/contest/723/problem/F Description You are given an u ...

  9. HDU 5832 A water problem 水题

    A water problem 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5832 Description Two planets named H ...

  10. HDU 5745 La Vie en rose 暴力

    La Vie en rose 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5745 Description Professor Zhang woul ...