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
tips:google-cse [2015/09/02 23:22]
Giuseppe Di Terlizzi
tips:google-cse [2016/03/18 11:21]
Giuseppe Di Terlizzi [Create a stand-alone search result page]
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="tip" icon="true">
 +If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option.
 +</callout>
  
-:!: NOTE: If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. +{{tag>dokuwiki tips google cse}}
- +
-{{tag>dokuwiki tips cse}}+
  • tips/google-cse.txt
  • Last modified: 5 years ago
  • by Giuseppe Di Terlizzi