Revision: 9876
http://languagetool.svn.sourceforge.net/languagetool/?rev=9876&view=rev
Author: jaumeortola
Date: 2013-04-04 21:50:42 +0000 (Thu, 04 Apr 2013)
Log Message:
-----------
[web] Document enabledOnly=yes parameter in http server.
Modified Paths:
--------------
trunk/website/www/http-server/index.php
Modified: trunk/website/www/http-server/index.php
===================================================================
--- trunk/website/www/http-server/index.php 2013-04-04 21:46:27 UTC (rev
9875)
+++ trunk/website/www/http-server/index.php 2013-04-04 21:50:42 UTC (rev
9876)
@@ -58,9 +58,14 @@
<tt>http://localhost:8081/?language=en&disabled=STRANGE_RULE,ANOTHER_RULE&text=my+text</tt><br
/>
<p>In this example, two rules will be disabled: <tt>STRANGE_RULE</tt>
and <tt>ANOTHER_RULE</tt>. Note that there
- should be no space after the comma. In contrast to the
+ should be no space after the comma.</p>
+
+ <p>(Version 2.2) In contrast to the
<a
href="http://wiki.languagetool.org/command-line-options">command-line
options</a>, in server mode you can specify both
- enabled and disabled rules at the same time.</p>
+ enabled and disabled rules at the same time. If you want to disable all
the rules
+ except those explicitly enabled, you can use the parameter
enabledOnly=yes, for example:</p>
+
+
<tt>hhttp://localhost:8081/?language=en&enabled=STRANGE_RULE,ANOTHER_RULE&enabledOnly=yes&text=my+text</tt><br
/>
<p>Note that for a server started from a GUI, a user may configure it
in the configuration dialog box to disable
some unwanted rules. This may be beneficial if the calling program does
not allow configuration of the call to the
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits