加入 Google 搜尋
看了鳥哥網站的利用Google搜尋站內資料的方法很不錯,就在自己的Blog內加入,方法如下:
- 在所用模版的 panel.template 內,想要顯示的位置加入下面程序
- <div class="block">
<h5>Google search</h5>
<FORM method=GET action=http://www.google.com/custom>
<div id="search">
<INPUT TYPE=text name=q size=14 maxlength=200 value="">
<INPUT type=submit name=sa VALUE="Google 搜尋">
<input type=hidden name=cof value="">
<input type=hidden name=domains value="fhsh.tp.edu.tw">
<br>
<input type=radio name=sitesearch value="fhsh.tp.edu.tw" checked>
以 Google 系統搜尋復興高中網站資料
<br>
<input type=radio name=sitesearch value="">
直接以 Google 搜尋全球所有網站資料
</div>
</FORM>
</div> - 紅字部份改成要搜尋的網域
- 上面是仿照鳥哥的方法,可以用,為什麼不知道,去問鳥哥