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-serv5483/addons/genealogy

Modified Files:
        gentoday.xml 
Log Message:
updated gentoday

Index: gentoday.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/addons/genealogy/gentoday.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** gentoday.xml        22 Aug 2002 20:23:50 -0000      1.2
--- gentoday.xml        21 Sep 2002 07:47:22 -0000      1.3
***************
*** 2,9 ****
    <name>Genealogy Today State Pages</name>
    <description>
!     Goto Genealogy Today  State web pages.<br/>
      <div class="helpboxDescLabels">Examples:</div>
      <table class="helpboxDescTable">
!       <tr><td>gentoday mi</td></tr>
        <tr><td>gentoday virginia</td></tr>
      </table>
--- 2,9 ----
    <name>Genealogy Today State Pages</name>
    <description>
!     Goto Genealogy Today State web pages.<br/>
      <div class="helpboxDescLabels">Examples:</div>
      <table class="helpboxDescTable">
!       <tr><td>gentoday berrien, mi</td></tr>
        <tr><td>gentoday virginia</td></tr>
      </table>
***************
*** 23,33 ****
          return false;
  
!       var links = 
genealogy_get_known_page_links("http://genealogytoday.com/genealogy/states/";, "(.*?) 
State Genealogy$");
!       var search_place_num = genealogy_lookup_place(q);
        if (search_place_num >= 0) {
!         openSearchWindow(links[search_place_num]);
!       } else {
!       openSearchWindow("http://genealogytoday.com/genealogy/states/";);
        }
      }
      ]]>
--- 23,45 ----
          return false;
  
!       if (!genealogy_check_lib_version("1.3")) {
!       return false;
!       }
! 
!       var search_url = "http://genealogytoday.com/genealogy/states/";;
!       var state = genealogy_parse_place_state(q);
!       var county = genealogy_parse_place_county(q);
!       var links = genealogy_get_known_page_links(search_url, "(.*?) Genealogy( 
Sites)?$");
!       var search_place_num = genealogy_lookup_place(state);
        if (search_place_num >= 0) {
!         search_url = links[search_place_num];
!         if (county.length > 0) {
!         var linkToOpen = genealogy_get_page_link_named(search_url, 
county.replace(new RegExp("\\s","gim"), "_"));
!         if (linkToOpen.length > 0) {
!             search_url = linkToOpen;
!         }
!       }
        }
+       openSearchWindow(search_url);
      }
      ]]>




-------------------------------------------------------
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/

Reply via email to