EnglishFrenchSpanish

OnWorks favicon

opensearch-genquery - Online in the Cloud

Run opensearch-genquery in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command opensearch-genquery that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


opensearch-genquery - Output the URL of a query generated from an OpenSearch Description

SYNOPSIS


opensearch-genquery [-q] [-H] [-A] [-R] [-c COUNT] [-i INDEX] [-p PAGENUM] [-l LANG]
[-O ENC] [-I ENC] URL SEARCH TERMS...

DESCRIPTION


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.

OPTIONS


-q Give no output on errors. In this case, consult the exit code to determine errors (See
"DIAGNOSTICS").

-H Request HTML response.

-A Request Atom response.

-R Request RSS response.

-H, -A, and -R can be combined to express response type priority and specify fallback
types.

-c COUNT, --count=COUNT
Request COUNT results.

OpenSearch parameter: count.

-i INDEX, --startindex=INDEX
Request results start at offset NUM.

OpenSearch parameter: startIndex.

-p PAGENUM, --startpage=PAGENUM
Request results page PAGENUM.

OpenSearch parameter: pageIndex.

-l LANG, --language=LANG
Request results in LANG. LANG should be a 2-letter ISO country code (e.g. en or de).

OpenSearch parameter: language.

-O ENC, --outputencoding=ENC
Request results encoded in ENC (default: UTF-8).

OpenSearch parameter: outputEncoding.

-I ENC, --inputencoding=ENC
Specify search terms are encoded in ENC (default: UTF-8).

OpenSearch parameter: inputEncoding.

-h, --help
Show a short help message.

-- End of options.

DIAGNOSTICS


The exit code can be consulted to determine errors, as follows:

0 - Success.
1 - Error fetching OpenSearch Description URL.
2 - Error parsing OpenSearch Description.
3 - No matching search type found.
4 - Cannot find perl module WWW::OpenSearch.
5 - Unhandled error from WWW::OpenSearch.

DEPENDENCIES


Requires the module WWW::OpenSearch (Debian package libwww-opensearch-perl).

Use opensearch-genquery online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad