This forum has been archived. All content is frozen. Please use KDE Discuss instead.

opensearch search engine support

24

Votes
24
0
Tags: konqueror, search konqueror, search konqueror, search
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
Mozilla's Mycroft project provide a large number of search engines for browsers. To add the search engine to the browser search bar, you just have to click the link and it is immediately available for use. Konqueror, however, does not seem to support the opensearch protocol used by the website, so the search engines cannot be installed. I think it would be very useful if konqueror was able to import these search engines.

Last edited by TheBlackCat on Fri Jun 19, 2009 3:31 pm, edited 1 time in total.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS
It shouldn't be too hard to make it import into what KDE calls "web shortcuts". Due to KDE's amazingness that means they'll also be available in KRunner too.

I'll take a look.

Last edited by david_edmundson on Sat Jun 20, 2009 1:55 pm, edited 1 time in total.
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS
Had a poke round the page with firebug. Konqueror needs to handle the javascript call window.external.addSearchProvider(url)
Window.external means "built in JS function in the browser"

This URL points to a .xml file which follows the specification outlined here:
http://www.opensearch.org/Specifications/OpenSearch/1.1

There are therefore 2 almost independant tasks. We need someone to add the JS function to konqueror (as a plugin?) and we need code to read the xml file and add an appropriate entry to Web Shortcuts.
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
Arora now supports this standard and Konqueror must do the same. On the other side, web shorcuts code must be fixed because there are some encoding bugs not fixed yet.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Angel Blue01
Registered Member
Posts
220
Karma
0
OS
I thought I saw this before on Bugzilla. Anyway, since it is a standard that Arora supports, so should Konqueror.


Proudly dual-booting openSUSE 11.1 with KDE 4.3 and Windows Vista on a Toshiba A205-S4577 since July 2007.
User avatar
Natureshadow
Registered Member
Posts
15
Karma
0
OS
Interestingly, there is a directory /usr/share/kde4/apps/konqueror/opensearch on my system and it contains the OpenSearch definition for Google.

I tried dropping another profile in there, but to no avail.

Any ideas why this directory is there? It is installed by the konq-plugins package.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]