Ok, got this working with a bit of javascript.
Check
http://www.zoologia.bio.br/dicts.html.
Feel free to combine those forms, make'em pretty, etc.
My part of the job is being released to the Public Domain and I'm not liable for copyright violations or any kind of damage or mass destruction resulting from the use of this code
Now...
I guess this could be done very quickly in PHP (perhaps with XOOPSForm
) so that people with javascript off (do they still make those?) could use the service.
Perhaps this could result in a nice module:
A "Search" block, a stats one, and an admin interface with blacklisted words and stats info. Ideally, tons of search engines/databases/dictionaries should be included, with all sorts of
search-engine-specific functions, and the admin would set which ones are available (user options to search using more than one would be nice). An interface to add your own search engines would be cool, but would have to be very foolproof.
The module could count queries (like in MyLinks visit.php) and have statistics of the most popular words, most searchy users
, preferred engines, etc. Oh, and if there's a way to include referrer info in the queries*, people searching from your site would be spreading your url on referrer lists
*Just tried it... how about sending searches like
Quote:
?
I know I would spot this kind of thing on my server logs