Google Co-op を利用した日本語化専用の検索エンジン。
http://www.google.com/coop/cse?cx=016940454354561894630:sqibkmvapkw
転送用の短縮 URL http://j.xworks.org/
このソフトを日本語化して欲しい! パッチ15 の 340 さんの
まとめWikiに日本語化ファイルを配布してるサイトのサイト内検索があると便利だと思ったことならある
というのを見て Google Co-op っていうのがあったよなぁ。試してみるか1)。といった感じで作成しました。
管理に関しては http://www.google.com/coop/profile?user=016940454354561894630 をご覧下さい。
Google Co-op に検索エンジンを作成する際に tag のような keywords を入力が求められたので Japanese, Patch, Localisation のように付けました。そして頭文字をとって JPL としておきました。適当です。 何か良い名称があればそちらに変更します。
以下のコードを利用することでサイトにこの検索エンジンを取り込むことが可能です。
Paste this code in the page where you'd like your search box to appear. The search results will be shown on a Google-hosted page.
<!-- Google CSE Search Box Begins --> <form id="searchbox_016940454354561894630:sqibkmvapkw" action="http://www.google.com/cse"> <input type="hidden" name="cx" value="016940454354561894630:sqibkmvapkw" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> <input type="hidden" name="cof" value="FORID:0" /> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_016940454354561894630%3Asqibkmvapkw"></script> <!-- Google CSE Search Box Ends -->
Paste this code in the page where you'd like your search box to appear.
<!-- Google CSE Search Box Begins --> <form id="searchbox_016940454354561894630:sqibkmvapkw" action="Specify the URL of the page on your site where you want the search results to appear: "> <input type="hidden" name="cx" value="016940454354561894630:sqibkmvapkw" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> <input type="hidden" name="cof" value="FORID:11" /> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_016940454354561894630%3Asqibkmvapkw"></script> <!-- Google CSE Search Box Ends -->
Place this code in the page you'd like your search results to appear. URL of search results page: http://
<!-- Google Search Result Snippet Begins --> <div id="results_016940454354561894630:sqibkmvapkw"></div> <script type="text/javascript"> var googleSearchIframeName = "results_016940454354561894630:sqibkmvapkw"; var googleSearchFormName = "searchbox_016940454354561894630:sqibkmvapkw"; var googleSearchFrameWidth = 600; var googleSearchFrameborder = 0; var googleSearchDomain = "www.google.com"; var googleSearchPath = "/cse"; </script> <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script> <!-- Google Search Result Snippet Ends -->
Paste this code in the page where you'd like your search box to appear. No JavaScript is used in this code, so it will work on myspace.com and other sites that don't support it.
<form id="searchbox_016940454354561894630:sqibkmvapkw" action="http://www.google.com/cse"> <input type="hidden" name="cx" value="016940454354561894630:sqibkmvapkw" /> <table> <tr> <td><input name="q" type="text" size="40" /></td> <td><input type="submit" name="sa" value="Search" /></td> </tr> <tr> <td colspan="2"><span style="font-family:Arial, Helvetica, sans-serif; font-size:83%">Google Custom Search</span></td> </tr> </table> <input type="hidden" name="cof" value="FORID:0" /> </form>
Syndicate your Custom Search Engine by adding this button to your webpage: Add to Google
When users click on the button your Custom Search Engine will be added to their personalized Google homepage as a Google Gadget.
<a href="http://fusion.google.com/add?moduleurl=http%3A%2F%2Fwww.google.com%2Fcoop/api/016940454354561894630/cse/sqibkmvapkw/gadget"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104" height="17" border="0" alt="Add to Google" /></a>
Advanced users: Want more control over your search results? The Google AJAX Search API provides even more flexibility in how you display and manipulate search results - check out some examples. Use your Custom Search Engine's unique identifier to connect with this API: 016940454354561894630:sqibkmvapkw