GEDCOM Worked example

From Microformats Wiki
Jump to navigation Jump to search

This document is not following the process. Before proposing a micro(or 'mini')format, please research examples in the wild and derive and implied schema. -- RyanKing

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 microformat



<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 class="INDI">
   <div class="NAME" id="Edward-Sean-Hayes">
      <div class="SEX">M</div>
      <div class="BIRT"> 
         <div class="DATE"> 1 DEC 1961</div>
         <div class="PLAC"> Royal Free Hospital London</div>
      </div>
      <div class="OCCU"> Program Manager</div>
      <div class="EDUC"> Westfield College</div>
      <a class="FAMS" href="#f1">@F1@</div>
      <div class="CHAN">
         <div class="DATE"> 18 APR 2007</div>
      </div>
   </div>

</div>


Notes

The INDI records could be replaced by hCard records: