Skip to content

Instantly share code, notes, and snippets.

@aespinosa
Created May 7, 2012 19:32
Show Gist options
  • Save aespinosa/2629861 to your computer and use it in GitHub Desktop.
Save aespinosa/2629861 to your computer and use it in GitHub Desktop.
Mendeley Opensearch plugin. Install using 'window.external.AddSearchProvider("https://raw.github.com/gist/2629861/1b53261df1a907f26b36a84441d656035945f430/mendeley.xml")' from a DOM console
<?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/">
<!-- Created on Mon, 07 May 2012 19:29:45 GMT -->
<ShortName>Mendeley</ShortName>
<Description>Mendeley</Description>
<Url type="text/html" method="get" template="http://www.mendeley.com/research-papers/search/?query={searchTerms}"/>
<Image width="16" height="16">http://www.mendeley.com/favicon.ico</Image>
<Developer>Allan Espinosa</Developer>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>http://www.mendeley.com/research-papers/search/</moz:SearchForm>
<Url type="application/opensearchdescription+xml" rel="self" template="http://mycroft.mozdev.org/updateos.php/id0/mendeley.xml"/>
</OpenSearchDescription>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment