2007-11-19 Oddmuse and Google Custom Search Engines

I recently replaced the search box for EmacsWiki with a Google Custom Search Engine. This is better than adding the site:emacswiki.org term because emacswiki.org/cgi-bin/emacs and emacswiki.org/cgi-bin/alex are two different sites. It is possible two create two different search engines and supply the appropriate URL patterns, and it seems to work.

=> replaced the search box | EmacsWiki | Google Custom Search Engine

Here’s a possible setup for your config file. Note how I removed the submit button and the fancy Javascript, and I deleted the id attribute for the form (because this form will appear at the top and at the bottom of every page). Also note the ugly hack of closing the span, printing a form, and opening a new span to have this all fit into a normal goto bar. Uuuugly. But it works. πŸ˜„

$UserGotoBar = qq{

Google:

};

​#Oddmuse ​#Google ​#Search

Proxy Information
Original URL
gemini://alexschroeder.ch/2007-11-19_Oddmuse_and_Google_Custom_Search_Engines
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
165.318927 milliseconds
Gemini-to-HTML Time
0.639777 milliseconds

This content has been proxied by September (3851b).