Thursday, June 14, 2007

Mozilla search plugin for Coop Search

Making search plugin's for firefox are easy one page deals. Just follow the instructions at Mycroft and a search plugin can be made available for download.The screen shot shows the plugin for coop search.

coop search plugin
I tested it and it works fine.For the sake of record the final XML file was as given below --

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Coop Search</os:ShortName>
<os:Description>Coop Search - Searching custom search engines</os:Description>
<os:InputEncoding>ISO-8859-1</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAQABADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDy/WP+Eu/tzUPs39t/Z/tMnleX5u3buOMY4xjpis6H+0v7QsvL+1/ZdsGdu7ZjaufbHWoPKuf7U2fY1+z+dj/j2XG3d649O9dk2saBo1/pUd4EMMVnYy3FonhyzmEoaCJ3HnOwclskliMgseuKwzDDywajFK7fMvha+G3a/fTY68BL6n96293bvvdO5//Z</os:Image>
<UpdateInterval>7</UpdateInterval>
<UpdateUrl>http://mycroft.mozdev.org/update.php/id0/coopsearch.src</UpdateUrl>
<IconUpdateUrl>http://mycroft.mozdev.org/update.php/id0/coopsearch.jpeg</IconUpdateUrl>
<SearchForm>http://www.google.com/coop/cse?cx=006220872262304550041%3Ahpoa4qugio0</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.google.com/cse?sourceid=Mozilla-search&amp;cx=006220872262304550041%3Ahpoa4qugio0&q={searchTerms}">
</os:Url>
</SearchPlugin>

No comments: