Skip to content

Instantly share code, notes, and snippets.

@bkonkle
Created May 4, 2011 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bkonkle/955321 to your computer and use it in GitHub Desktop.
Save bkonkle/955321 to your computer and use it in GitHub Desktop.
Django.me search provider for Firefox
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Django.me</os:ShortName>
<os:Description>Search Django.me</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jaWTvUtCYRSH+5/M24dFQ+q1D2kI2hrTawmB1NISgS4WRktDRYZEU1DQB1RDVBAFTQ1BwYXQGoog0pup1/d9WtQgM2924CzvOe8D55zfr2k6HsXmczaU0/EoTfWa7H43dr+7Zv1XQNtoD1JKhBAomkq+kMc0TRzBfmuA9rFeJCClRNFUhBQA1gDdoUHcE0OUQ9FUOoJeOoPe2iPYNTeL23GeX1/4HoqmkjYyZLIGjmDfz4CFzSUAzKLJ1ukeq/sbFIWoAIQoj1ADoD/eA7Cyu155yxXyX4B6O3gz0gBMLUcaA9yldAB2zg+rAC0BD0LK3wHhxHxlacmnB671G2TpU9f4QKXWOtpT+4wza3PcpXSKoghANvfBbVJnODIGgJF9t6bEZr+LloCnJGcXR1cnAJxdX1iXss3nRNFUDi6PARBSoMUm/wYoeyKciDEyG6o203/t/An332rBvCVygAAAAABJRU5ErkJggg==</os:Image>
<SearchForm>http://django.me/</SearchForm>
<os:Url type="text/html" method="GET" template="http://django.me/{searchTerms}"></os:Url>
</SearchPlugin>

Github does a good job sanitizing public links, so I can't add a "javascript:addProvider" link here. Kudos to Github!

Unfortunately, that makes the job of installing this a bit harder. Download the raw XML file above, and add it to your Firefox profile directory, under the searchplugins subdirectory. Restart Firefox, and you should be set!

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