View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd/searches
In directory usw-pr-cvs1:/tmp/cvs-serv3261
Modified Files:
af.xml
Log Message:
Now opens direct GET link instead of using a form POST when not using switches,
significantly quicker on Mozilla.
Index: af.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/searches/af.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** af.xml 30 Aug 2002 03:24:56 -0000 1.9
--- af.xml 28 Sep 2002 00:47:16 -0000 1.10
***************
*** 1,70 ****
! <search function="af">
! <name>AcronymFinder</name>
! <description>
! Find an acronym on AcronymFinder.<br/>
! <div class="helpboxDescLabels">Switches:</div>
! <table class="helpboxDescTable">
! <tr><td>/exact</td><td> - </td><td>Exact Match (default)</td></tr>
! <tr><td>/reverse</td><td> - </td><td>Reverse Lookup (boolean AND keyword
searches in acronym meanings)</td></tr>
! <tr><td>/begins_with</td><td> - </td><td>The search uses a wildcard character
at the end of the acronym you type, so entering "AFR" would return all acronyms
beginning with AFR -- AFR, AFRA, AFRC, AFREP, etc.</td></tr>
! <tr><td>/wildcard</td><td> - </td><td>To find meanings for any acronym
containing the search string. A search for AFR using this option would return
meanings for AFR, AFRT, MAFR, etc.</td></tr>
! </table>
! <div class="helpboxDescLabels">Example:</div>
! <table class="helpboxDescTable">
! <tr><td>af SCUBA</td></tr>
! <tr><td>af laugh loud /rev</td></tr>
! </table>
! </description>
! <category>Reference</category>
! <link>http://www.acronymfinder.com/</link>
! <contributor>Nikolai Devereaux</contributor>
! <email>nikolai_at_bigaction_dot_org</email>
!
! <form name="aff"
! action="http://www.acronymfinder.com/af-query.asp"
! method="get">
! <input type="hidden" name="String" value="exact"/>
! <input type="hidden" name="Acronym"/>
! </form>
!
! <script><![CDATA[
! function af(q)
! {
! if( nullArgs("af", q) )
! return false;
!
! document.aff.String.value = "exact";
!
! var args = parseArgs(q, "exact, begins_with, wildcard, reverse" );
! if ( args.q == "" )
! {
! nullArgs( "af", "?" );
! return false;
! }
! else if ( args.switches.length >= 1 )
! {
! q = args.q;
! switch( args.switches[0].name )
! {
! case "begins_with":
! document.aff.String.value = "off"; break;
! case "wildcard":
! document.aff.String.value = "wildcard"; break;
! case "reverse":
! document.aff.String.value = "on"; break;
! case "exact":
! default:
! }
! }
!
! document.aff.Acronym.value = q;
! submitForm(aff);
! }
! ]]></script>
!
! <copyright>
! Copyright (c) 2002 David Bau
! Distributed under the terms of the
! GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
! </copyright>
! </search>
--- 1,75 ----
! <search function="af">
! <name>AcronymFinder</name>
! <description>
! Find an acronym on AcronymFinder.<br/>
! <div class="helpboxDescLabels">Switches:</div>
! <table class="helpboxDescTable">
! <tr><td>/exact</td><td> - </td><td>Exact Match (default)</td></tr>
! <tr><td>/reverse</td><td> - </td><td>Reverse Lookup (boolean AND keyword
searches in acronym meanings)</td></tr>
! <tr><td>/begins_with</td><td> - </td><td>The search uses a wildcard character
at the end of the acronym you type, so entering "AFR" would return all acronyms
beginning with AFR -- AFR, AFRA, AFRC, AFREP, etc.</td></tr>
! <tr><td>/wildcard</td><td> - </td><td>To find meanings for any acronym
containing the search string. A search for AFR using this option would return
meanings for AFR, AFRT, MAFR, etc.</td></tr>
! </table>
! <div class="helpboxDescLabels">Example:</div>
! <table class="helpboxDescTable">
! <tr><td>af SCUBA</td></tr>
! <tr><td>af laugh loud /rev</td></tr>
! </table>
! </description>
! <category>Reference</category>
! <link>http://www.acronymfinder.com/</link>
! <contributor>Nikolai Devereaux</contributor>
! <email>nikolai_at_bigaction_dot_org</email>
!
! <form name="aff"
! action="http://www.acronymfinder.com/af-query.asp"
! method="get">
! <input type="hidden" name="String" value="exact"/>
! <input type="hidden" name="Acronym"/>
! </form>
!
! <script><![CDATA[
! function af(q)
! {
! if( nullArgs("af", q) )
! return false;
!
! document.aff.String.value = "exact";
!
! var args = parseArgs(q, "exact, begins_with, wildcard, reverse" );
! if ( args.q == "" )
! {
! nullArgs( "af", "?" );
! return false;
! }
! else if ( args.switches.length >= 1 )
! {
! q = args.q;
! switch( args.switches[0].name )
! {
! case "begins_with":
! document.aff.String.value = "off"; break;
! case "wildcard":
! document.aff.String.value = "wildcard"; break;
! case "reverse":
! document.aff.String.value = "on"; break;
! case "exact":
! default:
! }
! }
! else
! {
!
openSearchWindow("http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=" +
q);
! return false;
! }
!
! document.aff.Acronym.value = q;
! submitForm(aff);
! }
! ]]></script>
!
! <copyright>
! Copyright (c) 2002 David Bau
! Distributed under the terms of the
! GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
! </copyright>
! </search>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/