Bonjour a tous
j'ai essayé de mettre un pluggin opensearch sur mon site mai j'ai un probleme
quand je veux l'activer j'ai un message d'erreur
De plus quand je demande a mon navigateur de m'affiche la page opensearch.xml j'ai ceci :
Erreur d'analyse XML : préfixe non limité à un espace de noms
Emplacement :
http://www.monsite.net/opensearch.xml
Numéro de ligne 9, Colonne 1 :
<moz:SearchForm>http://www.monsite.net/</moz:SearchForm>
^
voici le fichier opensearch.xml
1 2 3 4 5 6 7 8 9 10
| <OpenSearchDescription>
<ShortName>monsite</ShortName>
<Description>monsite</Description>
<InputEncoding>iso-8859-1</InputEncoding>
<Image width="16" height="16" type="image/png">http://www.monsite.net/image.png</Image>
<Url type="text/html" method="get" template="http://www.monsite.net/recherche.php?words={searchTerms}"/>
<Url type="application/x-suggestions+json" method="get" template="http://www.monsite.net/recherche.php?words={searchTerms}"/>
<Url type="application/opensearchdescription+xml" rel="self" template="http://www.monsite.net/opensearch.xml"/>
<moz:SearchForm>http://www.monsite.net/</moz:SearchForm>
</OpenSearchDescription> |
et j'ai mis ceci dans ma page php
<link rel="search" type="application/opensearchdescription+xml" href="http://www.monsite.net/opensearch.xml" title="monsite" />
J'ai essayé divers tuto ça marche pas, j'ai donc trouvé un site sur lequel ça marchait et j'ai repris le code mais moi j'ai encore une erreure.
Merci de votre aide
Partager