[Webkit-unassigned] [Bug 16030] New: Add support for OpenSearch to WebCore with an API usable by various ports

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 17 12:16:55 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16030

           Summary: Add support for OpenSearch to WebCore with an API usable
                    by various ports
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
               URL: http://www.opensearch.org/Home
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P3
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leavengood at gmail.com


One thing I was wondering recently is if anyone is working on OpenSearch
support
in WebKit? This is how the Firefox "Search Engines" are implemented, and IE7
also supports this. See http://www.opensearch.org/Home

I think this would be a useful addition to WebKit and having a nice API for it
would allow all platforms to easily use it in their browsers.

What I envision is an OpenSearchXML class which can parse the OpenSearch XML
format, loading either from a URL, file or string, and can then have accessors
for the various data elements in the format (ShortName, Description, Url, etc.)
In addition a method can be provided to compose a "filled-in" URL based on what
the user's search string was.

Support can also be added for the <link rel="search" /> tag described in the
OpenSearch specification. When WebCore parses this a new method in ChromeClient
could be called with the URL of the XML document with the search specification.
This can be used to implement a similar feature to what Firefox does by
"highlighting" the search drop-down next to its search box when it sees an
OpenSearch link in the document. Try going to Wikipedia or other search sites
with Firefox and you will see what I mean.

I am not sure to what level the WebKit team would want to integrate this, but I
suppose it could be implemented like the icon database where WebKit even stores
the data for the search engines (either in their native XML or maybe some
proprietary format in SQLite.)

If no one else takes this on, I will probably do it, at least one my Haiku port
of WebKit is in good shape.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list