×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Firefox/mycroft: Difference between revisions

    Content added Content deleted
    imported>mutante
    (installing from server (ouch ,javascript needed))
    imported>mutante
    m (replace is-root,de links)
     
    (30 intermediate revisions by 15 users not shown)
    Line 1: Line 1:
    [[Firefox]]->mycroft

    == Search Plugins ==

    I made a [[http://mycroft.mozdev.org/ mycroft]] plugin to search the Seti 23 Wiki.<br>
    I made a [[http://mycroft.mozdev.org/ mycroft]] plugin to search the Seti 23 Wiki.<br>
    this is the first hack of it =)<br>
    this is the second hack of it =)<br>
    it uses a hacked version of the seti 23 favicon.ico [[Image:S23WikI.png]]
    it uses a hacked version of the seti 23 favicon.ico [[Image:S23WikI.png]]
    == Install ==
    not quite shore how to make it install from a web page yet, but after we have done some testing
    ill send it of to the fokes at mycroft and get them to host it.




    === Manualy install ===
    === s23WikI ===
    a search for the new seti 23 WikI
    please leave any [http://s23.org/wiki/index.php?title=FireFox/mycroft&action=submit#Feed_back feeback] you have


    '''Auto Install'''
    to auto install go to this page [http://23.me.uk/mycroft.php 23.me.uk]


    '''Manualy install'''
    to manualy install down load the files [[http://23.me.uk/filez/s23WikI.src s23WikI.src]] and [[http://23.me.uk/filez/s23WikI.png s23WikI.png]], save them in your firefox\searchplugins directory, restart firefox, and the seti 23 wiki search should now be an option in the [[http://mycroft.mozdev.org/ mycroft]] search bar.
    to manualy install down load the files [[http://23.me.uk/filez/s23WikI.src s23WikI.src]] and [[http://23.me.uk/filez/s23WikI.png s23WikI.png]], save them in your firefox\searchplugins directory, restart firefox, and the seti 23 wiki search should now be an option in the [[http://mycroft.mozdev.org/ mycroft]] search bar.



    === s23WikI.scr ===
    '''S23WikI.png'''<br>
    [[Image:S23WikI.png]]


    '''s23WikI.scr'''<br>
    <pre>
    <pre>
    # Mycroft Search Plugin for Mozilla, Firebird, Netscape 6+, Beonix browsers
    # Mycroft Search Plugin for Mozilla, Firebird, Netscape 6+, Beonix browsers
    # Mycroft Homepage: http://mycroft.mozdev.org
    # Mycroft Homepage: http://mycroft.mozdev.org
    #
    #
    # SearchSite: seti 23 wiki (http://is-root.de/wiki)
    # SearchSite: seti 23 wiki (http://s23.org/wiki)
    # HomeSite: http://is-root.de/wiki/index.php/FireFox/mycroft#s23WikI
    # Status: Working Semi
    # Status: Working teat
    # hacked from the below to work with the seti 23 wiki
    #
    # Hacked by: DrOwl mail me at catsnest co uk
    # Hacked by: DrOwl mail me at catsnest co uk
    # Date: 15 Feb, 2005
    # Warning: i dont know what im doing this is just a hack, use at your own risk
    # Warning: i dont know what im doing this is just a hack, use at your own risk
    # hacked from the wikipedia plugin
    #
    # Original Author: Carey Evans <careye@spamcop.net>.
    # Original Author: Carey Evans <careye@spamcop.net>.
    # This file is released to the public domain.
    # This file is released to the public domain.
    # Created: 30 Jan, 2003
    # Created: 30 Jan, 2003
    # Modified: Dwayne C. Litzenberger
    # Modified: Dwayne C. Litzenberger
    # Date: 30 Jan 2004
    # Reason: Wikipedia has disabled their full-text search functionality,
    # so this plugin now does a regular lookup.
    #
    #
    #


    <SEARCH
    <SEARCH
    Line 39: Line 48:
    description="the seti23.org WiKi"
    description="the seti23.org WiKi"
    method="GET"
    method="GET"
    action="http://is-root.de/wiki/index.php"
    action="http://s23.org/wiki/index.php"
    queryCharset="ISO-8859-1"
    queryCharset="ISO-8859-1"
    searchForm="http:/is-root.de/wiki/"
    searchForm="http:/s23.org/wiki/"
    routeType="internet"
    routeType="internet"
    >
    >
    Line 68: Line 77:
    >
    >
    </pre>
    </pre>
    === S23WikI.png ===
    [[Image:S23WikI.png]]

    === Install from server ===
    <pre>
    Installing from a server

    Edit this script to include your server and path information. Then place this script into your HTML file:

    <script type="text/javascript">
    <!--
    function errorMsg()
    {
    alert("Netscape 6 or Mozilla is needed to install a sherlock plugin");
    }
    function addEngine(name,ext,cat)
    {
    if ((typeof window.sidebar == "object") && (typeof
    window.sidebar.addSearchEngine == "function"))
    {
    //cat="Web";
    //cat=prompt('In what category should this engine be installed?','Web')
    window.sidebar.addSearchEngine(
    "http://localhost.localdomain/plugins directory/"+name+".src",
    "http://localhost.localdomain/plugins directory/"+name+"."+ext,
    name,
    cat );
    }
    else
    {
    errorMsg();
    }
    }
    //-->
    </script>

    Link your plugins to the above script with this code, by replacing the file name, image extension and category name with that of the plugin file:

    <a href="javascript:addEngine('File name','image extension','Category name')">Name of Plugin</a>
    </pre>

    *http://mycroft.mozdev.org/deepdocs/installing.html#server

    === Chat excerpts from Freenode #mozilla: ===

    <pre>
    < mutante__> could you give me a hint what i need to look into to make a web-installable .xpi firefox plugin once i got a working .scr file for a Mycroft search plugin
    < mutante__> i have a .scr and a .png file which work if copied to ./searchplugins manually
    < mutante__> now i would like to make an installable plugin out of it
    < mattmcc> You don't need to make an XPI. Take a look at the code that mycroft.mozdev.org uses (addEngine())
    < mutante__> thanks,will do
    < mutante__> mattmcc: oh you mean placing javascript into html with function "addEngine" ?
    < mutante__> mattmcc: actually is making an xpi ,and just placing it on a server also an option in this case? (to avoid javascript,so i can just use regular a href links to the .xpi
    < mutante__> (which starts firefox'es install dialog)
    < mattmcc> I suppose you could make an xpi that didn't actually install anything.. :)
    < mattmcc> Actually, no, I'm not sure that works anymore.
    < mutante__> hmm,i want to put the link into a wiki where i cant add the javascript
    < mutante__> ok,thanks anyways
    |19:52| * mattmcc thinks with the new install.rdf format, you'd have to install at least some file.
    </pre>

    seems like gotta make a html containing java script and then place a link to that in here ,greets [[User:mutante|mutante]] 19:55, 16 Feb 2005 (CET)

    == Feed back ==
    try it out on your platforms and let me know how it performs, <br>
    please leave comments [[http://is-root.de/wiki/index.php?title=Talk:FireFox/mycroft&action=edit here]] good or bad

    LoVe from your [[User:DrOwl]]


    [[Category:Software]]
    Nice work! Confirmed working smoothly on firefox 0.8 (ouch,gotta update this box) / Windows XP-SP2 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8) [[User:mutante|mutante]] 19:32, 16 Feb 2005 (CET)

    Latest revision as of 11:39, 2 November 2007

    Firefox->mycroft

    Search Plugins[edit]

    I made a [mycroft] plugin to search the Seti 23 Wiki.
    this is the second hack of it =)
    it uses a hacked version of the seti 23 favicon.ico


    s23WikI[edit]

    a search for the new seti 23 WikI please leave any feeback you have


    Auto Install to auto install go to this page 23.me.uk


    Manualy install to manualy install down load the files [s23WikI.src] and [s23WikI.png], save them in your firefox\searchplugins directory, restart firefox, and the seti 23 wiki search should now be an option in the [mycroft] search bar.


    S23WikI.png


    s23WikI.scr

    # Mycroft Search Plugin for Mozilla, Firebird, Netscape 6+, Beonix browsers 
    # Mycroft Homepage: http://mycroft.mozdev.org
    #
    # SearchSite: seti 23 wiki (http://s23.org/wiki)
    # HomeSite: http://is-root.de/wiki/index.php/FireFox/mycroft#s23WikI 
    # Status: Working teat
    #
    # Hacked by: DrOwl mail me at catsnest co uk
    # Warning: i dont know what im doing this is just a hack, use at your own risk
    # hacked from the wikipedia plugin
    # Original Author: Carey Evans <careye@spamcop.net>.
    # This file is released to the public domain.
    # Created: 30 Jan, 2003
    # Modified: Dwayne C. Litzenberger 
    
    <SEARCH
        version = "7.1"
       name="seti23 WiKi"
       description="the seti23.org WiKi"
       method="GET"
       action="http://s23.org/wiki/index.php"
       queryCharset="ISO-8859-1"
       searchForm="http:/s23.org/wiki/"
       routeType="internet"
    >
    
    <input name="sourceid" value="Mozilla-search">
    <input name="search" user>
    <input name="go" value="Go">
    <inputnext name="offset" factor="20">
    <inputprev name="offset" factor="20">
    
    <interpret
       browserResultType="result"
       charset="ISO-8859-1"
       resultListStart="</h2>"
       resultListEnd="<p>"
       resultItemStart="<li>"
       resultItemEnd="</li>"
    >
    
    </search>
    
    <browser
       update="http://23.me.uk/filez/s23WikI.src"
       updateIcon="http://23.me.uk/filez/s23WikI.png"
       updateCheckDays="23"
    >
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.