Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tips:google-cse [2015/09/02 23:23]
Giuseppe Di Terlizzi
tips:google-cse [2016/01/15 23:28]
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
  
- +<callout type="warning"> 
-:!: NOTE: If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option.+=== Note === 
 +If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. 
 +</callout>
  
 {{tag>dokuwiki tips google cse}} {{tag>dokuwiki tips google cse}}
  • tips/google-cse.txt
  • Last modified: 5 years ago
  • by Giuseppe Di Terlizzi