Giter Club home page Giter Club logo

gedcom's Introduction

GEDCOM

A .NET library that imports data from a .ged (GEDCOM) file. GEDCOM is a format for saving Genealogy data and is an export format for Family Tree Maker.

One day I decided I would create a website for my mom. She has been working on our family genealogy for about 30 years. I wanted to display all that hard work for the extended family to view and be able to enjoy all the hard work my mom did. The data was stored in Family Tree Maker and after identifying an export option to GEDCOM I decided to create a simple library to import the data. This was a quick attempt, less than 2 hours, to read the .ged file. I do have a website that once done I will contribute to this project. In the meantime I wanted to share the library for anyone else that might want to do the same thing. I plan to continue to enhance the library and clean it up.

Example Usage in a .NET Web application

In the Global.asax Application_Start() method:

string path = HttpContext.Current.Server.MapPath(string.Format("~/App_Data/{0}", ConfigurationManager.AppSettings["GedFileName"])); var gedcomDataSource = GEDCOM.DataSource.GEDCOM_Cache.Load(path);

Within the web application you can fetch data using this format:

var individuals = GEDCOM.DataSource.GEDCOM_Cache.Fetch().Data.Individuals.Where(i => i.SurName.ToLower() == familySurName.ToLower());

OR

var individuals = GEDCOM.DataSource.GEDCOM_Cache.Fetch().Data.Individuals.Where(i => i.FullName.ToLower() == id.ToLower());

gedcom's People

Contributors

prm9894 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.