iT邦幫忙

DAY 4
12

Google搜尋密技與相關服務應用系列 第 4

用Google搜尋特定網站

用google來搜尋資料,通常只要你打對關鍵字,就能很快速的找到你要的資料。如果你已經知道你想要的資料就在某一個特定網站,那你要如何快速找出來呢?
Google有許多搜尋密技,只要你搜尋時打上適當的語法,就能讓搜尋效率事半功倍。
如果你想要搜尋的資料,就在某一個特定網站裡,那麼你只要善用〝site〞這語法就能將搜尋結果侷限在特定網站或者網站網域裡。

我們就以iT邦幫忙http://ithelp.ithome.com.tw/來實驗看看吧!
如果我想要找的東西在有「喇賽新平台」之稱的「我想和邦友們說」http://ithelp.ithome.com.tw/misc/talk/
那麼直接用iT邦內建搜尋找考試考完了,結果如下圖找不到東西:

如果我們直接在google搜尋考試考完了,會跑出數百萬筆的資料,想找出目標物就跟海底摸針一樣困難,這時就可以善用〝site〞這語法了。
我們可以輸入 考試考完了 site:http://ithelp.ithome.com.tw/ 或者 site:http://ithelp.ithome.com.tw/ 考試考完了 進行搜尋

一下子就能找到我們想找的東西喔


上一篇
Google Chrome
下一篇
用Google搜尋圖片
系列文
Google搜尋密技與相關服務應用32
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
0
kaiin323
iT邦高手 1 級 ‧ 2008-09-05 22:44:30

傻@@
我才剛回完留言進到這邊,
乍看之下還以為瀏覽器當機了勒
怎麼會重複我剛剛看到的畫面 哈XD

0
twnem
iT邦好手 1 級 ‧ 2008-09-06 04:00:17

Google 真是受用無窮
我都是把 Google 當作我的 "百寶箱"

0
planetoid
iT邦新手 1 級 ‧ 2008-09-06 09:23:15

Google站內搜尋的瀏覽器按鈕 (for Firefox v3.0 & IE v7)

可以在瀏覽該站時, 快速輸入或選取要站內搜尋的關鍵字

0
doz
iT邦好手 8 級 ‧ 2008-09-06 11:18:51

那個站內搜尋的確是不錯用

0
kuochiahao
iT邦研究生 1 級 ‧ 2008-09-08 09:41:03

謝謝分享

0
alexc
iT邦高手 1 級 ‧ 2008-09-10 16:05:16

site 那部分的語法可以更精簡一點:
site:ithelp.ithome.com.tw

0
海綿寶寶
iT邦大神 1 級 ‧ 2008-09-10 16:19:26

根據Google的說明

alexc 大的說法是正確的
只要輸入 site 名稱
不必輸入 URL

0
jamesjan
iT邦高手 1 級 ‧ 2008-09-10 17:29:47

Google 的機器人大軍,實在很驚人
難怪他們要強調

Don't be evil

0
davistai
iT邦大師 1 級 ‧ 2008-09-11 19:18:02

為了live 只好 evil~~

0
Ruei
iT邦研究生 1 級 ‧ 2008-09-20 13:01:19

因為 Google Toolbar 才認識這個搜尋指令的,自身用蠻兇的吧

0
rogerrhy
iT邦新手 1 級 ‧ 2008-10-01 16:51:02

可將此Code copy至您的網頁,將domainroote改為您的root網址即可!

<pre class="c" name="code">
<script type="text/javascript">
// Google Internal Site Search script- By JavaScriptKit.com 
//(http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript 
// Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Enter domain of site to search.
var domainroot="ithelp.ithome.com.tw"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

</script>
<form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)">

<p>站內搜尋:<br />
<input name="q" type="hidden" />
<input name="qfront" type="text" style="width: 150px" /> <input type="submit" value="搜尋" /></p>
</form>

我要留言

立即登入留言