Multiple search terms

38 views
Skip to first unread message

Morgan Ramsay

unread,
Sep 18, 2009, 6:46:06 AM9/18/09
to opens...@googlegroups.com
Many forms request two or more terms to perform a query. For example, the last
and first names are requested terms in the following URL:

http://fundrace.huffingtonpost.com/neighbors.php?type=name&lname=&fname=

The current OpenSearch specification does not appear to allow for delimited
search patterns, or at least nothing jumped out at me. Is there a way to perform
a search for multiple terms currently? If not, what is the process for adding
that feature, by request or implementation, to the next specification? Thank
you. --Morgan

Ed Summers

unread,
Sep 18, 2009, 11:09:58 AM9/18/09
to opens...@googlegroups.com

Could you possibly use something like:

http://fundrace.huffingtonpost.com/neighbors.php?type=name&name={searchTerms}&lname={huff:lname}&fname={huff:fname}

This would allow you to continue to use your existing search form, but
would require you to add server side functionality that would look for
a 'name' parameter that would presumably take a value like 'Morgan
Ramsey'.

If you think about it from a browser toolbar perspective (where you
have a single box to enter your search into) how would a browser
programatically allow someone to interact with an opensearch target
that didn't define searchTerms?

That's my take on your question at least, Perhaps someone else can
provide more insight here.

//Ed

Reply all
Reply to author
Forward
0 new messages