GED2JS

Contents:

What is GED2JS?
Why did I develop it?
What does it do?
Current Limitations
Is it easy to use?
Frequently Asked Questions
What others have said about it
Disclaimer
Contact the author (e.g. for a free copy of GED2JS)

What is GED2JS?

GED2JS is a simple-to-run program, written by myself (Robin Handley), to create web pages from a GEDCOM file. The currently available version runs in an 'MSDOS'/command prompt window under Microsoft Windows. However, this will shortly be replaced by an updated version with a Windows visual user interface ('point and click') which is easier to use, provides more user control, and has more features. Both versions use core algorithms which have developed since 2003 and have so far been run successfully on Windows NT4, XP Pro, Vista, and 7, and using GEDCOM files of over 5000 individuals created by:

It is all my own work, and I reserve all copyrights.

Why did I develop it?

When I started with genealogy, I created web pages manually, including a linked-list of individuals, and pedigree tables for my sons. I thought that the idea of using HTML to link individuals was a good one, and was happy to have this code as my reference family database. However, even with a small set of individuals to work with, database creation and modification was a time-consuming and error-prone task, and I didn't add all the family members that I knew about, as I couldn't face the task.

A year or so later, a thread appeared on the Westmorland e-mail chat list, which talked about web page layouts and software which could be used to record family data and automatically create web pages. As a result of this, I finally 'grew up' and started to use a professional (but free) genealogical software package (PAF 5) to record all my family data. This is easy to use and quick to add new individuals. It also has the ability to create web pages automatically. However, having already created genealogical web pages, I had a clear idea of what I wanted, and the format of the output from PAF 5 wasn't it. Fortunately, like most (if not all) such software packages, PAF 5 can export family data in GEDCOM format (a 'standard' in family data storage formats). GEDCOM files are ASCII text, and so easy to view. They are also easy to read, using software. In fact, several free programs are available to read a GEDCOM file and automatically create web pages. However, once again, they weren't how I wanted them, and I knew I could do it myself. So, having populated PAF 5 with some family data, I subsequently wrote my own software (called GED2JS) to read all the family data from my exported GEDCOM format file, and automatically create HTML (including JavaScript code) to reproduce the linked-list of individuals that I had previously created manually. Thus I have a means to create up-to-date, error free, consistent, and easily modifiable web pages.

Having been bitten by the bug, I have subsequently continuously enhanced this software to present the data in a variety of forms, to make the family data as clear as possible. The HTML generated is efficiently coded to keep storage requirements and page loading time to a minimum. The code is also neatly presented.

As existing users (and the dates on my web pages) can testify, GED2JS is still an on-going project with active and prompt response to user feedback. If you like it, have problems with it, or have suggestions for change/improvement, let me know and I will do my best to implement fixes/upgrades. If you're already running GED2JS, it may be that there's already a later version which fixes a problem or implements a feature that you'd like to have... 'MSDOS' GED2JS is now at version 2.23a. (16 Jan 2010)

What does it do?

GED2JS has the ability to generate all of the following web files:

GED2JS also has the following features:

Note that the Windows visual user interface version currently in development will also have the following features:

If you haven't seen what the GED2JS generated pages can look like all together, have a look at mine. I have used a top level HTML file, called Database.html, as the 'root' of the web pages, which uses frames to show index and individual information at the same time. I've also styled the fonts and background in green. You have the option of using and/or modifying my style sheets to suit your taste. By modifying Database.html it is easy to create different layouts of the frames, if desired. This and this are a couple of subtle variations on the layout that I use.

Current Limitations

If you want GED2JS to support more options then ask! I won't bite your head off. Otherwise, if it doesn't occur to me to add a feature and nobody asks for it, then it'll never happen!

Is it easy to use?

Yes, it couldn't be much easier. I like things to run 'at the touch of a button'. GED2JS can be run as follows:

If you like the output from GED2JS but don't want to deal with command prompts, let me know and I will speed up release of the visual user interface version of GED2JS.

Any of the .HTML files can be viewed, directly off your hard disk, using your favourite internet browser (e.g. Microsoft Internet Explorer) either by typing the pathname of the file into the address (URL) window of the browser, or by viewing the files using Windows Explorer and then double-clicking on a file. To publish your database on-line, you will need to upload all the files to your webspace using an FTP program.

Frequently Asked Questions

Q1: How does the automatic privatise/censoring filter work?

A1: Individuals with a VALID DEATH DATE are tagged as DEAD. Individuals with a BLANK DEATH DATE, and a BIRTH DATE THAT ISN'T BLANK and is AFTER 1910, are assumed to be LIVING. Individuals with a BLANK DEATH DATE, and a BIRTH DATE THAT ISN'T BLANK and is BEFORE 1910, are assumed to be DEAD. Individuals with a BLANK BIRTH DATE and a BLANK DEATH DATE are assumed to be DEAD (as there's no information available to decide if they're alive or dead). All individuals tagged as LIVING have the following information removed: forenames, birth date & place, christening date & place, marriage date & place. An entry for them still exists, to preserve the structure of the family.

Q2: If I add more people or update their details in my family tree software database, how do I update the web pages that GED2JS creates?

A2: Just export a new GEDCOM file from your software, re-run GED2JS, and it will overwrite the old web page files with the new ones.

What others have said about it

Charlotte: "I particularly like using the different Alphalists and being able to view all the dates for a person, as well as their parents, siblings, spouse and children all on one page. One click and I can move back and forth in the family. I love the AlphaList3 [Robin: now called 'AlphaBirthPlaceList'] - having the people grouped by location of birth. Thanks so much."

Yvonne: "Bingo, it worked. I like it. Many thanks."

Paul: "I'm very impressed with the results. I am using FTM 2005 and the GEDCOM export/import worked a treat."

Lynn: Thankyou again for the use of your GED2JS project...it works like a charm.

Miguel: This is fantastic!!!

Disclaimer

Although I've never heard of a problem when running GED2JS, I have to issue a disclaimer. Consequently, if you run GED2JS, you do so entirely at your own risk. I accept no responsibility for any damage it may cause to files on your hard disk, nor for any other damage that it may cause. If you get the program from me, then it will be guaranteed virus-free, spyware free, free of adverts, and I will provide e-mail support. If you get a copy from someone else, it could have been infected by them, their computer, or even the person who gave it to them. You have been warned.

Contact the author

To request a free copy of GED2JS, ask a question, or just to make contact, e-mail me.