-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (22 loc) · 1.34 KB
/
index.html
File metadata and controls
25 lines (22 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<title>GEDCOM 7 Validator</title>
<meta charset="utf-8">
<script type="module" src="simpleValidator.js"></script>
<style>
li { white-space: pre-wrap; margin-top: 1em; }
#errors:before { content: "Errors:"; font-weight: bold; margin-left:-2em; }
#warnings:before { content: "Warnings and suggestions:"; font-weight: bold; margin-left:-2em; }
#errors:empty:before { content: "No errors"; font-weight: normal; }
#warnings:empty:before { content: "No warnings"; font-weight: normal; }
</style>
</head>
<body>
<p>As a simple application of the <a href="https://github.com/gedcom7code/js-gedcom">js-gedcom</a> project, this page lets you check for errors or not-recommended behavior in GEDCOM files. It does so entirely in your browser, with no access to a server except to load this page. It will work even if you disconnect from the Internet after loading this page and before picking a GEDCOM file to validate.</p>
<p>To check a GEDCOM file against the FamilySearch GEDCOM 7 specification, pick the file below. If it meets the spec, no errors or warnings will be displayed. If not, errors and/or warnings will be displayed.</p>
<input type="file" onchange="validateFile(this.files)"/>
<ul id="errors"></ul>
<ul id="warnings"></ul>
</body>
</html>