OPENSEARCH-GENQUERY(1) | User Contributed Perl Documentation | OPENSEARCH-GENQUERY(1) |
opensearch-genquery - Output the URL of a query generated from an OpenSearch Description
opensearch-genquery [-q] [-H] [-A] [-R] [-c COUNT] [-i INDEX] [-p PAGENUM] [-l LANG] [-O ENC] [-I ENC] URL SEARCH TERMS...
Output the URL of a query generated from an OpenSearch Description file at URL, with the specified SEARCH TERMS and other options filled in.
If multiple search types are available, -H, -A and -R can be used to specify which type is wanted. For example, -A -R can be used to request an Atom response, or failing that fall back to RSS. By default the first URL found in the description file is used.
Not all web sites implement all (or any) of the optional OpenSearch parameters. When used with those sites, the corresponding options will be silently ignored.
-H, -A, and -R can be combined to express response type priority and specify fallback types.
OpenSearch parameter: count.
OpenSearch parameter: startIndex.
OpenSearch parameter: pageIndex.
OpenSearch parameter: language.
OpenSearch parameter: outputEncoding.
OpenSearch parameter: inputEncoding.
The exit code can be consulted to determine errors, as follows:
Requires the module WWW::OpenSearch (Debian package libwww-opensearch-perl).
Only supports GET queries.
Please report any bugs found to ianb@erislabs.net
opensearch(1), opensearch-discover(1), surfraw(1), WWW::OpenSearch(3pm), <http://www.opensearch.org/>
Ian Beckwith <ianb@erislabs.net>
Copyright 2006 Ian Beckwith <ianb@erislabs.net>
Licensed under the same terms as surfraw.
2021-01-02 | perl v5.32.0 |