Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Getting OSD (OpenSearchDescription) work under Google Chrome or IE7 / IE8 isn't as difficult as mentioned or that these browsers don't support POST requests.</p> <p>With a little bit of tweaking, I found a workaround to the entire problem.</p> <p>My initial code:</p> <pre><code>&lt;Url type="text/html" method="POST" template="http://MySite.com/query.php"&gt; &lt;Param name="sString" value="{searchTerms}"/&gt; &lt;/Url&gt; </code></pre> <p>This code points directly to the query page and passes the value for the sString attribute on my POST request. </p> <p>That works perfectly on FireFox but doesn't quite work well on IE7/IE8 or Google Chrome (I didn't test with Opera or Safari yet..).</p> <hr> <p>Altering the code to the following piece:</p> <pre><code>&lt;Url type="text/html" template="http://MySite.com/query.php?sString={searchTerms}"&gt;&lt;/Url&gt; </code></pre> <ul> <li>Removing <strong>method="POST"</strong> from the element</li> <li>Replacing <strong><em>/query.php</em></strong> with the actual page call: <strong><em>/query.php?sString={searchTerms}</em></strong></li> <li>Removing the now unnecessary "<code>&lt;Param name="sString" value="{searchTerms}"/&gt;</code>"</li> </ul> <p>Resolved my problem of incompatibility with those browsers.</p> <p>All calls are directly headed to the query page and even it initially was a POST request, it now work on both IE7/IE8 and Google Chrome.</p> <p>Thanks again adrianbanks for providing me with your xml file which led to the solution!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload