GEDCOM Worked example: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
This is a work in progress, it will go in the main geneaology section when I'm done
==  Example GEDCOM file ==
==  Example GEDCOM file ==
<pre>
<pre>

Revision as of 21:22, 18 April 2007

This is a work in progress, it will go in the main geneaology section when I'm done

Example GEDCOM file


0 HEAD
1 SOUR TESTAPP
2 VERS V0.1
2 CORP Test Data
1 DEST REUNION
1 DATE 18 APR 2007
1 FILE Master Database
1 GEDC
2 VERS 5.01
1 CHAR ASCII
0 @I1@ INDI
1 NAME Edward Sean /Hayes/
1 SEX M
1 BIRT
2 DATE 1 DEC 1961
2 PLAC Royal Free Hospital London
1 OCCU Program Manager
1 EDUC Westfield College
1 FAMS @F1@
1 CHAN
2 DATE 18 APR 2007
0 @I2@ INDI
1 NAME Tamsin Clare /Hayes/
1 SEX F
1 BIRT
2 DATE 25 JUL 1963
2 PLAC London
1 OCCU Therapist
1 EDUC School
1 RELI None
1 FAMS @F1@
1 CHAN
2 DATE 18 APR 2007
0 @I3@ INDI
1 NAME Alice Rose /Hayes/
1 SEX F
1 BIRT
2 DATE 17 FEB 1986
2 PLAC Park Royal, London
1 RELI None
1 FAMC @F1@
1 CHAN
2 DATE 18 APR 2007
0 @I4@ INDI
1 NAME Megan Christine /Hayes/
1 SEX F
1 BIRT
2 DATE 21 NOV 1986
2 PLAC Bristol
1 RELI None
1 FAMC @F1@
1 CHAN
2 DATE 18 APR 2007
0 @F1@ FAM
1 HUSB @I1@
1 WIFE @I2@
1 CHIL @I3@
1 CHIL @I4@
1 MARR
2 DATE 25 SEP 1985
2 PLAC London
0 TRLR

Possible miniformat



<div class="gedcom">
   <div class="HEAD">
      <a class="SOUR" href="www.seanhayes.tv/geneaology/testapp">TESTAPP</a>
      <span class="VERS"> V0.1</span>
      <a class="CORP" href="www.seanhayes.tv/geneaology">Test Data</a>
      <a class="DEST" href="www.seanhayes.tv/geneaology/reunion">REUNION</a>
      <div class="DATE">18 APR 2007</div>
      <div class="FILE">Master Database</div>
      <div class="GEDC">
      <span class="VERS">5.01 </span>
      <span class="CHAR">ASCII </span>
   </div>
</div>


What it looks like

     <a class="SOUR" href="www.seanhayes.tv/geneaology/testapp">TESTAPP</a>
      V0.1
     <a class="CORP" href="www.seanhayes.tv/geneaology">Test Data</a>
     <a class="DEST" href="www.seanhayes.tv/geneaology/reunion">REUNION</a>
18 APR 2007
Master Database
     5.01 
     ASCII 


Notes