Tux

...making Linux just a little more fun!

2-Cent Tip: LG search plugin

Ben Okopnik [ben at linuxgazette.net]


Wed, 19 Nov 2008 20:22:34 -0500

If you use Firefox, you're probably addicted to its oh-so-nifty little search bar (how did we ever live without those?) What you may not know, though, is that you can add your own entries to that pull-down list - all you need is a properly-formatted search URL, a bit of XML and maybe a Base64-encoded icon. So, for those of you who want to search LG in the easiest way possible, here it is; save it as '~/.mozilla/firefox/<profile>/searchplugins/lg.xml', restart Firefox, and enjoy!

<SearchPlugin
  xmlns="http://www.mozilla.org/2006/browser/search/"
  xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>LG</os:ShortName>
<os:Description>LG</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">
  data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAQAEAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA////AAC//wBt7vkAAEBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAA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QDAwMEAgICAgIEBAQEAwQEAwMDBAQEBAQE
BAEEBAMDBAQDAwMDAwMDAwQBBAMDAwMDAwMDAwMDAwMEAQQDAwMDAwMDAwMDAwMEBAEEBAMDAwMD
AwMDAwMDBAEBAQQDAwMDAwMDAwMDAwQEBAQEAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</os:Image>
<SearchForm>http://www.google.com</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.google.com/search?q={searchTerms}&amp;btnG=Google+Search&amp;domains=linuxgazette.net&amp;sitesearch=linuxgazette.net">
</os:Url>
</SearchPlugin>
-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *


Top    Back