Searching the AMIS Weblog directly from your Firefox searchbar

0

Why bother using Google if you know you will find the answer on this blog anyway? It would be a nice feature if you could search directly from your Firefox searchbar then, right?

Alex just pointed out he already created a plugin before me: http://technology.amis.nl/blog/?p=764

I made one small improvement, that is I embedded the image in a single XML file.

The contents of the file is like this:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>AMIS Weblog</ShortName>
<Description>Find articles on Oracle, Java, database- and projectmanagement</Description>
<InputEncoding>utf-8</InputEncoding>
<Image width="16" height="16">data:image/jpeg,%FF%D8%FF%E0%00%10JFIF%00%01%01%01%00H%00H%00%00%FF%DB%00C%00%0A%07%07%08%07%06%0A%08%08%08%0B%0A%0A%0B%0E%18%10%0E%0D%0D%0E%1D%15%16%11%18%23%1F%25%24%22%1F%22!%26%2B7%2F%26)4)!%220A149%3B%3E%3E%3E%25.DIC%3CH7%3D%3E%3B%FF%DB%00C%01%0A%0B%0B%0E%0D%0E%1C%10%10%1C%3B(%22(%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%FF%C2%00%11%08%00%0F%00%0F%03%01%22%00%02%11%01%03%11%01%FF%C4%00%17%00%00%03%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%02%03%04%FF%C4%00%15%01%01%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%03%05%FF%DA%00%0C%03%01%00%02%10%03%10%00%00%01%B1%9D%0E%97%FF%C4%00%1C%10%00%02%01%05%01%00%00%00%00%00%00%00%00%00%00%00%01%02%04%00%03%05%11%12%14%FF%DA%00%08%01%01%00%01%05%028%FDW%84t%D2%1D%80%93%7DO%FF%C4%00%17%11%00%03%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%03%11Q%FF%DA%00%08%01%03%01%01%3F%01%8D%D3%FF%C4%00%16%11%00%03%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%01%11%FF%DA%00%08%01%02%01%01%3F%01%A8%FF%C4%00%1E%10%01%00%01%02%07%00%00%00%00%00%00%00%00%00%00%00%01%00%11!%02%03%131Aaq%FF%DA%00%08%01%01%00%06%3F%02%BEe%1ArD%D4_0%C4M%E5D%B7S%FF%C4%00%1C%10%01%01%00%02%02%03%00%00%00%00%00%00%00%00%00%00%01%11%00!1Aq%81%C1%FF%DA%00%08%01%01%00%01%3F!%5DF%87%80%B4%EF%DE%1B%88.%A8%B1%F3%83%CD%B5N%B6%DF%98%40%A6%A3%3A%CF%FF%DA%00%0C%03%01%00%02%00%03%00%00%00%10%97%FF%C4%00%17%11%00%03%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%01%11Q%FF%DA%00%08%01%03%01%01%3F%10P%D1%FF%C4%00%14%11%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%FF%DA%00%08%01%02%01%01%3F%10%7F%FF%C4%00%1A%10%01%00%02%03%01%00%00%00%00%00%00%00%00%00%00%00%01%111%00!AQ%FF%DA%00%08%01%01%00%01%3F%10%22!C%AF%04%12%AFQ%CC%5C%C8%90%D0%83B%0AV%F9%9B%06%C1%13%81j%26%C3%7C%C8%99%91%15%95%D9%D8%BC%FF%D9
</Image>
<Url type="text/html" method="GET" template="http://technology.amis.nl/blog/index.php">
  <Param name="s" value="{searchTerms}"/>
  <Param name="sourceid" value="Mozilla-search"/>
</Url>
<SearchForm>http://technology.amis.nl/blog/index.php</SearchForm>
</SearchPlugin>

 

This xml file contains an embedded image. Any image can be converted to text using this little tool: the URI Kitchen.  I did not check the "base64"  option, if you do check it the output looks a bit less messy (but still unreadable to the human eye).

 

The result after restarting Firefox:

 

 

Share.

About Author

Comments are closed.