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
Next revisionBoth sides next revision
tips:google-cse [2015/09/02 23:21] – [Create a stand-alone search result page] Giuseppe Di Terlizzitips:google-cse [2015/09/02 23:31] 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&64 |}} 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
  
-<alert type="info"> +:!: NOTE: If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. 
-If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. + 
-</alert>+{{tag>dokuwiki tips google cse}}
  • tips/google-cse.txt
  • Last modified: 8 years ago
  • by Giuseppe Di Terlizzi