|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/markrose/ |
Upload File : |
<HTML>
<meta http-equiv="content-type" content="text-html; charset=utf-8">
<HEAD>
<TITLE>Almeans</TITLE>
<style>
h1
{color:#000080;}
h2
{color:#000080;}
blu
{color:blue;}
</style>
</HEAD>
<BODY BGCOLOR="#C0FFC0" TEXT="#000000">
<!-- Map for Languages -->
<MAP NAME="MetaTable">
<AREA COORDS="0,0,119,17" HREF="ethno.htm">
<!-- Color swatches -->
<AREA COORDS="0,18,17,30" HREF="eastern2.html">
<AREA COORDS="18,18,30,30" HREF="native.htm">
<AREA COORDS="31,18,43,30" HREF="verdurian.htm">
<AREA COORDS="44,18,56,30" HREF="ismain.htm">
<AREA COORDS="57,18,69,30" HREF="bara.htm">
<AREA COORDS="70,18,82,30" HREF="cuezi.htm">
<AREA COORDS="83,18,95,30" HREF="naviu.htm">
<AREA COORDS="96,18,108,30" HREF="axunashin.htm">
<AREA COORDS="109,18,121,30" HREF="xurnash.htm">
<AREA COORDS="122,18,134,30" HREF="chia.htm">
<AREA COORDS="135,18,147,30" HREF="kebreni.htm">
<AREA COORDS="148,18,160,30" HREF="wedei.html">
<AREA COORDS="161,18,173,30" HREF="dhekh.htm">
<AREA COORDS="174,18,186,30" HREF="lenani.htm">
<AREA COORDS="187,18,199,30" HREF="western.htm">
<AREA COORDS="200,18,212,30" HREF="elkaril.htm">
<AREA COORDS="213,18,225,30" HREF="flaidish.htm">
<!-- Intragroup nav -->
<AREA COORDS="120,0,230,17" HREF="verdurian.htm">
<AREA COORDS="231,0,272,17" HREF="phonology.htm">
<AREA COORDS="273,0,314,17" HREF="morphology.htm">
<AREA COORDS="315,0,358,17" HREF="syntax.htm">
<AREA COORDS="359,0,388,17" HREF="refs.htm">
<AREA COORDS="389,0,428,17" HREF="names.htm">
<AREA COORDS="231,18,286,30" HREF="thematic.htm">
<AREA COORDS="287,18,306,30" HREF="eng2ver.htm">
<AREA COORDS="307,18,324,30" HREF="ver2eng.htm">
<AREA COORDS="325,18,371,30" HREF="lessons.htm">
<AREA COORDS="372,18,428,30" HREF="vtexts.htm">
</map>
<!-- VV nav bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#007000"><td colspan=7 height="5">
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000">
<td width="20">
<td width="203" height="50" valign="middle"><a href="virtuver.htm"><img src="illo/vvbase.gif" alt="Virtual Verduria" width="201" height="16"></a>
<td width="77" align="center" valign="middle"><img src="illo/vvcrown.gif" width="36" height="21">
<td valign="middle" align="left">
<img src="illo/vvlgverd.gif" title="Language pages" width="428" height="36" usemap="#MetaTable">
</tr>
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000"><td colspan=7 height="5">
</table>
<form action="" method="POST" name="theform">
<script language="javascript" type="text/javascript">
var reader = new XMLHttpRequest() || new ActiveXObject('MSXML2.XMLHTTP');
var target = "";
var whatSex = 0;
var whatNat = 0;
var whatRule = 0;
// Generate the dictionary
function displayContents() {
roots = 0;
var t = "<table width='100%'>";
t += "<tr><td>Surname</td> ";
t += "<td>Given name</td> ";
t += "<td>Sex</td> ";
t += "<td>Dates</td> ";
t += "<td>Nation</td> ";
t += "<td width='50%'>Remarks</td></tr>";
if(reader.readyState==4) {
var linez = reader.responseText.split("¶");
var ncat = linez.length;
var roots = 0;
for (var w = 0; w < ncat; w++) {
var s = linez[w];
if (s == "" || s.charAt(0) == ' ')
continue;
// Does it match search string?
if (target != "" && s.toLowerCase().indexOf(target) == -1)
continue;
// Check sex
if (whatSex == 1 && s.indexOf("/f /") == -1) continue;
if (whatSex == 2 && s.indexOf("/m /") == -1) continue;
if (whatSex == 3 && s.indexOf("/? /") == -1) continue;
// Check ethnicity
if (whatNat > 0) {
if (whatNat == 1 && s.indexOf("/Bar") == -1) continue;
if (whatNat == 2 && s.indexOf("/Bél") == -1) continue;
if (whatNat == 3 && s.indexOf("/Caď") == -1) continue;
if (whatNat == 4 && s.indexOf("/Cuz") == -1) continue;
if (whatNat == 5 && s.indexOf("/Dhe") == -1) continue;
if (whatNat == 6 && s.indexOf("/DU") == -1) continue;
if (whatNat == 7 && s.indexOf("/Ére") == -1) continue;
if (whatNat == 8 && s.indexOf("/fla") == -1) continue;
if (whatNat == 9 && s.indexOf("/Ism") == -1) continue;
if (whatNat == 10 && s.indexOf("/Keb") == -1) continue;
if (whatNat == 11 && s.indexOf("/Mɔłɔ") == -1) continue;
if (whatNat == 12 && s.indexOf("/Sar") == -1) continue;
if (whatNat == 13 && s.indexOf("/Śai") == -1) continue;
if (whatNat == 14 && s.indexOf("/Šur") == -1) continue;
if (whatNat == 15 && s.indexOf("/Uyt") == -1) continue;
if (whatNat == 16 && s.indexOf("/Ver") == -1) continue;
if (whatNat == 17 && s.indexOf("/Xur") == -1) continue;
if (whatNat == 18 && s.indexOf("/Žés") == -1) continue;
}
// Divide into fields
var colz = s.split("/");
var ncol = colz.length;
// Check rulers
if (whatRule > 0 && ncol > 5) {
var ent = colz[3];
var hyphen = ent.indexOf("-");
if (whatRule == 1 && hyphen == -1) continue;
if (whatRule == 2 && hyphen != -1) continue;
}
// We are go; output this person
roots++;
t += "<tr>";
for (i = 0; i < ncol; i++) {
var ent = colz[i];
t += "<td>";
// Boldface surname
if (i == 0)
ent = ent.bold();
// m and f
if (i == 2 && ent != "") {
var ch = ent.charAt(0);
if (ch == "m") ent = "♂";
if (ch == "f") ent = "♀";
}
// Colorize middle columns
if (i > 1 && i < 5 && ent != "")
{
var temp = "<blu>" + ent + "</blu>";
ent = temp;
}
// Italicize parentheticals
ent = ent.replace(/[(]/g, "<i>(");
ent = ent.replace(/[)]/g, ")</i>");
t += ent + "</td>";
}
t += "</tr>";
}
t += "</table>";
s = roots + " records";
if (target != "")
s += "<br>target: " + target;
var el = document.getElementById('mytext');
el.innerHTML = s + "<p> " + t;
}
}
// Get the target and handle text substitutions
function dotarget() {
var s = theform.targ.value.toLowerCase();
var u = '';
var i;
for (i = 0; i < s.length; i++) {
if (s.charAt(i) == '\\' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'c') u += "č";
if (ch == 'd') u += "ď";
if (ch == 'h') u += "ȟ";
if (ch == 'r') u += "ř";
if (ch == 's') u += "š";
if (ch == 't') u += "ť";
if (ch == 'z') u += "ž";
if (ch == 'a') u += "ā";
if (ch == 'e') u += "ē";
if (ch == 'i') u += "ī";
if (ch == 'o') u += "ō";
if (ch == 'u') u += "ū";
} else if (s.charAt(i) == ':' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "ä";
if (ch == 'e') u += "ë";
if (ch == 'i') u += "ï";
if (ch == 'o') u += "ö";
if (ch == 'u') u += "ü";
} else if (s.charAt(i) == '^' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "â";
if (ch == 'e') u += "ê";
if (ch == 'i') u += "î";
if (ch == 'o') u += "ô";
if (ch == 'u') u += "û";
} else if (s.charAt(i) == '/' && (i+1) < s.length) {
i++;
var ch = s.charAt(i);
if (ch == 'a') u += "á";
if (ch == 'e') u += "é";
if (ch == 'i') u += "í";
if (ch == 'o') u += "ó";
if (ch == 'u') u += "ú";
if (ch == 'h') u += "ḣ";
if (ch == 's') u += "ś";
if (ch == 'z') u += "ź";
} else
u += s.charAt(i);
}
target = u;
}
// User hit the action button. Make things happen!
function process()
{
dotarget();
whatSex = document.theform.Sex.selectedIndex;
whatNat = document.theform.Nation.selectedIndex;
whatRule = document.theform.Rulers.selectedIndex;
// Attempt to read the file
reader.open('get', 'almeans.txt', true);
reader.onreadystatechange = displayContents;
reader.send(null);
}
</script>
<H2>Database of Almeans</H2>
<p><input type="button" value="List" onClick="process();">
- Only words containing <input type="text" name="targ"></input>
<p>Nationality:
<SELECT NAME="Nation">
<OPTION SELECTED>All
<OPTION>Barakhún
<OPTION>Belesao
<OPTION>Caďinas
<OPTION>Cuzei
<OPTION>Dhekhnam
<OPTION>DU
<OPTION>Érenat
<OPTION>Flaids
<OPTION>Ismahi
<OPTION>Kebri
<OPTION>Mɔłɔsɔu
<OPTION>Sarnáe
<OPTION>Śaidahami
<OPTION>Šura
<OPTION>Uytai
<OPTION>Verduria
<OPTION>Xurno
<OPTION>Žésifo
</SELECT>
Sex:
<SELECT NAME="Sex">
<OPTION SELECTED>Any
<OPTION>Female
<OPTION>Male
<OPTION>Other
</SELECT>
Rulers:
<SELECT NAME="Rulers">
<OPTION SELECTED>Everyone
<OPTION>Rulers only
<OPTION>No rulers
</SELECT>
<hr>
<br><div id="mytext"><i>Press List already!</i></div>
<hr>
In the search box you can use /e for é, \e for ē, :e for ë, ^e for ê, /s for ś, /h for ḣ, \r for ř, and so on.
<p>Date ranges are reigns of rulers. A time like 34C means the 34th century, that is, the 3300s. An asterisk indicatesa reign with interruptions.
<p>© 2024 by Mark Rosenfelder.
<p>
<!-- VV nav bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#007000"><td colspan=7 height="5">
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000">
<td width="20">
<td width="203" height="50" valign="middle"><a href="virtuver.htm"><img src="illo/vvbase.gif" alt="Virtual Verduria" width="201" height="16"></a>
<td width="77" align="center" valign="middle"><img src="illo/vvcrown.gif" width="36" height="21">
<td valign="middle" align="left">
<img src="illo/vvlgverd.gif" title="Language pages" width="428" height="36" usemap="#MetaTable">
</tr>
<tr bgcolor="#FFFFFF"><td colspan=7 height="5">
<tr bgcolor="#007000"><td colspan=7 height="5">
</table>
</form>
</BODY></HTML>