Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:google-cse [2015/09/02 23:20] – created Giuseppe Di Terlizzitips:google-cse [2016/03/18 11:21] (current) – [Create a stand-alone search result page] Giuseppe Di Terlizzi
Line 1: Line 1:
 ====== DokuWiki and Google CSE with a stand-alone search result page ====== ====== DokuWiki and Google CSE with a stand-alone search result page ======
  
-{{:wiki:dokuwiki-128.png?nolink&64 |}} Integrate the Google CSE (Custom Search Engine) in your DokuWiki installation with a stant-alone search result page (adapted from [[https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox|Google CSE - Implementing search box]]).+{{:wiki:dokuwiki-128.png?nolink&32 |}} Integrate the Google CSE (Custom Search Engine) in your DokuWiki installation with a stand-alone search result page (adapted from [[https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox|Google CSE - Implementing search box]]).
  
 ===== Add a CSE script ===== ===== Add a CSE script =====
Line 44: Line 44:
 Now you can trigger search results on this page by passing a ''q'' argument in the url: Now you can trigger search results on this page by passing a ''q'' argument in the url:
  
-http://example.org/dokuwiki/search?q=myQuery+  http://example.org/dokuwiki/search?q=myQuery
  
-:!: NOTE: If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option.+<callout type="tip" icon="true"> 
 +If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. 
 +</callout>
  
 +{{tag>dokuwiki tips google cse}}
  • tips/google-cse.1441228820.txt.gz
  • Last modified: 9 years ago
  • by Giuseppe Di Terlizzi