.XML Infoseek search plugin for FF?

edited March 2011 in Sinclair Miscellaneous
Found an old thread explaining how to add Sinclair Infoseek to Firefox's search box, but the new FF doesn't detect .SRC plugins, only .XML. Can someone please post the .XML equivalent of the following code?
<!-- Minimalist Firefox search plugin for Sinclair Infoseek -->

<search name="Sinclair Infoseek"
        description="Sinclair Infoseek Search"
        method="GET"
        action="http://www.worldofspectrum.org/infoseek.cgi";
        update=""
        updateCheckDays=1   
        queryEncoding="utf-8"
        queryCharset="utf-8">

  <input name="regexp" user>

</search>

Once I have the .XML file it's just a matter of copying it to C:\Program Files\Mozilla Firefox\searchplugins and restarting FF.

I know about the Speccy search bar, but I was never too fond of toolbars. The top-right FF search box is an exception.

Thanks.
Post edited by zxbruno on

Comments

  • edited May 2009
    well it's easy:
    <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">;
    <ShortName>Sinclair Infoseek</ShortName>
    <Description>World of Spectrum Sinclair Infoseek Search</Description>
    <InputEncoding>UTF-8</InputEncoding>
    <Url type="text/html" method="GET" template="http://www.worldofspectrum.org/infoseek.cgi">;
      <Param name="regexp" value="{searchTerms}"/>
    </Url>
    <SearchForm>http://www.worldofspectrum.org/infoseek.cgi</SearchForm>;
    </SearchPlugin>
    
    
    
    
    


    copy it to a text file named WOS.xml, that's all.
    you can add an image to it by using a base64 converter, if nobody does, I'll add one soon.
  • edited May 2009
    Thanks!! All I need to do now is to figure out where to add the line for WOS's favicon. :)

    I'm guessing it will be something like this:
    <Image height="16" width="16" type="image/x-icon">http://www.worldofspectrum.org/favicon.ico</Image>;
    
  • edited May 2009
    zxbruno wrote: »
    Thanks!! All I need to do now is to figure out where to add the line for WOS's favicon. :)

    I'm guessing it will be something like this:
    <Image height="16" width="16" type="image/x-icon">http://www.worldofspectrum.org/favicon.ico</Image>;
    

    I didn't try that but possibly it won't work. Here is the code that works:
    <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">;
    <ShortName>Sinclair Infoseek</ShortName>
    <Description>World of Spectrum Sinclair Infoseek Search</Description>
    <InputEncoding>UTF-8</InputEncoding>
    <Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAQAAAABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD%2F%2FwD%2FAAAA%2FwD%2FAP%2F%2FAAD%2F%2F%2F8AAAmZu7qqzMwAAJmbu6qszAAACZm7uqrMAAAAmZu7qqwAAAAJmbu6qgAAAACZm7uqAAAAAAmZu7oAAAAAAJmbuwAAAAAACZm7AAAAAAAAmZsAAAAAAAAJmQDw8AD%2FAP%2BZDw8PDwDwD%2FkPAA8PAPD%2FAA8ADwD%2FAA%2FwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image>
    <Url type="text/html" method="GET" template="http://www.worldofspectrum.org/infoseek.cgi">;
      <Param name="regexp" value="{searchTerms}"/>
    </Url>
    <SearchForm>http://www.worldofspectrum.org/infoseek.cgi</SearchForm>;
    </SearchPlugin>
    
    
    

    or you can get it here:
    http://www.veanewmedia.com/ardae/fish/WOS.xml
  • edited May 2009
    It works! Thank you very much. :)
  • edited May 2009
    Here's one for Google Chrome - Head into Options (using the "tool" button at the far right) and under The "Basics" tab, click "Manage" in the "Default Search" section.

    Now click "Add" and in the dialog that appears, enter the following fields:
    Name: [b]WOS Infoseek[/b]
    Keyword: [b]wos[/b]
    URL: [b][url]http://www.worldofspectrum.org/infoseek.cgi?regexp=&#37;s[/url][/b]
    

    And then click "Okay" and close the options page with the close button at the bottom-right.

    Now, in Chrome's address bar, type "wos" followed by your query, ie:

    "wos Cybernoid" will jump to Infoseek's search page for all games and materials with "Cybernoid" in the title.





    EDIT

    You can also search the forums directly from Chrome's address bar (which is better than doing Site:www.worldofspectrum.org/forums in Google) by adding this data in the same manner as above:
    Name: [b]WOS Forums[/b]
    Keyword: [b]wosf[/b]
    URL: [b]http://www.worldofspectrum.org/forums/search.php?do=process&amp;titleonly=0&amp;replyless=0&amp;replylimit=0&amp;searchdate=0&amp;beforeafter=after&amp;sortby=lastpost&amp;order=descending&amp;showposts=1&amp;childforums=1&amp;query=%s[/b]
    

    You can also modify the search behaviour by using this guide and editing the URL field above. Now, searching in Chrome for "wosf BASin" will pull all results about the best Speccy IDE in the world.

    D.
  • edited May 2009
    I'm interested in understanding this piece of "code" :

    AAABAAEAEBAQAAAABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD%2F%2FwD%2FAAAA%2FwD%2FAP%2F%2FAAD%2F%2F%2F8AAAmZu7qqzMwAAJmbu6qszAAACZm7uqrMAAAAmZu7qqwAAAAJmbu6qgAAAACZm7uqAAAAAAmZu7oAAAAAAJmbuwAAAAAACZm7AAAAAAAAmZsAAAAAAAAJmQDw8AD%2FAP%2BZDw8PDwDwD%2FkPAA8PAPD%2FAA8ADwD%2FAA%2FwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    Is this the actual icon/pic? If so, how can I read up on how to interpret it?
  • edited May 2009
    ZnorXman wrote: »
    I'm interested in understanding this piece of "code" :

    AAABAAEAEBAQAAAABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD%2F%2FwD%2FAAAA%2FwD%2FAP%2F%2FAAD%2F%2F%2F8AAAmZu7qqzMwAAJmbu6qszAAACZm7uqrMAAAAmZu7qqwAAAAJmbu6qgAAAACZm7uqAAAAAAmZu7oAAAAAAJmbuwAAAAAACZm7AAAAAAAAmZsAAAAAAAAJmQDw8AD%2FAP%2BZDw8PDwDwD%2FkPAA8PAPD%2FAA8ADwD%2FAA%2FwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    Is this the actual icon/pic? If so, how can I read up on how to interpret it?

    It's the FavIcon. You know, the little icon at the very top left of the window, next to the title? It's been encoded in Base64 so that it can be represented as text.

    D.
  • edited May 2009
    Dunny wrote: »
    It's the FavIcon. You know, the little icon at the very top left of the window, next to the title?

    I thought as much ... though I didn't know it for a fact.
    Dunny wrote: »
    It's been encoded in Base64 so that it can be represented as text.

    D.

    Thanks, this is pretty cool to know ... but that's just me :grin:

    *Digs in, learns about Base64*
  • edited July 2009
    https://addons.mozilla.org/en-US/firefox/addon/13183

    I updated the search plugin to match open search 1.1 specification and added it to firefox addon database for easy installation. Note that it's uses mozSearch extensions. it now return results with images and inlays turned on.

    and I made this thread is the official support page of the plug-in in the "addons for mozilla" website.

    I also uploaded it to WOS via upload form, I don't know if it's a good way to post a search plugin.

    I had to choose a license, I used MIT, as I remember it's the most relaxed form for a license.
  • edited July 2009
    Very nice!
    It would be perfect if InputEncoding was set to iso-8859-1 rather than utf-8 though (as that's what Infoseek uses). This would allow accented characters to be used in the search query.
  • edited July 2009
    mheide wrote: »
    Very nice!
    It would be perfect if InputEncoding was set to iso-8859-1 rather than utf-8 though (as that's what Infoseek uses). This would allow accented characters to be used in the search query.

    it's done. Encoding is now iso-8859-1.
  • edited January 2010
    Finally found this thread. Absolutely lovely to have Infoseek as a search engine on the Firefox toolbar once again! Excellent work Arda!
  • edited March 2010
    Hi,


    this was a great move.

    i used to use the one on mycroft project

    but this one is way better!!!

    but... what code can i insert on my website so that visitors can always add the latest version of search engine but having to go to mozilla?

    Thanks!
  • edited March 2010
    FF=Slow :p

    All we need now is the same thing for Chrome. :)
  • edited April 2010
    zxbruno wrote: »
    FF=Slow :p

    All we need now is the same thing for Chrome. :)

    On my brand new Core-i7 860 with 8Gb RAM and 2 23" monitors, both Chrome, Firefox and (he he) IE8 (I think!) are running very smoothly indeed. :grin: :grin: :grin: :grin:
  • edited June 2010
    zxbruno wrote: »
    FF=Slow :p

    All we need now is the same thing for Chrome. :)

    ah it's easy for chrome,
    1.Click on "Wrench"
    2.Select "options"
    3.in "Basic" tab, there is a section named "Default search", Click "Manage"
    4.search engines window opens, click "Add"
    5.Fill the boxes with these information:
    Name=Infoseek
    Keyword=zx
    URL=http://www.worldofspectrum.org/infoseek.cgi?regexp=^%s
    
    6.click OK
    7.if you want, you can make it default.This is not recommended...
    8.Click "Close" button
    9.Result: Now "zx" is your keyword into infoseek. eg. if you type "zx jonathan smith" you'll send a query to infoseek engine.

    Have fun.
  • edited June 2010
    Thank you Arda and for all those who contributed towards this thread. It's wonderful to be able to search the wos archives this way at long last !
  • edited March 2011
    today I was tidying up my blog, and I wanted to complete the suite. So here is the result:

    if you want to search from your opensearch capable browser (eg. firefox), here is the wos forums open search plug-in:

    https://addons.mozilla.org/en-US/firefox/addon/wos-forums/

    note: if you want to search infoseek engine instead, use other one, it's approves long ago.

    https://addons.mozilla.org/en-US/firefox/addon/sinclair-infoseek/
Sign In or Register to comment.