Closed
Bug 1056292
Opened 10 years ago
Closed 7 years ago
Add facet endpoints to open search plugins
Categories
(Firefox for Android Graveyard :: Search Activity, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: eedens, Unassigned)
References
Details
We need to support faceted end points (Bug 1042960). Since we are depending on the opensearch plugins to specify search engine information, we could add facets as <Url> elements. We can use Bing.xml [1] as an example, where there are different Url entities (differentiated by the `type` attr) for both phone and tablet screen sizes. http://dxr.mozilla.org/mozilla-central/source/mobile/locales/en-US/searchplugins/bing.xml
Reporter | ||
Comment 1•10 years ago
|
||
We can extract the user's current query by using the {searchTerms} param from the open search files, http://dxr.mozilla.org/mozilla-central/source/mobile/locales/en-US/searchplugins/bing.xml#20
Blocks: 1041604
Reporter | ||
Comment 2•10 years ago
|
||
Whoops, note meant for bug 1041604
Comment 3•10 years ago
|
||
I'll note that "type" is probably the wrong approach here, and we should be using phone/tablet/etc as rel values, since "type" means what type of response is expected, and they'll all be text/html...
Reporter | ||
Comment 4•10 years ago
|
||
rel it is! From email discussion: > Mike Connor <mconnor@mozilla.com> wrote: > http://www.opensearch.org/Specifications/OpenSearch/1.1#Url_rel_values is > probably a good start. We recently added |rel=“searchform”| to the desktop > side to replace the old MozSearch <SearchForm> element. > > In terms of facets, I would suggest we would define as many rel values as we > want to use, and present native facets based on the presence of <Url> > elements with the correct rel attribute. Here's an example of using rel: http://dxr.mozilla.org/mozilla-central/source/browser/locales/en-US/searchplugins/google.xml#35
Comment 5•7 years ago
|
||
This is an ex-Search Activity now (bug 1221344).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•