Site Search: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Google Site Search == | == Google Web/Site Search == | ||
=== search syntax === | |||
We want to search the 用戶體驗要素 at ptt.cc, we have two search syntaxes: | |||
# {{kbd | key = keywords site:domain.com}} e.g. 用戶體驗要素 site:ptt.cc | |||
# {{kbd | key = keywords site_name}} e.g. 用戶體驗要素 ptt | |||
=== 使用者 === | |||
站內搜尋工具: | |||
* [http://blog.planetoid.info/2015/05/google.html Google站內搜尋的瀏覽器按鈕] (bookmarklet) for {{Fx}}, {{Chrome}}, {{IE}} | |||
* [https://chrome.google.com/webstore/detail/cckcidchbmodjccllbmegoignhmidncg Omnibox Site Search] for {{Chrome}},在瀏覽的網頁網址列輸入 {{kbd | key=site 關鍵字}} 即可站內搜尋 (擴充套件) | |||
=== 網站開發者 === | |||
* '''新網站無法使用該服務''',先確認你的網站網頁已經有被Google列入索引中 ex: [http://www.google.com.tw/search?hl=zh-TW&rls=GGGL%2CGGGL%3A2006-27%2CGGGL%3Azh-TW&q=site%3Ahttp%3A%2F%2Fwiki.planetoid.info&btnG=%E6%90%9C%E5%B0%8B&meta= site:http://your.URL] | |||
=== Customize Google Site Search: 多個網域 === | * 申請[http://www.google.com/services/free.html The Google Free way goes your way]或[http://www.google.com/coop Google Co-op] | ||
==== Customize Google Site Search: 多個網域 ==== | |||
<pre> | <pre> | ||
<input type=hidden name=domains value="planetoid.info;wiki.planetoid.info"><br> | <input type=hidden name=domains value="planetoid.info;wiki.planetoid.info"><br> | ||
| Line 17: | Line 30: | ||
=== Customize Google Site Search: 解決中文問題 === | ==== Customize Google Site Search: 解決中文問題 ==== | ||
插入以下語法 | 插入以下語法 | ||
<pre> | <pre> | ||
| Line 27: | Line 40: | ||
效果請參考[http://planetoid.info/ planetoid.info] | 效果請參考[http://planetoid.info/ planetoid.info] | ||
== Yahoo Web/Site Search == | |||
* 參考[http://developer.yahoo.net/search/web/V1/webSearch.html Web Search Documentation for Yahoo! Search Web Services]。實例: [http://www.nctu.edu.tw/ 交大網站]的站內搜尋 | |||
<pre> | |||
<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> | |||
</pre> | |||
== site search syntax comparison of various search engines == | |||
[[Do search engines support#Do search engines support sites:domain.com?]] | |||
== Tools == | |||
* [https://chrome.google.com/webstore/detail/insite-search/kieffkegofmfpgbnkahdobhkbhijijgg/related InSite Search - Chrome 線上應用程式商店] | |||
== References == | |||
<references /> | |||
[[Category:Google]] [[Category:Search]] [[Category:Web_Dev]] | [[Category:Google]] [[Category:Yahoo]] [[Category:Search]] [[Category:Web_Dev]] [[Category:Blog]] | ||
Latest revision as of 11:41, 13 February 2022
Google Web/Site Search[edit]
search syntax[edit]
We want to search the 用戶體驗要素 at ptt.cc, we have two search syntaxes:
- keywords site:domain.com e.g. 用戶體驗要素 site:ptt.cc
- keywords site_name e.g. 用戶體驗要素 ptt
使用者[edit]
站內搜尋工具:
- Google站內搜尋的瀏覽器按鈕 (bookmarklet) for Firefox
, Chrome
, IE
- Omnibox Site Search for Chrome
,在瀏覽的網頁網址列輸入 site 關鍵字 即可站內搜尋 (擴充套件)
網站開發者[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?