Site Search

From LemonWiki共筆
Jump to navigation Jump to search

Google Web/Site Search[edit]

search syntax[edit]

We want to search the 用戶體驗要素 at ptt.cc, we have two search syntaxes:

  1. keywords site:domain.com e.g. 用戶體驗要素 site:ptt.cc
  2. keywords site_name e.g. 用戶體驗要素 ptt


使用者[edit]

站內搜尋工具:

網站開發者[edit]

  • 新網站無法使用該服務,先確認你的網站網頁已經有被Google列入索引中 ex: site:http://your.URL



Customize Google Site Search: 多個網域[edit]

<input type=hidden name=domains value="planetoid.info;wiki.planetoid.info"><br>
<input type=radio name=sitesearch value=""> Search WWW 
<input type=radio name=sitesearch value="planetoid.info" checked> Search planetoid.info 
<input type=radio name=sitesearch value="wiki.planetoid.info">Search wiki.planetoid.info

參考: How many domains can I search across? 將不同網域用半形分號(semi-colon)間隔


Customize Google Site Search: 解決中文問題[edit]

插入以下語法

<input type=hidden name="ie" value="utf-8">
<input type=hidden name="oe" value="utf-8">


效果請參考planetoid.info

Yahoo Web/Site Search[edit]

<form method="get" action="http://tw.search.yahoo.com/search"> 
<img src="http://tw.i1.yimg.com/tw.yimg.com/i/tw/search/tw.gif" border="0" height="26" width="80">
<input name="p" value="" size="8" type="text"> 
<input name="ei" value="big5" type="hidden"> <input name="fr" value="" type="hidden"> 
<input name="meta" value="web*vs=planetoid.info" type="hidden"> </form> 

site search syntax comparison of various search engines[edit]

Do search engines support#Do search engines support sites:domain.com?

Tools[edit]

References[edit]