Build a Search Box for Firefox 2/IE7

. domingo, 17 de agosto de 2008


A site search box is search tool integrated directly into the browser. It can usually be found around the address bar and makes searching specific sites easier and quicker.




First We Build the XML file



<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>The Journalist Theme</ShortName>
<Description>Wordpress to blogger template</Description>
<Image height="16" width="16" type="image/x-icon">http://URL_DO_ICONE/Favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.google.com/search?q={searchTerms}&amp;sitesearch=thejournalisttheme.blogspot.com" />
</OpenSearchDescription>


NOTE: you can/need change bold text for your settings!!!



Add code to HEAD of site



<link rel="search" type="application/opensearchdescription+xml" href="http://godbit.com/opensearch_desc.xml" title="The Journalist Theme - Blogger" />

Via

0 comentários:

 

^