Site Search

From LemonWiki共筆
Jump to: navigation, 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> 

Lijit Search[edit]

Lijit經由輸入RSS/OPML進行Blog, bookmarks, blogroll自訂搜尋


site search syntax comparison of various search engines[edit]

Question: is the site search syntax e.g. site:domain.com was supported by various search engines?


Google: Search operators - Search Help

  • support site:domain.com: yes
  • support site:sub.domain.com: yes(example)

Yahoo: Yahoo Search Engine Shortcuts

  • support site:domain.com: yes Icon exclaim.gif the search result also contains the URLs matches sub.domain.com e.g. the search result of site:yahoo.com also contains hk.yahoo.com, news.yahoo.com and so on.
  • support site:sub.domain.com: yes

百度一下

  • support site:domain.com: yes Icon exclaim.gif also contains the URLs matches sub.domain.com
  • support site:sub.domain.com: yes

Bing

  • support site:domain.com: yes Icon exclaim.gif also contains the URLs matches sub.domain.com
  • support site:sub.domain.com: yes

Gigablast - An Alternative Open Source Search Engine

  • support site:domain.com: yes Icon exclaim.gif also contains the URLs matches sub.domain.com
  • support site:sub.domain.com: yes

Ask.com - What's Your Question?

  • support site:domain.com: yes Icon exclaim.gif also contains the URLs matches sub.domain.com
  • support site:sub.domain.com: yes

Yandex 俄國搜尋引擎

  • support site:domain.com: yes Icon exclaim.gif also contains the URLs matches sub.domain.com
  • support site:sub.domain.com: yes

DuckDuckGo — Privacy, simplified. [Last visited: 2018-07-10]

  • support site:domain.com: yes[1] Icon exclaim.gif (1) also contains the URLs matches sub.domain.com (2) Number of indexing page is less than expected.
  • support site:sub.domain.com: yes


References[edit]