<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Google custom search</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../tips.html">tips</a>/ </span> <span class="title"> Google custom search </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>Instead of the <a href="../plugins/search.html">search</a> plugin you could embed <a href="http://www.google.com/cse">Google Custom Search</a> for site search functionality.</p> <p><strong>Unfortunately</strong> you need <a href="../plugins/rawhtml.html">rawhtml</a> enabled.</p> <p>Once you've created your "custom search engine", just drop in the search box html like I've done in my <a href="http://dabase.com/tips/">Debian tips and tricks</a> <a href="http://git.webconverger.org/?p=faq.git;a=blob;f=tips.mdwn">source</a>.</p> <p>If you have odd "save failed" error messages in Google's CSE's control panel, try <code>/usr/lib/WebKit/GtkLauncher</code> from <a href="http://packages.qa.debian.org/w/webkit.html">webkit</a>.</p> <h1>Alternatively</h1> <p>You could use the <a href="../plugins/google.html">Google plugin</a> from version 2.67.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Sat Oct 18 13:21:24 2008</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>