create new tag
, view all tags


How can I search TWiki from Firefox's search box? (Probably works with mozilla, too!)

Answer: see Plugins.FirefoxTWikiSearchBoxAddOn

Solution for Firefox 2 and 3

store TWiki.xml to your firefox searchplugins directory (e.g. C:\Program Files\Mozilla Firefox\searchplugins\TWiki.xml)

advantage of the xml format:

  • only single file (icon is included in XML as base64 string
  • XML format is future proof

-- MatthiasThullner - 08 Oct 2008

Solution for Firefox 1.5

seems still to work on Firefox 2 and 3. i.e. is backward compatible

  1. unzip or untar (you might need to gunzip on hp-ux, but linux supports tar -zxf for compressed tar files) the appropriate file into your searchplugins directory.
    • On linux/hp-ux systems, this is in a directory somewhere around where firefox or its libraries are installed. (Sorry, but it depends on how Firefox was installed):
      • On my linux system, the directory is /opt/firefox/searchplugins, because that's where I installed firefox. smile
      • On TheShire, it is under /usr/lib/firefox-1.x.y/searchplugins, where x and y are the current revision of Firefox. This is probably more typical.
    • On a MS Windows system, it is under C:\Program Files\Mozilla Firefox\searchplugins
  2. As "shipped", the searchplugin will search twiki.org. You can modify TWiki.src to search your TWiki site: Just put your URL in the action line.
  3. The TWiki.gif file is just pub/TWiki/TWikiLogos/T-logo-16x16-t.gif renamed and packaged for ease of installation.
  4. Restart Firefox.
  5. The pulldown on the search window should now have a selection with the TWiki logo, and the description "TWiki.org", unless you changed it.
    • The search will search through all public webs.
    • It should look something like this:
      Screen shot of search box
    • The search is a regular expression search.
    • If it doesn't find anything, it will take you to TWiki's Advanced Search page. (Even if it does find something, it still takes you to that page, but it is less obvious, because you're paying attention to the results)

-- DougClaar - 31 May 2006

As you might guess, this is copied and slightly edited from our Know web. Didn't know where else to put it, so I threw it into brainstorming...

-- Contributors: DougClaar, MatthiasThullner


-- DougClaar - 31 May 2006

Doug, thanks for sharing. Could you repackage this as a Plugins.AddOnPackage?

-- PeterThoeny - 01 Jun 2006

Please, please do package and publish it. I'm sure many "users" and TWikiAdmins will find this useful.

BTW, this will make my life (and my users life) a lot easier with out ticketing system smile

-- RafaelAlvarez - 01 Jun 2006

  • the attached file TWiki.src is the Firefox 1.5 format. Firefox 2 and 3 uses a *.xml.
  • Anyway the *.src seems still to work in Firefox 3.0 smile

I created Plugins.FirefoxTWikiSearchBoxAddOn as recommended by Peter.

Per definintion this is not an AddOn: "An AddOnPackage implements a script that goes into the bin directory and can be called from a TWiki topic. In contrast, a Tool is designed to go into the tools directory and can only be called from the shell. Most tools are written by core developers.", but all the other definitions from Plugins.ReadmeFirst do also not fit. I think there is a definition missing for 'things' used by other tools, e.g. firefox. What are we going to call them?

-- MatthiasThullner - 08 Oct 2008

Topic attachments
I Attachment History Action Size Date Who Comment
XMLxml TWiki.xml r1 manage 1.9 K 2008-10-08 - 20:03 MatthiasThullner Firefox 2 and 3 search bar extension
Compressed Zip archivetgz TWikiSearchPlugin.tgz r1 manage 0.9 K 2006-05-31 - 19:49 DougClaar TWiki Search Plugin source and image (tarred and gzipped)
Compressed Zip archivezip TWikiSearchPlugin.zip r1 manage 1.0 K 2006-05-31 - 19:49 DougClaar TWiki Search Plugin source and image (zipped)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-10-08 - MatthiasThullner
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.