Sunday, April 29, 2007

Google Co-op

http://www.redmonk.com/cote/2007/01/26/redmonk-google-co-op-opensearch-search-plugin-for-firefox/
http://developer.mozilla.org/en/docs/Adding_search_engines_from_web_pages
http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox#Autodiscovery_of_search_plugins


Enregistrer votre engin de recherche dans Firefox:
1- http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox
2- http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox#Autodiscovery_of_search_plugins
3- http://developer.mozilla.org/en/docs/Adding_search_engines_from_web_pages

OpenSearch XML:


<opensearchdescription xmlns="http://a9.com/-/spec/opensearch/1.1/" moz="http://www.mozilla.org/2006/browser/search/">
<shortname>Search Java and Open Source Resources</shortname>
<description>Use this custom Google search to get custom search results on the Java and Open Source world</description>
<inputencoding>inputEncoding</inputencoding>
<img src="" height="16" width="16" />data:image/jpeg;base64,%2F9j%2F4AAQSkZJRgABAQEASABIAAD%2F4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD%2F%2FgAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q%2F9sAQwABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB%2F9sAQwEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB%2F8AAEQgAFQB4AwEiAAIRAQMRAf%2FEAB4AAQACAQQDAAAAAAAAAAAAAAAICQYDBAUHAQIK%2F8QAMRAAAQQBAgQGAAQHAQAAAAAABAECAwUGAAcREhMWCBQVZaTkUVSU0yMlNVZ0lrPV%2F8QAGwEAAgMBAQEAAAAAAAAAAAAAAAQCAwUBBgf%2FxAAxEQACAQIDBQcEAQUAAAAAAAABAgMEEQAFEhMUIaLSBiIxQVFSUwcWMkIVI2FicXL%2F2gAMA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yz000lH2nq4tWmJW1AA65Ha1jcWuOBv5jy4eF8MNk8DWuxFvRFHjw428eHr6%2BuK%2FINt84gvhTC8eZ2%2FAHMpkCYzLEvURsrmP6bwTJGNji4sfE8syV0zxp0tY2gzssWp7WX9OP%2Fwiv%2BEmmtCn7QVFUpZ4kQx2QbN2W4Heu3Di1z4%2F69LYRqMrhhKhWJDam7yqbeAsPQcMYSBmPICE307jyiDN4%2Bc4ceWFiceHlV4ceH463feftvzPq6aayGoqbU39PzP7yev%2FAHjRSom0L3%2F1X9V9B%2Fjh3n7b8z6uneftvzPq6aa5uVN8XPJ14lvE3v5V6cO8%2FbfmfV07z9t%2BZ9XTTRuVN8XPJ14N4m9%2FKvTh3n7b8z6uneftvzPq6aaNypvi55OvBvE3v5V6cO8%2FbfmfV07z9t%2BZ9XTTRuVN8XPJ14N4m9%2FKvTh3n7b8z6uneftvzPq6aaNypvi55OvBvE3v5V6cO8%2FbfmfV07z9t%2BZ9XTTRuVN8XPJ14N4m9%2FKvTjaH5jzgmt9O4cwhLePnOPDmhenHh5VOPDj%2BOmmmtCjpYFRwsdrt7nPkPVjhGrmkLJdvI%2BS%2Bo%2Ftj%2F9k%3D
<url type="text/html" method="get" template="http://www.cinformatique.com/CustomGoogleResults">
<param name="cx" value="001075432819750613304%3Ahki8r_xns14">
<param name="q" value="{searchTerms}">
<param name="sa" value="Search">
<param name="cof" value="FORID%3A11">
<param name="client" value="ca-pub-5630128170120143">
</url>
<url type="application/x-suggestions+json" template="suggestionURL">
<moz:searchform>http://www.cinformatique.com/CustomGoogleResults?cx=001075432819750613304%3Ahki8r_xns14</moz:searchform>
</url>
</opensearchdescription></pre>
</code>



Javascript supporté par FireFox 2.0 et IE 7:


<script type="text/javascript">
window.external.AddSearchProvider('http://www.cinformatique.com/OpenSearchJava.xml');

</script>



www.CInformatique.com

No comments: