Login

Search DjangoSnippets with Firefox

Author:
Natim
Posted:
September 16, 2009
Language:
HTML/template
Version:
Not specified
Tags:
xml firefox djangosnippets searchengine
Score:
5 (after 5 ratings)

You have to put this code in your searchengines Firefox folder in a file called djangosnippets.xml

After restarting Firefox, you will be able to seek DjangoSnippets very easily.

I also create a favicon.ico since djangosnippets.org didn't have one ...

Path example : /usr/lib/iceweasel/searchplugins/djangosnippets.xml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>DjangoSnippets</ShortName>
<Description>Google DjangoSnippets Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgLgMAJjkUACxAGgAnRi4AP2AwADNjWwB+hW4AQIiWAJOaiQBGnbkAtLquAFG76gDP08wA3N/dAPb59wAAAAAAMxMTMTExMiQQAAAAAAAAAwAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAa7u0AEwAAAI7G7gW5swAA3hDuAACVEADeIN4AObMAAI7Y7gO3EAAACO7uBbADAAAQAN4Am7MAAAAA7gAAAAAAAACqAAAAABAAAAAAAAASQhERERERESQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image>
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}+site:djangosnippets.org"/>
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}+site:djangosnippets.org"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/firefox</SearchForm>
</SearchPlugin>

More like this

  1. Firebug Lite Middleware by jfw 6 years, 4 months ago
  2. autotranslatslugify by Ciantic 7 years, 10 months ago
  3. Custom model field for Frame or Box by binishkaspar 4 years ago
  4. Display arbitrary models by bjornkri 6 years, 7 months ago
  5. Adding a field to a newform in __init__ by bram 7 years, 9 months ago

Comments

Please login first before commenting.