On This Page

Family Historian

GedSite has been tested with Family Historian GEDCOM files and supports them quite well. Documentation for Family Historian's GEDCOM extensions and customizations is available online and that was a great help.


Family Historian user Mike Tate publishes a popular "Export Gedcom File" plug-in that provides customized GEDCOM exports from Family Historian. It's not required to use the plug-in to export a file for GedSite, and GedSite will read the main Family Historian data file (which is a GEDCOM file) or exports from Family Historian. However, Mike's export includes tag type (AKA "Fact") definitions that provide role and sentence information that is otherwise not available. If you want to use the default sentences for tags that are managed via Family Historian's Tools > Fact Types window, then you must export a GEDCOM file using Mike Tate's plug-in. The plug-in is free.

You can download the "Export Gedcom File" plug-in from the Family Historian plug-in store: Export Gedcom File

When using the "Export Gedcom File" plug-in:

  • Make sure you have the latest version of the plug-in.
  • On the Basic Options page:
    • Set the export mode to "(GST) GedSite".
    • Set the character encoding to "(UTF8) UTF-8 with a Byte Order Mark".
    • Set the multimedia conversion to "(FILE~ABS) Multimedia via Absolute Link Records".
  • On the Extra Options page:
    • Leave the options at the default values.
  • On the Other Options page:
    • Leave the options at the default values.

The GEDCOM file will be written under the following folder:

Documents\Family Historian Projects\project-folder\Public\Export

Be careful to choose the correct GEDCOM file. If you use a GEDCOM file that is not written by the plug-in, you'll lose the ability to use global sentences.

Witnesses and Roles

GedSite supports Family Historian's witness and role GEDCOM extensions.

Sentence Templates

GedSite's sentence processing engine is flexible and has been customized to support sentence templates as supplied by several different genealogy programs, including Family Historian. Read on for more details.

GedSite includes support for local sentences from Family Historian GEDCOM files.

GedSite includes support for global sentences from Family Historian GEDCOM files if the GEDCOM file is exported via the plug-in described above.

GedSite supports Family Historian's "Template Codes". The Template Codes are mapped to GedSite variables, with some differences in the exact definitions of the values.

Family Historian supports prefixes and suffixes for Template Codes using the same structure as a single-expression in GedSite's conditional expression format:

< prefix {variable} suffix >

Family Historian users should typically not use the Add Note to Global Sentence option or the Add Note to Local Sentence option; use the "{note}" variable in the sentence to control whether the note is added or not.

Source Templates

GedSite supports Family Historian source templates, a capability introduced in Family Historian 7. When using source templates, a template determines how the fields of the souce (the author name, the title, etc.) are combined to create the citation text.

Source templates are used in source types, and source types are assigned to sources.

If the Sources.Use Application Types option is checked, which is the default, GedSite will use source types.

If the Sources.Use Application Types option is unchecked, GedSite will ignore source types and use the generic templates defined in the Sources section.

Rich Text in Notes

GedSite supports "rich text" notes, a capability introduced in Family Historian 7. Rich text is used to specify line formats (paragraphs, lists, indented lines), inline text styles (font family, font size, text color, highlight color, bold, italic, strikeout, and underscore), and tables (rows and columns).

GedSite implements font family, font size, text color, and highlight color using CSS classes so you may use User Styles to customize them for your site.

GedSite supports links inserted into notes, a capability introduced in Family Historian 7. Links to URLs (web sites), people, and sources are supported. Links to other record types, such as families, are not supported.

Embedded Citations in Notes

GedSite supports citations embedded in notes, a capability introduced in Family Historian 7.

Data References and Functions

Family Historian sentence templates may use "Functions" and "Data References". GedSite supports a subset of Family Historian functions and Data References.

Supported Data References

FH Data Reference Description GedSite Variable
{%CUR_PRIN%} Current principal or P1 [C]
Primary name of current principal or P1 [C]
{%CUR_PRIN.FAMC>HUSB>%} Current principal's father [C:FATHER]
{%CUR_PRIN.FAMC>WIFE>%} Current principal's mother [C:MOTHER]
{%CUR_PRIN.BIRT.DATE%} Current principal's birth date [C:PB:D]
{%CUR_PRIN.BIRT.DATE:YEAR%} Current principal's birth year [C:PB:D]
{%CUR_PRIN.DEAT.DATE%} Current principal's death date [C:PD:D]
{%CUR_PRIN.DEAT.DATE:YEAR%} Current principal's death year [C:PD:D]
{%CUR_PRIN2%} Other principal or P2 [CO]
Primary name of other principal or P2 [C]
{%CUR_PRIN2.FAMC>HUSB>%} Other principal's father [CO:FATHER]
{%CUR_PRIN2.FAMC>WIFE>%} Other principal's mother [CO:MOTHER]
{%CUR_PRIN2.BIRT.DATE%} Other principal's birth date [CO:PB:D]
{%CUR_PRIN2.BIRT.DATE:YEAR%} Other principal's birth year [CO:PB:D]
{%CUR_PRIN2.DEAT.DATE%} Other principal's death date [CO:PD:D]
{%CUR_PRIN2.DEAT.DATE:YEAR%} Other principal's death year [CO:PD:D]
{%CUR~WITN>%} Current witness [S]
{%CUR~WITN.NOTE2%} Current witness memo [WM]
{%CUR~WITN.ROLE%} Current witness role [S:RL]
{%FACT.DATE%} Date of current tag [D]
{%FACT.NOTE2%} Note text of current tag [M:Note]
{%FACT.PLAC%} Place of current tag [L:RAW]
{%FACT.PLAC:TIDY%} Place of current tag [L:CLEAN]
{%FACT.PLAC>LATLONG%} Place of current tag [L:LATLONG]
{%INDI%} Subject of current tag [S]

The .NAME Data References support the FIRST, GIVEN, and FULL options.

Supported Functions

GedSite supports the following Family Historian functions.

You may nest function calls, for example:

{=TextIf(ContainsText(%FACT.PLAC%,"Bronx"), "the "))}

GedSite supports expressions in function parameters so you can include addition, subtraction, etc.:

{=Text(Year(%FACT.DATE%) + 10)}


Flag values in Family Historian GEDCOM files are imported into attribute values. You may display the attribute value(s) using the Person Entry Attribute item. You may also use attribute values to filter people using the Attribute Text filter term.

The Family Historian flag name is used as the attribute name. Family Historian flags do not have any value other than the name, but GedSite attributes require a value, so GedSite sets the value to "Y".

Media Item Keywords

Family Historian Media Items include a Keywords property. You may use the Keywords property to assign a keyword that modifies how GedSite processes the exhibit. The available keywords are listed below. The keywords have the same effect as shown in the Exhibit Codes section of the Exhibits help page.

GedSite supports the following keywords for Image Exhibits:


For other exhibit types, GedSite supports:


For some Exhibit Types, Exhibit-Embed is ignored if the external file cannot be embedded on a page. In that case, Exhibit-Embed is treated as Exhibit-Link.

Here is an example of adding an exhibit keyword in Family Historian:

screenshot of Edit Media Item window in Family Historian showing 'Exhibit-Embed-Right' keyword inside a red border