View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Update of /cvsroot/dqsd/dqsd/addons/genealogy
In directory usw-pr-cvs1:/tmp/cvs-serv18581/addons/genealogy

Modified Files:
        cadi.xml kydi.xml mi1870.xml 
Log Message:
updated some more searches

Index: cadi.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/addons/genealogy/cadi.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cadi.xml    22 Aug 2002 20:23:50 -0000      1.2
--- cadi.xml    27 Oct 2002 18:55:41 -0000      1.3
***************
*** 1,13 ****
  <search function="cadi">
-   <COMMENT>
- 
-     This search file was initially created by Dave's Quick Search Deskbar
-     Search Wizard version 0.4 (beta) on 08/18/02 at 21:07:59
- 
-     Even though this XML search will probably load and is a healthy start
-     toward a completed search, please be aware that this search will probably
-     not work as is and will require some human inspection and modification.
- 
-   </COMMENT>
    <name>California Death Index 1940-1997</name>
    <category>Genealogy</category>
--- 1,3 ----
***************
*** 16,26 ****
    <email></email>
    <description>
    </description>
    <form name="cadif"
          method="post"
          action="http://vitals.rootsweb.com/ca/death/search.cgi";>
- 
-     <COMMENT> The following field was active (i.e. had focus) when the search was 
generated. </COMMENT>
- 
      <input type="hidden" name="surname" value="" />
      <input type="hidden" name="stype" value="" />
--- 6,27 ----
    <email></email>
    <description>
+     Search the California Death Index from 1940-1997<br/>
+     <div class="helpboxDescLabels">Switches:</div>
+       <table class="helpboxDescTable">
+               <tr><td>/birthplace</td><td> - </td><td>Specify birth place 
+state</td></tr>
+               <tr><td>/father</td><td> - </td><td>Specify father's last 
+name</td></tr>
+               <tr><td>/mother</td><td> - </td><td>Specify mother's maiden 
+name</td></tr>
+               <tr><td>/sex</td><td> - </td><td>Specify sex: Male or Female</td></tr>
+       </table>
+     <div class="helpboxDescLabels">Examples:</div>
+     <table class="helpboxDescTable">
+       <tr><td>cadi McGlashan</td></tr>
+       <tr><td>cadi mcglashan /m beaver</td></tr>
+       <tr><td>cadi mcglashan /s f</td></tr>
+     </table>
    </description>
    <form name="cadif"
          method="post"
          action="http://vitals.rootsweb.com/ca/death/search.cgi";>
      <input type="hidden" name="surname" value="" />
      <input type="hidden" name="stype" value="" />
***************
*** 38,50 ****
      <input type="hidden" name="flast" value="" />
      <input type="hidden" name="sex" value="" />
-     <COMMENT>
-       The input element above, "sex", was a SELECT element with the following 
options...
-       <select name="sex">
-         <option value="">Any</option>
-         <option value="1">Male</option>
-         <option value="2">Female</option>
-       </select>
-     </COMMENT>
- 
      <input type="hidden" name="year" value="" />
      <input type="hidden" name="bplace" value="" />
--- 39,42 ----
***************
*** 255,277 ****
          return;
  
!       if( q == "" )
!       {
!         openSearchWindow("http://userdb.rootsweb.com/ca/death/search.cgi";);
!         return;
        }
  
!       // FORM variables for cadif
  
!       // The wizard assigned the search string to this form field value because
!       // this field was the active element when the search file was generated.
!       // Change this to args.q if the search string is parsed with parseArgs.
!       document.cadif.surname.value = genealogy_parse_surname(q);
        document.cadif.stype.value = "";
!       document.cadif.given.value = genealogy_parse_givenname(q);
!       document.cadif.mlast.value = "";
!       document.cadif.flast.value = "";
!       document.cadif.sex.value = "";
        document.cadif.year.value = "";
!       document.cadif.bplace.value = "";
        document.cadif.dyear.value = "";
        document.cadif.dplace.value = "";
--- 247,288 ----
          return;
  
!       var args = genealogy_parseArgs(q, "birthplace, sex, type, mother, father"); 
!       var sex = "";
!       if (genealogy_hasArg(args, "sex")) {
!       sex = args.switch_val["sex"];
!         var sexList =   new Array("Any", "Male", "Female");
!       var sexValue =  new Array("",    "1",     "2");
!       for (var i=0; i < sexList.length; i++) {
!          if (sexList[i].match(new RegExp("^"+sex, "i"))) {
!            sex = sexValue[i];
!            break;
!          }
!       }
!       if (i == sexList.length) {
!         sex = "";
!       }
!       }
!       var birthplace = "";
!       if (genealogy_hasArg(args, "birthplace")) {
!       birthplace = 
genealogy_lookup_place_abbrev(args.switch_val["birthplace"]).toUpperCase();
        }
  
!       var fatherlast = "";
!       if (genealogy_hasArg(args, "father")) {
!       fatherlast = genealogy_parse_surname(args.switch_val["father"]);
!       }
!       var motherlast = "";
!       if (genealogy_hasArg(args, "mother")) {
!       motherlast = genealogy_parse_surname(args.switch_val["mother"]);
!       }
  
!       document.cadif.surname.value = genealogy_parse_surname(args.q);
!       document.cadif.given.value = genealogy_parse_givenname(args.q);
        document.cadif.stype.value = "";
!       document.cadif.mlast.value = motherlast;
!       document.cadif.flast.value = fatherlast;
!       document.cadif.sex.value = sex;
        document.cadif.year.value = "";
!       document.cadif.bplace.value = birthplace;
        document.cadif.dyear.value = "";
        document.cadif.dplace.value = "";

Index: kydi.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/addons/genealogy/kydi.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** kydi.xml    22 Aug 2002 20:23:50 -0000      1.2
--- kydi.xml    27 Oct 2002 18:55:41 -0000      1.3
***************
*** 1,13 ****
  <search function="kydi">
-   <COMMENT>
- 
-     This search file was initially created by Dave's Quick Search Deskbar
-     Search Wizard version 0.4 (beta) on 08/18/02 at 21:22:24
- 
-     Even though this XML search will probably load and is a healthy start
-     toward a completed search, please be aware that this search will probably
-     not work as is and will require some human inspection and modification.
- 
-   </COMMENT>
    <name>Kentucky Death Index 1911-2000</name>
    <category>Genealogy</category>
--- 1,3 ----
***************
*** 16,27 ****
    <email></email>
    <description>
!   Search Kentucky Death Index 1911-2000
    </description>
    <form name="kydif"
          method="post"
          action="http://vitals.rootsweb.com/ky/death/search.cgi";>
- 
-     <COMMENT> The following field was active (i.e. had focus) when the search was 
generated. </COMMENT>
- 
      <input type="hidden" name="last" value="" />
      <input type="hidden" name="stype" value="" />
--- 6,19 ----
    <email></email>
    <description>
!   Search Kentucky Death Index 1911-2000<br/>
!     <div class="helpboxDescLabels">Examples:</div>
!     <table class="helpboxDescTable">
!       <tr><td>kydi brown</td></tr>
!       <tr><td>kydi brown, john</td></tr>
!     </table>
    </description>
    <form name="kydif"
          method="post"
          action="http://vitals.rootsweb.com/ky/death/search.cgi";>
      <input type="hidden" name="last" value="" />
      <input type="hidden" name="stype" value="" />
***************
*** 34,38 ****
        </select>
      </COMMENT>
- 
      <input type="hidden" name="first" value="" />
      <input type="hidden" name="county" value="" />
--- 26,29 ----
***************
*** 163,170 ****
        </select>
      </COMMENT>
- 
      <input type="hidden" name="residence" value="" />
      <input type="hidden" name="year" value="" />
    </form>
    <script src="addons/genealogy/genealogy_lib.js"></script>
    <script><![CDATA[
--- 154,161 ----
        </select>
      </COMMENT>
      <input type="hidden" name="residence" value="" />
      <input type="hidden" name="year" value="" />
    </form>
+ 
    <script src="addons/genealogy/genealogy_lib.js"></script>
    <script><![CDATA[
***************
*** 174,191 ****
          return;
  
-       if( q == "" )
-       {
-         openSearchWindow("http://vitals.rootsweb.com/ky/death/search.cgi";);
-         return;
-       }
- 
-       // FORM variables for kydif
- 
-       // The wizard assigned the search string to this form field value because
-       // this field was the active element when the search file was generated.
-       // Change this to args.q if the search string is parsed with parseArgs.
        document.kydif.last.value = genealogy_parse_surname(q);
-       //document.kydif.stype.value = "";
        document.kydif.first.value = genealogy_parse_givenname(q);
        //document.kydif.county.value = "";
        //document.kydif.residence.value = "";
--- 165,171 ----
          return;
  
        document.kydif.last.value = genealogy_parse_surname(q);
        document.kydif.first.value = genealogy_parse_givenname(q);
+       //document.kydif.stype.value = "";
        //document.kydif.county.value = "";
        //document.kydif.residence.value = "";

Index: mi1870.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/addons/genealogy/mi1870.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mi1870.xml  10 Oct 2002 04:48:38 -0000      1.3
--- mi1870.xml  27 Oct 2002 18:55:41 -0000      1.4
***************
*** 7,18 ****
                <tr><td>/county</td><td> - </td><td>Specify county name</td></tr>
        </table>
!     <div class="helpboxDescLabels">Usage:</div>
!       <table class="helpboxDescTable">
!               <tr><td>mi1870 /county:&lt;<i>county name</i>&gt; &lt;<i>last 
name</i>&gt;</td></tr>
!       </table>
!     <div class="helpboxDescLabels">Example:</div>
      <table class="helpboxDescTable">
!               <tr><td>mi1870 McCoy</td></tr>
!       </table>
    </description>
    <category>Genealogy
--- 7,15 ----
                <tr><td>/county</td><td> - </td><td>Specify county name</td></tr>
        </table>
!     <div class="helpboxDescLabels">Examples:</div>
      <table class="helpboxDescTable">
!       <tr><td>mi1870 McCoy</td></tr>
!       <tr><td>mi1870 jones, eliza /county berrien</td></tr>
!     </table>
    </description>
    <category>Genealogy
***************
*** 39,56 ****
                return false;
  
!         document.mi1870f.County.value = "";
!       var args = parseArgs(q, "county");
!       if (args != null) {
!               if (args.switches.length == 1) {
!                       if (args.switches[0].name == "county") {
!                               document.mi1870f.County.value =  
args.switch_val["county"];
!                       }
!               }
!               document.mi1870f.Last_Name.value = genealogy_parse_surname(q);
!               document.mi1870f.First_Name.value = genealogy_parse_givenname(q);
!               submitForm(mi1870f);
!               return;
        }
!       nullArgs("mi1870", "?");
      }
    ]]></script>
--- 36,48 ----
                return false;
  
!       var county = "";
!       var args = genealogy_parseArgs(q, "county");
!       if (genealogy_hasArg(args, "county")) {
!               county = args.switch_val["county"];
        }
!         document.mi1870f.County.value = county;
!       document.mi1870f.Last_Name.value = genealogy_parse_surname(args.q);
!       document.mi1870f.First_Name.value = genealogy_parse_givenname(args.q);
!       submitForm(mi1870f);
      }
    ]]></script>




-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Reply via email to