Skip to content

Instantly share code, notes, and snippets.

@austing
Last active February 14, 2022 20:30
Show Gist options
  • Save austing/f3a78a4fa181c54ed91cf74c88a6767d to your computer and use it in GitHub Desktop.
Save austing/f3a78a4fa181c54ed91cf74c88a6767d to your computer and use it in GitHub Desktop.
Add Firefox search for cnrtl etymologie
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html -->
<ShortName>CNRTL Etymologie</ShortName>
<Description>CNRTL Etymologie Recherche</Description>
<Url type="text/html" method="get" template="https://cnrtl.fr/etymologie/{searchTerms}"/>
<Image width="16" height="16" type="image/x-icon">https://cnrtl.fr/favicon.ico</Image>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>https://cnrtl.fr/etymologie/</moz:SearchForm>
<moz:UpdateUrl>https://cnrtl.fr/etymologie/opensearch.xml</moz:UpdateUrl>
<moz:IconUpdateUrl>https://cnrtl.fr/favicon.ico</moz:IconUpdateUrl>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
@austing
Copy link
Author

austing commented Feb 14, 2022

Based on https://gist.github.com/doyousketch2/566fd6469cf0839f900e1b725518bd76.

Add in head:

<link rel="search" type="application/opensearchdescription+xml" title="CNRTL Synonymie" href="https://gist.githubusercontent.com/austing/f3a78a4fa181c54ed91cf74c88a6767d/raw/8a1c65c4551e2dcaca0f5d68dc7ccfa2c0f69e2e/etymologie-opensearch.xml">

<link rel="search" type="application/opensearchdescription+xml" title="CNRTL Synonymie" href="https://gist.githubusercontent.com/austing/f3a78a4fa181c54ed91cf74c88a6767d/raw/11d18ba194376591849ec1c2db5ad42f9e6aeb93/etymologie-opensearch.xml">

@austing
Copy link
Author

austing commented Feb 14, 2022

Only one of the two, either cnrtl synonymie or cnrtl etymologie, will work at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment