If enabled, Konqueror's Web Shortcuts feature lets you submit a query directly to a search engine or similar web site without having to visit the site first.
For example, entering
gg:konqueror
into the Location Bar and pressing Enter
will ask Google™ to search for items related to
Konqueror.
To see what Web Shortcuts are available, and perhaps add your own, use -> to open the Settings dialog box and click on the Web Shortcuts icon.
Once there, to make a new Web Shortcut select and you will now have a new dialog requesting the options and specifications of your new Web Shortcut. The first field is for the human readable name of the search provider; that is, simply the name of the Search provider. For example, Google™.
In the next field you should enter the URI that is used to do a
search on the search engine. The whole text to be searched for can be
specified as \{@}
or
\{0}
. The recommended version is
\{@}
since it removes all query variables
(name
=value
)
from the resulting string whereas \{0}
will be
substituted with the unmodified query string.
You can use \{1}
... \{n}
to specify certain words from the
query and
\{
to specify a value given by
}name
in the user query. In addition it is possible to specify multiple
references (names, numbers and strings) at once, like
=name
value
(\{
. The first
matching value (from the left) will be used as substitution value for
the resulting URI. A quoted string can be used as the default value if
nothing matches from the left of the reference list.
,name1
,...,"name2
string
"})
To make a basic Web Shortcut here however, all that is required
is the URI that is used to do a search on the search
engine. Following our previous example with
Google™, we would enter
http://www.google.com/search?q=\{@}&ie=UTF-8&oe=UTF-8
. You
can often easily find where to place the \{@}
by doing a search on the search engine in question, and then analysing
the URL address. For example, doing a Google™
search for Konqueror produces the URL: http://www.google.com/search?q=konqueror&ie=UTF-8&oe=UTF-8. Now
you need to merely replace Konqueror with
\{@}
in this example to find the appropriate
URI to be entered.
In the third field you need to enter the URI shortcut. For
example, the gg
in
gg:konqueror
. In the next option — the
drop-down menu — you have the option to select the character set that
will be used to encode the search query. Once you have entered all the
options correctly to your satisfaction, press Enter and your new Web
Shortcut should now be available in Konqueror.
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team