Feeds:
Posts
Comments

Archive for the ‘Konqueror’ Category

I just merged my branch of Konqueror searchbar plugin that supports Opensearch [1] mainly to replace my own implementation of search suggestion. Opensearch has an xml formatted open search description, that may contain search url and suggestion service url. To parse the xml, I borrowed Arora’s open search xml parser and writer, written by Jakub Wieczorek.

The suggestions list from the searchbar still looks the same:
Wikipedia suggestions list

The searchbar also supports opensearch autodiscovery [2], meaning that if you find a site that provides a search implementation, you can easily add that new search provider to the searchbar. Additionally, you can set a new shortcut for that newly defined search provider, so that you can use that webshortcut inside the normal konqueror location bar or anything that supports webshortcut.

Here are two screenshots of the searchbar detecting an opensearch autodiscovery link element and the searchbar asking for a webshortcut for the newly added searchbar:
Wikipedia opensearch autodiscover
Wikipedia webshortcut

Why do I need to bother to add autodiscovery feature that is rarely used by user? Well, I also don’t know, maybe just to make it comparable to other browsers like FF or arora or IE8 :p

[1].http://www.opensearch.org/Home
[2].http://www.opensearch.org/Specifications/OpenSearch/1.1#Autodiscovery_in_HTML.2FXHTML

Read Full Post »

My blog has been syndicated in planet KDE for quite a long time. But I haven’t really write a blog (again). Well, I think this might be a good time to start it again. First of all, I need to introduce myself, I was one of KDE Google SoC students in 2007 and 2008. I was working for KOffice for both of the Google SoCs.

But this time I won’t talk about KOffice, but instead about Konqueror. Few weeks ago I implemented a Google suggestion feature for Konqueror searchbar (because I miss that feature from FF – and also inspired by this and this). It was quite a simple patch, and it only worked for Google suggestion API. After submitting the patch to kfm-devel list, Germain Garand (the KHTML guru) suggested that I need to make this improvement more generic, meaning that it should be able to use other search suggestion engines apart from Google. I have finished the improvement about two months ago, but because of the freeze I couldn’t commit it. But since trunk is open again for KDE 4.4, I just committed this improvement to the searchbar plugin source code in KDE extragear.

Mandatory screenshot:

Currently it only supports Google (with parser from Ariya Hidayat – thanks Ariya!) , but I’m working on Yahoo suggestion engine. Other suggestion engines can be added easily as well (Bing anyone? – If it has any :p).

Also, still on my TODO list: A checkbox to enable/disable this feature.

Edit: I just found out there is something called OpenSearch. Seems that this can be used to create even more general engine without any need to write code for any provider specific parser. I’ll look into that tomorrow.

Edit 2: Bing also has suggestion API! (Not that I’m fan of Bing :p I’m still a google fan)

Read Full Post »