Fork me on GitHub



Make donations with PayPal!
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

GitHub Twitter

Learn XOOPS Core

Local Support


XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 admin adslight Android AntiHarvesting AntiSpam API Apple Battlefield billige Blocks Bootstrap Captcha cell cent chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat floor Gateway giải Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List log Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Plugin Prevention profile project Protector publisher RESIDENCE responsive review Rights Room security Sentry Signed site Smartphone Smarty Smoking Solution Spam stem Studio support tag tdmcreate The Theme themes User userlog weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 139412


Welcome to XOOPS!


News archives

SpeechSearch V1.0

Posted by geekwright on 2013/2/28 13:51:00 (4577 reads) | Posted on Modules
SpeechSearch adds a search block to XOOPS which can accept input using the Web Speech API included in Google Chrome as of version 25. On compatible systems, the block will include a microphone icon which will launch the speech recognition, and send the results to the standard system search routines. On systems that don't support the API, it will quietly degrade to mimic the normal system search block.

The Google recognizer handles a wide variety of languages and dialects which you can choose in the block editor. In addition to the cool toy appeal, this has significant accessibility enhancement potential. There are even greater potentials when this API makes its way into the mobile browsers.

Download the SpeechSearch module here:

Printer friendly page Send this story to a friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

Very interesting - works great even in Hebrew !!!
Published: 2013/2/28 17:54 • Updated: 2013/2/28 17:54
Very cool! We need more of these things, helping XOOPS to take advantage of the external APIs.
Published: 2013/2/28 18:15 • Updated: 2013/2/28 18:15
For those (like me) that don't want the block content in non-chrom browsers:

edit / modules/speechsearch/templates/blocks/speechsearch_block.html

change the lines

<div class="txtcenter">
form id="speech_search_form" style="margin-top: 0;" action="<{xoAppUrl search.php}>" method="get">
input id="search_query" type="text" name="query" size="14" />
input type="hidden" name="action" value="results" />
button id="start_button" onclick="startButton(null);" type="button" title="<{$block.lang_mic_alt}>" style="border: 0; background-color:transparent; padding: 0;"><img id="start_img" src="<{xoAppUrl modules/speechsearch/images/mic.gif}>" alt="<{$block.lang_mic_alt}>" style="vertical-align:text-top;"></button>
br /><input type="submit" value="<{$block.lang_search}>" />
$block.show_advanced}><a href="<{xoAppUrl search.php}>" title="<{$block.lang_advsearch}>"><{$block.lang_advsearch}></a><{/if}>


if (
navigator.userAgent.indexOf('Chrome')!= -1) {
document.write("<div class="txtcenter"><form id="speech_search_form" style="margin-top0;" action="<{xoAppUrl search.php}>" method="get"><input id="search_query" type="text" name="query" size="14" /><input type="hidden" name="action" value="results" /><button id="start_button" onclick="startButton(null);" type="button" title="<{$block.lang_mic_alt}>" style="border0background-color:transparentpadding0;"><img id="start_img" src="<{xoAppUrl modules/speechsearch/images/mic.gif}>" alt="<{$block.lang_mic_alt}>" style="vertical-align:text-top;"></button><br /><input type="submit" value="<{$block.lang_search}>" /></form><{if $block.show_advanced}><a href="<{xoAppUrl search.php}>" title="<{$block.lang_advsearch}>"><{$block.lang_advsearch}></a><{/if}></div>")
document.write(" ")

Published: 2013/2/28 18:21 • Updated: 2013/2/28 18:21
very interesting.
I even didnt aware of such a API in chrome.
It would be a revolution in Mobile Aps.
thank you.
Published: 2013/3/2 21:44 • Updated: 2013/3/2 21:44