<?xml version="1.0" ?><!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN""dtd/kdedbx45.dtd" [<!ENTITY % addindex "IGNORE"><!ENTITY % English "INCLUDE" > <!-- change language only here -->]><article id="ebrowsing" lang="&language;"><articleinfo><title>Web Shortcuts</title><authorgroup><author>&Krishna.Tateneni; &Krishna.Tateneni.mail;</author><author>&Yves.Arrouye; &Yves.Arrouye.mail;</author><!-- TRANS:ROLES_OF_TRANSLATORS --></authorgroup><date>2013-05-30</date><releaseinfo>&kde; 4.11</releaseinfo><keywordset><keyword>KDE</keyword><keyword>Systemsettings</keyword><keyword>enhanced browsing</keyword><keyword>web shortcuts</keyword><keyword>browsing</keyword></keywordset></articleinfo><sect1 id="ebrowse"><title>Web Shortcuts</title><sect2 id="ebrowse-intro"><title>Introduction</title><para>&konqueror; offers some features to enhance your browsingexperience. One such feature is <emphasis>Web Shortcuts</emphasis>.</para><para>You may already have noticed that &kde; is very Internet friendly.For example, you can click on the <guimenuitem>Run</guimenuitem> menuitem or type the keyboard shortcut assigned to that command (<keycomboaction="simul">&Alt;<keycap>F2</keycap></keycombo>,unless you have changed it) and type in a &URI;.<footnote><para>Uniform Resource Identifier. A standardized way ofreferring to a resource such as a file on your computer, a World WideWeb address, an email address,<abbrev>etc...</abbrev>.</para></footnote></para><para>Web shortcuts, on the other hand, let you come up with new pseudo&URL; schemes, or shortcuts, that basically let you<emphasis>parameterize</emphasis> commonly used&URI;s. For example, if you like the Google searchengine, you can configure &kde; so that a pseudo &URL;scheme like <emphasis>gg</emphasis> will trigger a search onGoogle. This way, typing <userinput>gg:<replaceable>myquery</replaceable></userinput> will search for <replaceable>myquery</replaceable> on Google.</para><note><para>One can see why we call these pseudo &URL;schemes. They are used like a &URL; scheme, but theinput is not properly &URL; encoded, so one will type<userinput>google:kde apps</userinput> and not<userinput>google:kde+apps</userinput>.</para></note><para>You can use webshortcuts wherever you would normally use&URI;s. Shortcuts for several search engines shouldalready be configured on your system, but you can add new keywords, andchange or delete existing ones in this module. </para></sect2><sect2 id="ebrowse-use"><title>Web Shortcuts</title><para>The descriptive names of defined web shortcuts are shown in alist box. As with other lists in &kde;, you can click on a columnheading to toggle the sort order between ascending anddescending, and you can resize the columns.</para><para>At the bottom of the list the option <guilabel>Enable Web shortcuts</guilabel>has to be checked to enable this feature. Use the buttons on the right tocreate, modify or delete shortcuts.</para><para>If <guilabel>Use preferred shortcuts only</guilabel> is checked, onlyweb shortcuts marked as preferred in the third column of the listare used in places where only a few selectshortcuts can be shown at one time.</para><para>Below the list you find two additional options:</para><variablelist><varlistentry><term><guilabel>Default Web shortcuts</guilabel></term><listitem><para>Select the search engine to use for input boxes that provide automaticlookup services when you type in normal words and phrases instead of a &URL;.To disable this feature select <guilabel>None</guilabel> from the list.</para></listitem></varlistentry><varlistentry><term><guilabel>Keyword delimiter</guilabel></term><listitem><para>Choose the delimiter that separates the keyword from the phrase or word tobe searched.</para></listitem></varlistentry></variablelist><para>If you double-click on a specific entry in the list of definedsearch providers or click the <guibutton>Change</guibutton> button,the details for that entry are shown in a popupdialog. In addition to the descriptive name for the item, you canalso see the &URI; which is used, as well as theassociated shortcuts which you can type anywhere in &kde; where&URI;s are expected. A given search provider can havemultiple shortcuts, each separated by a comma.</para><para> The text boxes are used not only for displaying informationabout an item in the list of web shortcuts, but also for modifying oradding new items.</para><para>You can change the contents of either the <guilabel>ShortcutURL</guilabel> or the <guilabel>Shortcuts</guilabel> text box.Click <guibutton>OK</guibutton> to save your changes or<guibutton>Cancel</guibutton> to exit the dialog with nochanges.</para><para>If you examine the contents of the <guilabel>ShortcutsURL</guilabel> text box, you will find that most, if not all of theentries have a <option>\{@}</option> in them. This sequence of fourcharacters acts as a parameter, which is to say that they are replacedby whatever you happen to type after the colon character that isbetween a shortcut and its parameter. To add this query placeholderto a shortcuts url, click on the button at the right of the text box.Let's consider some examples to clarify how to use web shortcuts.</para><para>Suppose that the &URI; is<userinput>http://www.google.com/search?q=\{@}</userinput>, and<userinput>gg</userinput> is a shortcut to this&URI;. Then, typing<userinput>gg:<replaceable>alpha</replaceable></userinput> isequivalent to<userinput>http://www.google.com/search?q=<replaceable>alpha</replaceable></userinput>.You could type anything after the <userinput>:</userinput> character;whatever you have typed simply replaces the <option>\{@}</option>characters, after being converted to the appropriate character set forthe search provider and then properly&URL;-encoded. Only the <option>\{@}</option> part ofthe search &URI; is touched, the rest of it issupposed to be properly &URL;-encoded already and isleft as is.</para><para>You can also have shortcuts without parameters. Suppose the&URI; was<emphasis>file:/home/me/mydocs/calligra/words</emphasis> and theshortcut was <emphasis>mywords</emphasis>. Then, typing<userinput>mywords:</userinput> is the same as typing the complete&URI;. Note that there is nothing after the colonwhen typing the shortcut, but the colon is still required in order forthe shortcut to be recognized as such.</para><para>By now, you will have understood that even though these shortcutsare called web shortcuts, they really are shortcuts to parameterized&URI;s, which can point not only to web sites likesearch engines but also to anything else that can be pointed to by a&URI;. Web shortcuts are a very powerful feature ofnavigation in &kde;.</para></sect2></sect1></article>