- Author:
- Natim
- Posted:
- September 16, 2009
- Language:
- HTML/template
- Version:
- Not specified
- 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&client=firefox&hl={moz:locale}&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
- Bootstrap Accordian by Netplay4 5 years, 11 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 11 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 11 months ago
- Reusable form template with generic view by roldandvg 9 years ago
- Pagination Django with Boostrap by guilegarcia 9 years, 1 month ago
Comments
Please login first before commenting.