Documentation/Source/eric6.Helpviewer.OpenSearch.OpenSearchEngine.html

changeset 4739
bbd2cc223fc7
parent 3673
e26d7d0c1088
child 6123
39cd368143db
diff -r dc1a0d2e3263 -r bbd2cc223fc7 Documentation/Source/eric6.Helpviewer.OpenSearch.OpenSearchEngine.html
--- a/Documentation/Source/eric6.Helpviewer.OpenSearch.OpenSearchEngine.html	Sun Feb 14 13:09:41 2016 +0100
+++ b/Documentation/Source/eric6.Helpviewer.OpenSearch.OpenSearchEngine.html	Sun Feb 14 13:19:05 2016 +0100
@@ -465,6 +465,30 @@
 <b>setSearchUrlTemplate</b>(<i>searchUrlTemplate</i>)
 <p>
         Public method to set the engine search URL template.
+</p><p>
+        The URL template is processed according to the specification:
+        <a
+          href="http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_URL_template_syntax">
+        http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_URL_template_syntax</a>
+</p><p>
+        A list of template parameters currently supported and what they are
+        replaced with:
+        <table>
+        <tr><td><b>Parameter</b></td><td><b>Value</b></td></tr>
+        <tr><td>{count}</td><td>20</td></tr>
+        <tr><td>{startIndex}</td><td>0</td></tr>
+        <tr><td>{startPage}</td><td>0</td></tr>
+        <tr><td>{language}</td>
+          <td>the default language code (RFC 3066)</td></tr>
+        <tr><td>{country}</td>
+          <td>the default language code (RFC 3066) converted to lower
+              case</td></tr>
+        <tr><td>{inputEncoding}</td><td>UTF-8</td></tr>
+        <tr><td>{outputEncoding}</td><td>UTF-8</td></tr>
+        <tr><td>{searchTerms}</td><td>the string supplied by the user</td></tr>
+        <tr><td>{*:source}</td>
+          <td>application name, QCoreApplication::applicationName()</td></tr>
+        </table>
 </p><dl>
 <dt><i>searchUrlTemplate</i></dt>
 <dd>

eric ide

mercurial