{"id":8542,"date":"2008-04-28T22:30:27","date_gmt":"2008-04-28T20:30:27","guid":{"rendered":"https:\/\/destinationcyber.com\/?p=8542"},"modified":"2008-04-28T22:30:27","modified_gmt":"2008-04-28T20:30:27","slug":"acces-a-plusieurs-moteurs-de-recherche-en-une-seule-page","status":"publish","type":"post","link":"https:\/\/destinationcyber.com\/?p=8542","title":{"rendered":"Acc\u00e8s \u00e0 plusieurs moteurs de recherche en une seule page"},"content":{"rendered":"<p>Le script suivant permettra aux personnes qui visiteront votre site, d&rsquo;effectuer une recherche sur une s\u00e9lection de moteurs de votre choix.<\/p>\n<p>Ainsi donc, vous inclurez le code suivant dans la section <HEAD> de votre page :<br \/>\n<code><br \/>\n<script language=\"JavaScript\"><br \/>\n function wordsplit(items)<br \/>\n <em><br \/>\n     var chartmp = \"\";<br \/>\n     for (var i = 1 ; i <= items.length ; i++)\n     <em><br \/>\n         if (items.substring(i-1,i) == \"  \")<br \/>\n         <em><br \/>\n             chartmp+=\"+\";<br \/>\n         <\/em><br \/>\n         else<br \/>\n         <em><br \/>\n             chartmp+=items.substring(i-1,i);<br \/>\n         <\/em><br \/>\n     <\/em><br \/>\n     return chartmp;<br \/>\n <\/em><\/p>\n<p> function search()<br \/>\n <em><br \/>\n     var motcle=document.Recherche.chainemot.value;<br \/>\n     var yahoo;<br \/>\n     var altavista;<br \/>\n     var webcrawler;<br \/>\n     var lycos;<br \/>\n     var excite;<\/p>\n<p>     key=wordsplit(motcle);<\/p>\n<p>         if(document.Recherche.yahoo.checked)<br \/>\n         <em><br \/>\n             yahoo=document.Recherche.yahoo.value;<br \/>\n             yahoo+=key;<\/p>\n<p>             wind=window.open(yahoo,\"newwindow1\",\"width=700,height=200,scrollbars=yes\");<br \/>\n         <\/em><br \/>\n         if(document.Recherche.altavista.checked)<br \/>\n         <em><br \/>\n             altavista =  document.Recherche.altavista.value;<br \/>\n             altavista+=key;<\/p>\n<p>          wind=window.open(altavista,\"newwindow2\",\"width=700,height=200,scrollbars=yes\");<br \/>\n          <\/em><br \/>\n         if(document.Recherche.webcrawler.checked)<br \/>\n         <em><br \/>\n             webcrawler =  document.Recherche.webcrawler.value;<br \/>\n             webcrawler+=key;<br \/>\n             wind=window.open(webcrawler,\"newwindow3\",\"width=700,height=200,scrollbars=yes\");<br \/>\n         <\/em><br \/>\n         if(document.Recherche.lycos.checked)<br \/>\n         <em><br \/>\n             lycos =  document.Recherche.lycos.value;<br \/>\n             lycos+=key;<\/p>\n<p>             wind=window.open(lycos,\"newwindow4\",\"width=700,height=200,scrollbars=yes\");<br \/>\n         <\/em><br \/>\n         if(document.Recherche.excite.checked)<br \/>\n         <em><br \/>\n             excite =  document.Recherche.excite.value;<br \/>\n             excite+=key;<\/p>\n<p>             wind=window.open(excite,\"newwindow5\",\"width=700,height=200,scrollbars=yes\");<br \/>\n         <\/em><br \/>\n <\/em><br \/>\n <\/SCRIPT><\/p>\n<p>  <\/code><br \/>\nMaintenant vous pouvez cr\u00e9er un formulaire de choix sur les diff\u00e9rents moteurs de recherche :<\/p>\n<p><code><br \/>\n<FORM NAME=\"Recherche\"><br \/>\n    Mot cl\u00e9 :<br \/>\n<INPUT TYPE=\"text\" NAME=\"chainemot\" SIZE=20><br \/>\n<b>Choix du moteur :<\/b><\/p>\n<p><INPUT TYPE=\"checkbox\" NAME=\"webcrawler\" VALUE=\"http:\/\/www.webcrawler.com\/cgi-bin\/WebQuery?searchText=\">WebCrawler<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"excite\" VALUE=\"http:\/\/www.excite.com\/search.gw?trace=a&#038;search=\">Excite<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"lycos\" VALUE=\"http:\/\/www.lycos.com\/cgi-bin\/pursuit?query=\">Lycos<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"yahoo\" VALUE=\"http:\/\/search.yahoo.com\/search?p=\"> Yahoo<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"altavista\" VALUE=\"http:\/\/www.altavista.digital.com\/cgi-bin\/query?pg=q&#038;what=web&#038;fmt=.&#038;q=\">Altavista<\/p>\n<p><INPUT TYPE=\"button\" VALUE=\"Go\" onClick=\"search()\"><\/p>\n<p><\/FORM><br \/>\n<\/code><br \/>\nExemple de cette r\u00e9alisation :<br \/>\n<code><br \/>\n<FORM NAME=\"Recherche\"><br \/>\n    Mot cl\u00e9 :<br \/>\n<INPUT TYPE=\"text\" NAME=\"chainemot\" SIZE=20><br \/>\n<b>Choix du moteur :<\/b><\/p>\n<p><INPUT TYPE=\"checkbox\" NAME=\"webcrawler\" VALUE=\"http:\/\/www.webcrawler.com\/cgi-bin\/WebQuery?searchText=\">WebCrawler<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"excite\" VALUE=\"http:\/\/www.excite.com\/search.gw?trace=a&#038;search=\">Excite<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"lycos\" VALUE=\"http:\/\/www.lycos.com\/cgi-bin\/pursuit?query=\">Lycos<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"yahoo\" VALUE=\"http:\/\/search.yahoo.com\/search?p=\"> Yahoo<br \/>\n<INPUT TYPE=\"checkbox\" NAME=\"altavista\" VALUE=\"http:\/\/www.altavista.digital.com\/cgi-bin\/query?pg=q&#038;what=web&#038;fmt=.&#038;q=\">Altavista<\/p>\n<p><INPUT TYPE=\"button\" VALUE=\"Go\" onClick=\"search()\"><\/p>\n<p><\/FORM><br \/>\n<\/code><\/p>\n<p>Fanch<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Le script suivant permettra aux personnes qui visiteront votre site, d&rsquo;effectuer une recherche sur une s\u00e9lection de moteurs de votre choix. Ainsi donc, vous inclurez le code suivant dans la section de votre page : Maintenant vous pouvez cr\u00e9er un formulaire de choix sur les diff\u00e9rents moteurs de recherche : Mot cl\u00e9 : Choix du [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_citadela_custom_class":"","footnotes":""},"categories":[11],"tags":[],"class_list":["post-8542","post","type-post","status-publish","format-standard","hentry","category-all-the-web"],"_links":{"self":[{"href":"https:\/\/destinationcyber.com\/index.php?rest_route=\/wp\/v2\/posts\/8542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/destinationcyber.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/destinationcyber.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/destinationcyber.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/destinationcyber.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8542"}],"version-history":[{"count":0,"href":"https:\/\/destinationcyber.com\/index.php?rest_route=\/wp\/v2\/posts\/8542\/revisions"}],"wp:attachment":[{"href":"https:\/\/destinationcyber.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/destinationcyber.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/destinationcyber.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}