IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Firefox Discussion :

Ajouter des moteurs de recherche personnels


Sujet :

Firefox

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    278
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juillet 2006
    Messages : 278
    Points : 132
    Points
    132
    Par défaut Ajouter des moteurs de recherche personnels
    Yop

    Il est possible de rajouterdes moteurs de recherches style "Imdb", "LiveSearch" en téléchargeant (installant) les xml dispo ici

    J'ai télécharger l'un deux pour voir un peu comment ca fonctionne!

    Par exemple, pour IMDb, le code XML est

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    OpenSearchDescription>
    <ShortName>IMDB</ShortName>
    <Description>IMDB Movie Search</Description>
    <InputEncoding>ISO-8859-1</InputEncoding>
    −
    	<Image width="16" height="16">
    data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGYUExURf//5PHr0v//d+7TXVFQTjY3N///efXYXvLfXv/4c/LWYvv69Pr00dK2QfPntvnuv+zn0byxZ/r25KuiXVRUTlVUTktLRzw8PrWnW/DTWv/8cubHTYuBSyMjI7isaGVgRFhVTeLFT1JRScCmOPv58u/p0/TWW56SUl1aVkdFQeXTicevSeDVp/TXXf/+4+/p0v7gX//5dODVpigoKeTYq/LVW1tZTjc3OxQUG//84fLr0u/p0PrjW+/TW5iNUkxKRuvly2BbROfOYPfsvv333khISmJfVP/74cKyafv54PHr0fPt0sO4a9bCaVZVUM+6WPXZTfXps8G1bPLWTbKkY/Lr0/PWWzk7Pzs7PNG2SvHTWtC1Sd3DVllUQv//duXJUufKUu7p0vPosLqsa7OlYOzRW//naqiaW//53//nYtnOnu7jsf3oY//ras2zSD4/QvHVXc66YOLHU/3997ipXTAvLUdFO7KkZSwuMf79+rSlX7CkXVpWRebhzJOIUN/Upy8wNPnz2uPIV/Ht3bCjY/fy2sq0UP////l+xa8AAADYSURBVHjaYmhHAwABxIAuABBAGAIAAcTQXszjyQAEepbuGS6N3O0AAcRQmcRhyMQWxyTFmZvGFa+lAhBADHzBNoJBwj7VcuqFKakJvCYAAcQQGJBTo2FhXsrSoMAq7x9pBBBADPzsmY5ussZlZiJKmvkS0ToAAcTgXGAQ6yfuai9WIRoRXpJXDxBADNnSalXlLckh6TIednW+ylkAAcTQ6qQoGaZrGmXLXNQUo93mDRBADO1CDtZejKFWjPqqiQK1ze0AAYThUoAAwhAACCAMAYAAwhAACDAAVrdghQaAW5AAAAAASUVORK5CYII=
    </Image>
    <ms:SearchForm>http://www.imdb.com/</ms:SearchForm>
    <Url type="text/html" method="GET" template="http://www.imdb.com/find?q={searchTerms}&sourceid=mozilla-search"/>
    </OpenSearchDescription>
    J'ai modifié le code pour rajouter un moteur de recherche pas trop connu, ca donne ca

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms="http://www.mozilla.org/2006/browser/search/">
    <ShortName>Harmony Central</ShortName>
    <Description>Harmony Central Search</Description>
    <InputEncoding>ISO-8859-1</InputEncoding>
    <Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGYUExURf//5PHr0v//d+7TXVFQTjY3N///efXYXvLfXv/4c/LWYvv69Pr00dK2QfPntvnuv+zn0byxZ/r25KuiXVRUTlVUTktLRzw8PrWnW/DTWv/8cubHTYuBSyMjI7isaGVgRFhVTeLFT1JRScCmOPv58u/p0/TWW56SUl1aVkdFQeXTicevSeDVp/TXXf/+4+/p0v7gX//5dODVpigoKeTYq/LVW1tZTjc3OxQUG//84fLr0u/p0PrjW+/TW5iNUkxKRuvly2BbROfOYPfsvv333khISmJfVP/74cKyafv54PHr0fPt0sO4a9bCaVZVUM+6WPXZTfXps8G1bPLWTbKkY/Lr0/PWWzk7Pzs7PNG2SvHTWtC1Sd3DVllUQv//duXJUufKUu7p0vPosLqsa7OlYOzRW//naqiaW//53//nYtnOnu7jsf3oY//ras2zSD4/QvHVXc66YOLHU/3997ipXTAvLUdFO7KkZSwuMf79+rSlX7CkXVpWRebhzJOIUN/Upy8wNPnz2uPIV/Ht3bCjY/fy2sq0UP////l+xa8AAADYSURBVHjaYmhHAwABxIAuABBAGAIAAcTQXszjyQAEepbuGS6N3O0AAcRQmcRhyMQWxyTFmZvGFa+lAhBADHzBNoJBwj7VcuqFKakJvCYAAcQQGJBTo2FhXsrSoMAq7x9pBBBADPzsmY5ussZlZiJKmvkS0ToAAcTgXGAQ6yfuai9WIRoRXpJXDxBADNnSalXlLckh6TIednW+ylkAAcTQ6qQoGaZrGmXLXNQUo93mDRBADO1CDtZejKFWjPqqiQK1ze0AAYThUoAAwhAACCAMAYAAwhAACDAAVrdghQaAW5AAAAAASUVORK5CYII=</Image>
    <ms:SearchForm>http://www.harmony-central.com/</ms:SearchForm>
    <Url type="text/html" method="GET" template="http://search.harmony-central.com/search?q={searchTerms}&amp;sourceid=mozilla-search"/>
    </OpenSearchDescription>
    mais comment faire pour "ajouter" le moteur une fois le XML constitué?

    D'avance merci.

    @+

    ted

  2. #2
    Expert éminent sénior
    Avatar de Auteur
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    7 650
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 7 650
    Points : 11 143
    Points
    11 143
    Par défaut
    bonjour,

    essaye de placer le fichier XML dans le dossier /Programmes Files/Mozilla Firefox/searchplugins. C'est là que se trouve les autres fichiers XML des moteurs de recherche.

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    278
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juillet 2006
    Messages : 278
    Points : 132
    Points
    132
    Par défaut
    Yop

    Merci

    @+

    ted

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. mots clés des moteurs de recherches
    Par ak_wassim dans le forum Web
    Réponses: 1
    Dernier message: 19/01/2008, 00h07
  2. Réponses: 2
    Dernier message: 02/05/2007, 17h07
  3. Réponses: 4
    Dernier message: 03/08/2006, 16h25

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo