OpenSearch for Konqueror SearchBar
David Faure
faure at kde.org
Tue Aug 18 17:25:40 BST 2009
On Monday 17 August 2009, Fredy Yanardi wrote:
> Hi all,
>
> For the past few weeks I've been working to add opensearch[1] support
> to konqueror searchbar to replace my own suggestion engine. Opensearch
> has an xml formatted open search description, that can contain search
> url and suggestion service url.
>
> I changed my previous suggestion engine for konqueror searchbar to use
> opensearch specification instead. So, in order to be able to request
> suggestion, each searchprovider must have the open search description
> xml file. Searchbar will get the suggestion url from the corresponding
> description xml, and send the request to the url. The reply will be in
> JSON format and then parsed by the searchbar. By using this, we have
> common parser for the suggestion reply, and don't need to code the
> parser for each searchprovider.
>
> Opensearch also supports autodiscovery, meaning that in the HTML
> document of a site, there is a link to the opensearch description for
> that site[2]. I also added this autodetection feature to konqueror
> searchbar (similar to FF) [3], and additionally, after adding a new
> opensearch engine detected from a site, user can quickly set
> webshortcut for that new engine[4]. If the newly added opensearch
> engine supports suggestion request, the suggestion service can also be
> used immediately[5].
Wow. Looks very good ;-)
--
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list