Hi Brian,

I haven't looked closely at your searches but I've
already done searches for two of the three searches in
the genealogy addon.  Unfortunately the genealogy
addon on the download page is out of date so look at
the files in CVS - specifically ancestry.xml, lds.xml,
and fhlc.xml.

In the addon I've added a lot of genealogy specific
things like name parsing and place parsing so you can
say lds gates, bill   or   usgw santa clara, ca and it
will parse the pieces appropriately as well as
calculate soundexes, ages, etc.

Since there are so many genealogy searches, it was
decided to group them together as an addon.  Someone
can correct me if that position has changed!!

Brent

--- Brian Phelps <[EMAIL PROTECTED]> wrote:
> Here are three simple scripts for finding your
> ancestors on Ancestry.com,
> FamilySearch.org, and Genealogy.com. I'm working on
> a more sophisticated
> script for www.familysearch.org, but they have a
> number of fields and I
> could use some help setting up the query correctly
> and parsing input. A
> rough version of this script is attached as
> fsadv.xml.
> 
> Regards,
> 
> Brian Phelps
> [EMAIL PROTECTED]
> Phelps TeKnowledge
> 
> "[Leadership] involves . . . a personal and sincere
> interest in the problems
> and concerns of those who are being led and, most
> importantly, a willingness
> to get on one's knees and seek for greater power
> than that which one
> naturally possesses."  
>             --Gordon B. Hinckley 
>  
> > <search function="anc">
>   <name>Ancestry.com Search</name>
>   <description>
>     Search for ancestors on Ancestry.com.<br/>
>     <div class="helpboxDescLabels">Examples:</div>
>     <table class="helpboxDescTable">
>               <tr><td>anc Marcus Welby</td></tr>
>       </table>
>   </description>
>   <category>Search the Web</category>
>   <link>http://www.ancestry.com/</link>
>   <contributor>Brian Phelps</contributor>
>   
>   <form name="searchbox"
>         action="http://www.ancestry.com/rx/gs.asp"; 
>         method="get">
>     <input type="hidden" name="gsfn" size="22"/>
>     <input type="hidden" name="gsln" size="22"/>
>     <input type="hidden" name="ltpop" value="1"/>
>     <input type="hidden" name="gl" value="allgs"/>
>     <input type="hidden" name="prox" value="1"/>
>     <input type="hidden" name="yeart" value="a"/>
>     <input type="hidden" name="ti" value="0"/>
>     <input type="hidden" name="gss" value="anfp"/>
>     <input type="hidden" name="sourceid"
> value="2524"/>
>   </form>
>   
>   <script><![CDATA[
>     function anc(q)
>     {
>       var args = parseArgs(q, "fname, lname");
>       if( nullArgs("anc",q) )
>         return false;
>       else
>       {
>         var res =
>
q.match(/(([^,;\/]+)\W+(([^;\/]+)([A-Z]{2}))\W*(\d{5}(-\d{4})?)?)|([^,;\/]+)\W+(([^;\/]+)([A-Z]{2})?)/i);
>         document.searchbox.gsfn.value = (res[2] ?
> res[2] : "");
>         document.searchbox.gsln.value = (res[3] ?
> res[3] : "");
>         submitForm( searchbox );
>       }
>     }
>   ]]></script>
> </search>> <search function="gene">
>   <name>Genelogy.com</name>
> 
>  <description>Search for ancestors on Genelogy.com. 
> Usage: "gene (first_name) (last_name)" <br/>
>     <div class="helpboxDescLabels">Examples:</div>
>     <table class="helpboxDescTable">
>               <tr><td>gene George Washington</td></tr>
>     </table>
>   </description>
>   <category>Search the Web</category>
>   <link>http://www.genelogy.com/</link>
>   <contributor>Brian Phelps</contributor>
>   
> 
>   <form name="searchForm"
>        
>
action="http://www.genealogy.com/cgi-bin/wizard_search.cgi";
> 
>         method="post">
>       <input maxlength="60" type="hidden" name="FN"/>
>       <input maxlength="60" type="hidden" name="LN"/>
>   </form>
> 
>   
>   <script><![CDATA[
>     function gene(q)
>     {
>       var args = parseArgs(q, "FN, LN");
>       if( nullArgs("gene",q) )
>         return false;
>       else
>       {
>         var res =
>
q.match(/(([^,;\/]+)\W+(([^;\/]+)([A-Z]{2}))\W*(\d{5}(-\d{4})?)?)|([^,;\/]+)\W+(([^;\/]+)([A-Z]{2})?)/i);
>         document.searchForm.FN.value = (res[2] ?
> res[2] : "");
>         document.searchForm.LN.value = (res[3] ?
> res[3] : "");
>         submitForm( searchForm );
>       }
>     }
>   ]]></script>
> </search>
> 
> 
> > <search function="fs">
>   <name>FamilySearch.org</name>
> 
>  <description>Search for ancestors on
> FamilySearch.org.  Usage: "fs (first_name)
> (last_name) <br/>
>     <div class="helpboxDescLabels">Examples:</div>
>     <table class="helpboxDescTable">
>               <tr><td>fs Abraham Lincoln</td></tr>
>     </table>
>   </description>
>   <category>Search the Web</category>
>   <link>http://www.familysearch.org/</link>
>   <contributor>Brian Phelps</contributor>
>   
> 
>   <form name="search"
>        
>
action="http://www.familysearch.org/Eng/Search/ancestorsearchresults.asp";
> 
>         method="post">
>   <input maxlength="60" type="hidden"
> name="first_name"/>
>   <input maxlength="60" type="hidden"
> name="last_name"/>
>   <input type="hidden" name="juris1orig2" value=""
> />
>   <input type="hidden" name="juris1orig3" value=""
> />
>   <input type="hidden" name="juris1orig4" value=""
> />
>   <input type="hidden" name="LDS" value="99"/>
>   <input type="hidden" name="date_range_index"
> value="" />
> </form>
> 
>   
>   <script><![CDATA[
>     function fs(q)
>     {
>       var args = parseArgs(q, "fname, lname");
>       if( nullArgs("fs",q) )
>         return false;
>       else
>       {
>         var res =
>
q.match(/(([^,;\/]+)\W+(([^;\/]+)([A-Z]{2}))\W*(\d{5}(-\d{4})?)?)|([^,;\/]+)\W+(([^;\/]+)([A-Z]{2})?)/i);
>         document.search.first_name.value = (res[2] ?
> res[2] : "");
>         document.search.last_name.value = (res[3] ?
> res[3] : "");
>         submitForm( search );
>       }
>     }
>   ]]></script>
> </search>
> 
> > <search function="fs">
>   <name>FamilySearch.org Search</name>
> 
>  <description>Search for ancestors on
> FamilySearch.org.  Usage: "fs (first_name)
> (last_name)  (fathers_first_name)
> (fathers_last_name) (mothers_first_name)
> (mothers_last_name) (spouses_first_name)
> (spouses_last_name)<br/>
>     <div class="helpboxDescLabels">Examples:</div>
>     <table class="helpboxDescTable">
>               <tr><td>fs Abraham Lincoln</td></tr>
>               <tr><td>fs Abraham Lincoln Thomas
> Lincoln</td></tr>
>               <tr><td>fs Abraham Lincoln ? ? Nancy
> Hanks</td></tr>
>               <tr><td>fs Abraham Lincoln ? ? ? ? Mary
> Todd</td></tr>
>     </table>
>   </description>
>   <category>Search the Web</category>
>   <link>http://www.familysearch.org/</link>
>   <contributor>Brian Phelps</contributor>
>   
> 
>   <form name="search"
>        
>
action="http://www.familysearch.org/Eng/Search/ancestorsearchresults.asp";
> 
>         method="post">
>   <input maxlength="60" type="hidden"
> name="first_name"/>
>   <input maxlength="60" type="hidden"
> name="last_name"/>
>   <input maxlength="60" type="hidden"
> name="fathers_first_name"/>
>   <input maxlength="60" type="hidden"
> name="fathers_last_name"/>
>   <input maxlength="60" type="hidden"
> name="mothers_first_name" />
>   <input maxlength="60" type="hidden"
> name="mothers_last_name"/>
>   <input maxlength="60" type="hidden"
> name="spouses_first_name"/>
>   <input maxlength="60" type="hidden"
> name="spouses_last_name"/>
>   <input type="hidden" name="juris1orig2" value=""
> />
>   <input type="hidden" name="juris1orig3" value=""
> />
>   <input type="hidden" name="juris1orig4" value=""
> />
>   <input type="hidden" name="LDS" value="99"/>
>   <input type="hidden" name="date_range_index"
> value="" />
> </form>
> 
>   
>   <script><![CDATA[
>     function fs(q)
>     {
>       var args = parseArgs(q, "fname, lname");
> //    alert("Value of arguments is "+ q);
>       if( nullArgs("fs",q) )
>         return false;
>       else
>       {
>         var res =
>
q.match(/(([^,;\/]+)\W+(([^;\/]+)([A-Z]{2}))\W*(\d{5}(-\d{4})?)?)|([^,;\/]+)\W+(([^;\/]+)([A-Z]{2})?)/i);
>         alert(res[2]);
>         document.search.first_name.value = (res[2] ?
> res[2] : "");
>         document.search.last_name.value = (res[3] ?
> res[3] : "");
>         document.search.fathers_first_name.value =
> (res[4] ? res[4] : "");
>         document.search.fathers_last_name.value =
> (res[5] ? res[5] : "");
>         document.search.mothers_first_name.value =
> (res[6] ? res[6] : "");
>         document.search.mothers_last_name.value =
> (res[7] ? res[7] : "");
>         submitForm( search );
>       }
>     }
>   ]]></script>
> </search>
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to