Voice Controlled Search




Webkit Speech


Using Webkit Speech to create voice controlled Search in Google Sites.

Supported webkit Browsers required.

Chrome, Safari etc...

Add the Form HTML like the following to your Google Site , modify the highlighted html code for your specific Google Site search URL.

https://sites.google.com/site/... + sitename

.../system/app/pages/search 


Voice control with Google Sites built in Search


<form xmlns="http://www.w3.org/1999/xhtml" action="http://www.goopal.org/system/app/pages/search" target="blank">
<input name="scope" type="hidden" value="search-site" />
<input name="q" size="30" type="text" value="Click the Mic and Speak!" x-webkit-speech onwebkitspeechchange="this.form.submit();" /></form>



Voice Control with Google Sites System CSE


<form action="http://www.goopal.org/system/app/pages/customSearch" target="_Blank"> <input type="text" dir="" name="q" size="20"> <input type="hidden" name="scope" value="cse-goog_1871504516">  <input name="q" size="30" type="text" value="Click the Mic and Speak!" x-webkit-speech onwebkitspeechchange="this.form.submit();" /></form>




Backwards Compatibility 


Add a Submit Button for users that do not have webkit supported browsers. So the form HTML can also be used as a normal search form.

... <input type="submit" value="Search"> </form>