Rev 1343 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*** @author mathias* Marche pas car l'exécution de ce bout de PHP est renvoyée par le serveur comme du HTML, ça rajoute des balises etc.* Soit faut le passer en Webservice, soit faut... je sais pas :)*/$page = 'eflore_bdtfx';if (isset($_GET['page'])) {$page = $_GET['page'];}$referentiel = 'bdtfx';if (isset($_GET['referentiel'])) {$referentiel = $_GET['referentiel'];}echo '<?xml version="1.0" encoding="UTF-8"?><OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ie="http://schemas.microsoft.com/Search/2008/"><ShortName>eFlore ' . strtoupper($referentiel) . ' : noms scientifiques</ShortName><Description>flore électronique en ligne</Description><Image height="16" width="16" type="image/ico"> http://resources.tela-botanica.org/tb/img/16x16/favicon.ico </Image><Url type="text/html" method="GET" template="http://www.tela-botanica.org/page:' . $page . '?type_nom=nom_scientifique&referentiel=' . $referentiel . '&niveau=2&module=recherche&action=rechercheSimple&submit=OK&nom={searchTerms}"/><Language>fr</Language><developer>Tela Botanica</developer><InputEncoding>UTF-8</InputEncoding><Url type="application/opensearchdescription+xml" rel="self" template="http://www.tela-botanica.org/eflore/consultation/configurations/OpenSearchParReferentiel.php?page=' . $page . '&referentiel=' . $referentiel . '"/><Url type="application/x-suggestions+json" rel="self" template="http://api.tela-botanica.org/service:eflore:0.1/' . $referentiel . '/noms?masque={searchTerms}&recherche=etendue&retour.format=oss&navigation.limite=50"/></OpenSearchDescription><!-- configuration du moteur de recherche intégré au navigateur -->';?>