Open Bug 65877 Opened 24 years ago Updated 16 years ago

Need an easy way to add search engines to Search Panel

Categories

(SeaMonkey :: Search, enhancement)

x86
Other
enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: Erich.Iseli, Unassigned)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Similarly to the "Get more themes" and "Get more sidebar tabs", Fabian
<hidday@geocities.com> suggested to add a link to http://sherlock.mozdev.org/ in
order to provide an easy way to add more engines.

The "Get more search engines" (or similar) could be added at different places. I
don't want to exclude any at this stage, but I don't expect it either to appear
in all these places:

- Search menu, below the "My Sidebar search tab" (Similar to View|Apply
theme|Get new themes)
- on the Edit Categories dialog (opened through the search panel) (Similar to
Tabs | Customize my sidebar | Find more tabs)
- on the Edit|Preferences|Navigator|Internet search dialog
*** Bug 65054 has been marked as a duplicate of this bug. ***
Edit category should use "Include" and "Exclude" search engine.
instead of "Add" , "Remove"
-->future. Todd, is this something we want to do?
Assignee: matt → sgehani
Severity: normal → enhancement
Target Milestone: --- → Future
Probably not anytime soon.
*** Bug 127161 has been marked as a duplicate of this bug. ***
*** Bug 145883 has been marked as a duplicate of this bug. ***
I have attached a patch which adds a link in preferences->navigator->internet
search to "Get New Search Engines" which points to http://mycroft.mozdev.org

be aware - I am a complete newbie.
Nice work Julius. However, in your C&P work, you forgot to change the ID

+    <html:a id="themesLink" href="&getNewSearchEnginesURL;"

suggested:

id="sherlockLink"

However I don't know if this id is used by the new stylesheet you attach

Also, I think the link to mycroft should be a special page, not the homepage.

Last but not least, as very few people are using the sidebar, this kind of link
should also be shown in Edit|Preferences|Internet Search
Depends on: 171593
> suggested: id="sherlockLink"

I want the same style for both.  Is it better to created a sherlockLink id or to
rename themesLink to "externalLink"?

>the link to mycroft should be a special page, not the homepage.

It points to the download page <http://mycroft.mozdev.org/download.html>.  Which
page do you suggest?

>this kind of link should also be shown in Edit|Preferences|Internet Search

I am not sure what you mean by this.  The patch adds a links to the search
section of the main preferences (which, for linux, is Edit|Preferences|Internet
Search). 
I have just noticed that the getnewthemes link points to a page at mozilla.org
<http://mozilla.org/themes/download/> which links to 2 sites with themes.  

This seems unecessary here unless there is an alternative to the mycroft project.
Julius,

>> suggested: id="sherlockLink"
>
> I want the same style for both.  Is it better to created a sherlockLink id or
> to rename themesLink to "externalLink"?

And ID is not that much about styling. It's an identificator. While you only use
an ID-value once on a webpage, I think it's a must in an application to have a
unique ID all over the app. This is especially useful for the skinning. And
since this link is not at all about themes, I don't think it should be called
themeslink.

In the corresponding CSS (if styling is done via the ID), you can write
#themeslink, #sherlocklink {styling-rules}

>>the link to mycroft should be a special page, not the homepage.
>
> It points to the download page <http://mycroft.mozdev.org/download.html>.
> Which page do you suggest?

I mean, maybe a new page like download-frombrowser.html. This way we could
display different things and style them differently than the download.html page.
This could be useful because as people start to link directly to the
download.html page, some visitors will get there without knowing what this page
is about. So there would be a need of a short introductory text, which would not
be needed for people coming from the browser.

>> this kind of link should also be shown in Edit|Preferences|Internet Search
>
> I am not sure what you mean by this.  The patch adds a links to the search
> section of the main preferences (which, for linux, is
> Edit|Preferences|Internet Search). 

Right. My misunderstanding. Can you read my original post and tell if there's an
easy way to add the button to the other mentioned places? Actually, since the
Search menu is gone we just would have to add it to the "Edit Categories" dialog.
Blocks: 171593
No longer depends on: 171593
Summary: [RFE] Need an easy way to add search engines to Search Panel → Need an easy way to add search engines to Search Panel
Attachment #95433 - Attachment is obsolete: true
http://mozdev.org/bugs/show_bug.cgi?id=2244

If mycroft can upgrade to acheive this RFE I posted for it a while back, it might be easiest if Mozilla just includes a sherlock plugin to search for sherlock plugins (a meta-sherlock plugin).

And even if it isn't the only method employed, it would still be extremely useful.

Regards,
Sam

The new patch adds two links titled 'Get New Search Engines'

1. Preferences -> Internet Search
2. (As long as you are in Advanced Search Mode) Search Sidebar -> Edit
Categories

Both point to mycroft.mozdev.org/browser/download.html

This patch is the result of 
cvs -q diff -u themes xpfe 
It works with both classic and modern themes.
This bug has a patch since 2 years. julius: did you request review?
A variant of this bug is still present in Firefox 3.0 at 'Get more search engines', for example. 
Product: Core → SeaMonkey
Assignee: samir_bugzilla → nobody
QA Contact: claudius → search
Target Milestone: Future → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: