Fork me on GitHub



Make donations with PayPal!
Goal: $100.00
Due Date: Jul 31
Gross Amount: $15.00
Net Balance: $14.11
Left to go: $85.89

GPboarder  ($15)Jul-13

Learn XOOPS Core

Local Support


XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse admin Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield Blocks Bootstrap By Captcha cell chronolabs CHUNG Cloud content CĂN demo Digitally download Dresses facebook Fat Food for free Gateway Google Guide herre Honeypot HP Human HỘ IP iPhone jQuery Language Law Legal List Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry Signed Signup site Smartphone Smarty Solution Spam Studio tag tags tdmcreate The Theme themes userlog web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 138253


Welcome to XOOPS!


News archives

SpeechSearch V1.0

Posted by geekwright on 2013/2/28 12:51:00 (3829 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 16:54 • Updated: 2013/2/28 16:54
Very cool! We need more of these things, helping XOOPS to take advantage of the external APIs.
Published: 2013/2/28 17:15 • Updated: 2013/2/28 17: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 17:21 • Updated: 2013/2/28 17: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 20:44 • Updated: 2013/3/2 20:44