ちょっとした提案なのですが、ここのフォーラム(
http://modxcms.com/forums/)で検索するときここのGoogleの検索フォームを利用しているのですが、日本語で絞り込めないので、japaneseカテゴリ内の関係ありそうなカテゴリをすべて目視でチェックしています。
そこで、
http://modxcms.com/forums/の日本語の投稿だけ絞り出せたらいいのにと感じています。
まあ、Googleの詳細検索でurlと言語を設定すればよい問題なのですが、毎回それを行うのも利便性が悪いので、
GoogleのAjax Search APIを利用して検索フォームを即興ですが作ってみました。
サンプルコード
<!--
copyright (c) 2009 Google inc.
You are free to copy and use this sample.
License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google AJAX Search API Sample</title>
<script src="http://www.google.com/jsapi?key=*API Keyを入れてください*"></script>
<script type="text/javascript">
/*
* How to restrict a search to a specific website.
*/
google.load('search', '1');
function OnLoad() {
// Create a search control
var searchControl = new google.search.SearchControl();
// Add in a WebSearch
var webSearch = new google.search.WebSearch();
// Restrict our search to pages from the Cartoon Newtowrk
webSearch.setSiteRestriction('http://modxcms.com/forums/');
// Set the language to ja
var extendedArgs = google.search.Search.RESTRICT_EXTENDED_ARGS;
webSearch.setRestriction(extendedArgs, {lr:'lang_ja'});
// Add the searcher to the SearchControl
searchControl.addSearcher(webSearch);
// tell the searcher to draw itself and tell it where to attach
searchControl.draw(document.getElementById("content"));
// execute an inital search
searchControl.execute('scooby doo');
}
google.setOnLoadCallback(OnLoad);
</script>
</head>
<body style="font-family: Arial;border: 0 none;">
<div id="content">Loading...</div>
</body>
</html>
日本語の公式で導入されてはいかがでしょうか?
別に日本語専用のフォーラムがあればなぁとも考えたのですが、フォーラム自体が乱立しても情報が分散するだけなので、日本語のみで絞り込める機能があればいいと思います。
いかがでしょうか。