<div dir="ltr"><div>You can get a pretty good handle on GEDCOM by reading Wikipedia and looking at a small (5-10 people) GEDCOM file. <br><br></div><div>This page has a simple example: <a href="http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gcch2.htm#S6">http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gcch2.htm#S6</a><br>
</div><div><br></div>Each line is (usually) a tag, and each line starts with a number. The number indicates how deeply nested it is. So if you reach a line starting with a 0 or a number lower than the current line's number you're on a new tag. <br>
<br>Fortunately I didn't have to implement a GEDCOM parser or writer. Gramps exports GEDCOM files, and someone had already implemented a GEDCOM parser in PHP (<a href="https://github.com/mrkrstphr/php-gedcom">https://github.com/mrkrstphr/php-gedcom</a>). <br>
<div><div><div><br>For completeness, here's the GEDCOM spec: <a href="http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gctoc.htm">http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gctoc.htm</a><br><br>
--<br></div><div>Michael Moore<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 10:02 AM, Mike Miller <span dir="ltr"><<a href="mailto:mbmiller+l@gmail.com" target="_blank">mbmiller+l@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That sounds really cool and I wish I had more time right not to check it out. I'll have to study the GEDCOM format and concepts. Do you now a good source for info? It looks like Wikipedia has some good stuff.<br>
<br>
Mike<div><div class="h5"><br>
<br>
<br>
On Thu, 5 Sep 2013, Michael Moore wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm not sure if there are any genealogists on here, but I'd like to toot my<br>
own horn for a moment.<br>
<br>
Over the summer I wrote TreeTrumpet, some Open Source genealogy software.<br>
<br>
TL:DR: Demo -- <a href="http://treetrumpet.com/demo/" target="_blank">http://treetrumpet.com/demo/</a> , Code --<br>
<a href="http://github.com/stuporglue/TreeTrumpet" target="_blank">http://github.com/stuporglue/<u></u>TreeTrumpet</a><br>
<br>
<br>
TreeTrumpet is meant to be extremely simple to use and search-engine<br>
friendly. There's no database setup and no required config files.<br>
<br>
To install it you simply upload the code and upload a GEDCOM* file. The<br>
site parses the GEDCOM file to create the pages as they're requested.<br>
<br>
It features a pedigree-tree view, a map of where ancestors lived, a<br>
sortable/filterable table of the ancestors and individual pages for each<br>
ancestor and family. There's also a contact form, a link to download the<br>
GEDCOM file. The site generates a sitemap.xml file and pings Google and<br>
Bing when the GEDCOM file is updated.<br>
<br>
Anyways, if anyone is interested, check it out. I'm open to suggestions,<br>
criticisms, complaints, bug reports, bug fixes, etc.<br>
<br>
Thanks!<br>
Michael Moore<br>
<br>
<br>
* GEDCOM is a text-based genealogy database format. It's something like<br>
CSV. Like CSV it's not the best format to store most data, but it is the<br>
lowest common denominator and almost any genealogy program can export a<br>
GEDCOM file.<br>
<br>
</blockquote></div></div>
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Support the digitization of the Iron County Miner newspaper archives<br>Like this project on Facebook: <a href="https://www.facebook.com/digitizeicm" target="_blank">https://www.facebook.com/digitizeicm</a><br>
</div></div></div></div></div></div>