Hello
Apologies if this is in the wrong area, it's my first post and I'm still getting familiar with this forum.
I just have one questio: is it possible to customise the search box (sorry I don't know it's nromal name but it's the bit that automatically searches dmoz.org or google or find in page andis acesible via Ctrl-K)?
I would like to use it to search a user database at my work. I could possibly do this with a keymark but it would seem cleaner to do it with the search box.
Thank You.
Customising the search box
- Spewey
- Folder@Home
- Posts: 5799
- Joined: January 25th, 2003, 2:06 pm
- Location: St. Paul, Minnes°ta
No, good job. That searchbox thing is incredibly versatile. You get more at:
http://mycroft.mozdev.org/
Your app may be there or easily created by you or a kind soul if you plead.
http://mycroft.mozdev.org/
Your app may be there or easily created by you or a kind soul if you plead.
-
- Posts: 139
- Joined: August 6th, 2003, 8:59 pm
Hello Spewey
Thank You for the tip, however I had a good long look at the Mycroft site and it seems to me that the idea is to follow their instructions and produce a text file that becomes the search box widget and can be submitted to the Mycroft people for public publishing?
I can write the odd program or two so that would be cool but I'd like to configure the seach box to do something that cannot be published to the outside world.
Another way of saying that is that I'd like to be able to customise the search box for using with the various Intranet based search tools at my work.
Have I got it right? Mycroft isn't a GUI tool or any kind yeah? Myrcoft is a guideline for writing plugins to use in the search box right?
Thank you again for your help. I just love my FireBird. Killing ads is the best shoot 'em up game out there!
Thank You for the tip, however I had a good long look at the Mycroft site and it seems to me that the idea is to follow their instructions and produce a text file that becomes the search box widget and can be submitted to the Mycroft people for public publishing?
I can write the odd program or two so that would be cool but I'd like to configure the seach box to do something that cannot be published to the outside world.
Another way of saying that is that I'd like to be able to customise the search box for using with the various Intranet based search tools at my work.
Have I got it right? Mycroft isn't a GUI tool or any kind yeah? Myrcoft is a guideline for writing plugins to use in the search box right?
Thank you again for your help. I just love my FireBird. Killing ads is the best shoot 'em up game out there!
- jigho
- Posts: 229
- Joined: February 4th, 2003, 2:09 pm
- Location: Paris
-
- Posts: 139
- Joined: August 6th, 2003, 8:59 pm
Hi Jigho
Thank You for your clarification, excellent.
I suppose all I would need now is an example file to work off and to figure out how to actually 'install' the mycroft file I create into the search box.
Are you really into Mycroft? Any chance you or someone else can fire at me the magic URL(s) linking to the doco that help me start the ball rolling?
Thank You!
Thank You for your clarification, excellent.
I suppose all I would need now is an example file to work off and to figure out how to actually 'install' the mycroft file I create into the search box.
Are you really into Mycroft? Any chance you or someone else can fire at me the magic URL(s) linking to the doco that help me start the ball rolling?
Thank You!
- jigho
- Posts: 229
- Joined: February 4th, 2003, 2:09 pm
- Location: Paris
No, I'm not into Mycroft (but I'm pretty sure they won't blame me for my previous post...)
Since you want to develop a search-file, I think you should look in details the developers-how-to page :
http://mycroft.mozdev.org/deepdocs.html
Do not be afraid by all the options. the most important is the "action" one. the other ones are mainly for formatting the result, but can be skipped in a first approach. I am not really competent, I only give it a try or two some days ago...
Good luck !
Edit:
In fact, the search-files are stored in the "MozillaFirebird\searchplugins" directory. Some are already here (google, dmoz). Mycroft is mainly a database for other common search engine. You can duplicate one of the existing files and edit it according to your preferences, getting help from the link above.
Since you want to develop a search-file, I think you should look in details the developers-how-to page :
http://mycroft.mozdev.org/deepdocs.html
Do not be afraid by all the options. the most important is the "action" one. the other ones are mainly for formatting the result, but can be skipped in a first approach. I am not really competent, I only give it a try or two some days ago...
Good luck !
Edit:
In fact, the search-files are stored in the "MozillaFirebird\searchplugins" directory. Some are already here (google, dmoz). Mycroft is mainly a database for other common search engine. You can duplicate one of the existing files and edit it according to your preferences, getting help from the link above.
-
- Posts: 139
- Joined: August 6th, 2003, 8:59 pm
- jigho
- Posts: 229
- Joined: February 4th, 2003, 2:09 pm
- Location: Paris
You're welcome.
just a last tip for you : a sample "yahoo.src" file that allow to search yahoo.com. This is just a sample, it is not as evolved as what you can find in Mycroft. Just copy this to a "yahoo.src" in the searchplugins directory, to give it a try :
Then select the "yahoo" option in the search bar and it should work. This simple template you should be able to use for your own purpose
just a last tip for you : a sample "yahoo.src" file that allow to search yahoo.com. This is just a sample, it is not as evolved as what you can find in Mycroft. Just copy this to a "yahoo.src" in the searchplugins directory, to give it a try :
# Search file for yahoo.com
#
# Only a test sample
#
# yahoo request for word "test" is :
# http://search.yahoo.com/search?p=test
<SEARCH
name="yahoo.com"
description = "yahoo.com"
method="GET"
# action = link up to the "?" in the normal yahoo request
action="http://search.yahoo.com/search"
>
# input = parameter which define the searched word
<INPUT NAME="p" user>
</SEARCH>
Then select the "yahoo" option in the search bar and it should work. This simple template you should be able to use for your own purpose
Last edited by jigho on August 7th, 2003, 8:35 am, edited 1 time in total.
-
- Posts: 139
- Joined: August 6th, 2003, 8:59 pm
- eiseli
- Posts: 31
- Joined: November 29th, 2002, 9:07 am
- Location: Switzerland
Good job Jigho. I wouldn't have done it better myself. But well, one has to choose between visiting a city by 35°C and staying inside at the computer and answering forum posts ... I've chosen the former...
Get the most out of search: add 1000+ search engines to Mozilla and Firefox with <a href="http://mycroft.mozdev.org/">Mycroft</a>