Re: [whatwg] SearchBox API

2010-10-15 Thread Tab Atkins Jr.
On Thu, Oct 14, 2010 at 9:23 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Oct 15, 2010 at 12:53 PM, Tony Gentilcore to...@chromium.org wrote: The simplest way to address this is probably to advertise support via an agreed upon meta tag. e.g. meta name=NavigatorSearchBoxSupport

Re: [whatwg] SearchBox API

2010-10-15 Thread Aryeh Gregor
On Thu, Oct 14, 2010 at 2:59 PM, Peter Kasting pkast...@google.com wrote: This proposal is not by any means the totality of everything involved with instant-style support.  It is only a piece. It's hard to evaluate a proposal that doesn't actually do anything by itself. I don't see any

Re: [whatwg] SearchBox API

2010-10-15 Thread Tony Gentilcore
On Fri, Oct 15, 2010 at 9:08 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Thu, Oct 14, 2010 at 2:59 PM, Peter Kasting pkast...@google.com wrote: This proposal is not by any means the totality of everything involved with instant-style support. It is only a

Re: [whatwg] SearchBox API

2010-10-15 Thread Aryeh Gregor
On Fri, Oct 15, 2010 at 12:17 PM, Tony Gentilcore to...@chromium.org wrote: The app has the heuristics. The UA fetches the page and discards it if the page doesn't indicate support. As pointed out this is suboptimal. Perhaps we need a two phase indication of support. First OpenSearch indicates

Re: [whatwg] SearchBox API

2010-10-15 Thread Tony Gentilcore
On Fri, Oct 15, 2010 at 9:35 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Fri, Oct 15, 2010 at 12:17 PM, Tony Gentilcore to...@chromium.org wrote: The app has the heuristics. The UA fetches the page and discards it if the page doesn't indicate support. As

Re: [whatwg] SearchBox API

2010-10-14 Thread Robert O'Callahan
On Thu, Oct 14, 2010 at 11:59 AM, Tony Gentilcore to...@chromium.orgwrote: // Dimensions of the portion of the search box (e.g. a dropdown) // that overlaps the window. readonly attribute unsigned long x; readonly attribute unsigned long y; readonly attribute unsigned long width;

Re: [whatwg] SearchBox API

2010-10-14 Thread Diogo Resende
Hi, Are you covering such a use case: user enters a website, goes to the search box (of the browser, not the page), and it is able to search based on suggestions given by the page? I think this would be great and would be a good way to normalize the way people search inside a given page/app. --

Re: [whatwg] SearchBox API

2010-10-14 Thread Jonas Sicking
On Wed, Oct 13, 2010 at 3:59 PM, Tony Gentilcore to...@chromium.org wrote: Hi All, We're adding instant search integration [1] to Google Chrome, allowing the search provider to communicate suggestions to the user agent. If there is interest, we'd like to make sure that we do this in such a

Re: [whatwg] SearchBox API

2010-10-14 Thread Tony Gentilcore
On Thu, Oct 14, 2010 at 8:43 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Oct 13, 2010 at 3:59 PM, Tony Gentilcore to...@chromium.org wrote: Hi All, We're adding instant search integration [1] to Google Chrome, allowing the search provider to communicate suggestions to the user agent.

Re: [whatwg] SearchBox API

2010-10-14 Thread Aryeh Gregor
On Thu, Oct 14, 2010 at 12:12 AM, Peter Kasting pkast...@google.com wrote: The API is completely orthogonal to OpenSearch AFAICT.  OSDDs tell a UA about a search engine and how to search with it.  The proposed DOM additions provide a search engine with information about what the user is doing

Re: [whatwg] SearchBox API

2010-10-14 Thread Peter Kasting
On Thu, Oct 14, 2010 at 11:09 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: If this is meant to be vendor-neutral, there needs to be some way for arbitrary search engines to advertise support for this feature to supporting browsers. That depends on whether the

Re: [whatwg] SearchBox API

2010-10-14 Thread Tony Gentilcore
If this is meant to be vendor-neutral, there needs to be some way for arbitrary search engines to advertise support for this feature to supporting browsers.  In the experimental Chrome implementation, does it just not work if the search engine isn't Google?  If Bing wanted to make use of this

Re: [whatwg] SearchBox API

2010-10-14 Thread Robert O'Callahan
On Fri, Oct 15, 2010 at 12:53 PM, Tony Gentilcore to...@chromium.orgwrote: The simplest way to address this is probably to advertise support via an agreed upon meta tag. e.g. meta name=NavigatorSearchBoxSupport content=true The UA populates the API only if the page advertises support via the

[whatwg] SearchBox API

2010-10-13 Thread Tony Gentilcore
Hi All, We're adding instant search integration [1] to Google Chrome, allowing the search provider to communicate suggestions to the user agent. If there is interest, we'd like to make sure that we do this in such a way that any search provider or user agent can implement it. While the search

Re: [whatwg] SearchBox API

2010-10-13 Thread a...@ashleysheridan.co.uk
to...@chromium.org Date: Wed, Oct 13, 2010 23:59 Subject: [whatwg] SearchBox API To: wha...@whatwg.org Hi All, We're adding instant search integration [1] to Google Chrome, allowing the search provider to communicate suggestions to the user agent. If there is interest, we'd like to make sure that we do

Re: [whatwg] SearchBox API

2010-10-13 Thread Peter Kasting
On Wed, Oct 13, 2010 at 4:12 PM, a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk wrote: Would it not be best to implement this based in the browser search integration thing that allows people to include a search option to a site through the browser, like YouTube, php.net, etc. I can't

Re: [whatwg] SearchBox API

2010-10-13 Thread イアンフェッティ
I think there might be some confusion with default search / adding search providers. When you add a search provider like YouTube or php.net we just take a URL and expand one template parameter with the search query. With instant search this actually doesn't work because you need to provide the

Re: [whatwg] SearchBox API

2010-10-13 Thread Aryeh Gregor
On Wed, Oct 13, 2010 at 7:18 PM, Peter Kasting pkast...@google.com wrote: I can't for the life of me figure out what you're saying. I assume he's saying that this should be integrated into OpenSearch, rather than being specific to the default search provider as the proposed API seems to be.

Re: [whatwg] SearchBox API

2010-10-13 Thread Peter Kasting
On Wed, Oct 13, 2010 at 6:53 PM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Wed, Oct 13, 2010 at 7:18 PM, Peter Kasting pkast...@google.com wrote: I can't for the life of me figure out what you're saying. I assume he's saying that this should be integrated