2004-11-21

Google 站內限定版

因為我在喵の卷看到了這個Google站內限定版(其實是懶的看英文 XD)
就問站長(喵)這個是怎麼產生的,想說他會丟給我一個網址然後我就會自己研究
沒想到喵就寫了這篇文章搜尋站內文章的 Google 欄
真的是太感謝了,謝謝喵~

googlesearch


根據我自己的研究,喵他所說的是這種 Google Free 只要去裡面打入些資料就可以產生一個屬於自己的Google
然後再貼回自己網站就可以了,這真的是相當的容易阿
可是,我現在並沒有想要做比較特別的樣式
因此在在產生自定的地方並沒有打上資料,然而產生出來的東西,竟然和Google所提供的基本款差不了多少
然後,我相比較之後就加上了我要得UTF-8和去掉了討厭的表格
若在這個搜尋器打入資料的話,就會產生下面這樣的結果
search01
而且喵他也有提過,這個站內限定版只能以domain來判定
也就是說會以www.neptunic.idv.tw來當做限定條件來決定要找的範圍
然而www.neptunic.idv.tw/blog就是不行的(若有辦法請告訴我)
Google的FAQ裡面就有寫到,用這個產生出來的結果和在搜尋時加上site:www.neptunic.idv.tw是會產生出一樣的結果的


順便附上我改過的版本


<!– Search Google –>
<center>
<FORM method=GET action=http://www.google.com/custom TARGET=_blank>
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<A HREF=http://www.google.com.tw/search TARGET=_blank >
<IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google align=middle></A>
<INPUT TYPE=text name=q size=13 maxlength=255 value="">
<INPUT type=hidden name=cof VALUE="S:http://www.neptunic.idv.tw/blog/index.php?blogId=2;AH:center;AWFID:0a416fb4f9686348;">
<input type=hidden name=domains value="www.neptunic.idv.tw"><br>
<input type=radio name=sitesearch value=""> Internet<input type=radio name=sitesearch value="www.neptunic.idv.tw" checked> T-Blog
<INPUT type=submit name=sa VALUE="Search">
</FORM>
</center>
<!– Search Google –>

0 comments: