TIP FamilyTreePlugin is not installed on Foswiki.org.

Family Tree Plugin

The Family Tree Plugin is a simple database that uses Foswiki searches to perform queries over genealogical data in a Foswiki web and generate family trees (pedigrees). It is a FoswikiApplication combined with a simple plugin that provides some standard searches over the data and generates pedigree pictures. Pedigrees can be generated using either HTML (as in the example) or using the DirectedGraphPlugin to generate a nice graphical picture of the tree.

Error: (3) can't find example_tree.png in Extensions

Each person in the family, and each union (e.g. marriage), are stored as Foswiki topics. Each person topic includes a standard "person topic" (StdPerson) that defines some basic searches, and has a form that records basic details about the person. Extra detail can be added freeform to the topic, or can be recorded in a "records" table to ease searching.

The standard person include defines the following queries over the data:
  • Female line (ancestors of this person)
  • Male line (ancestors of this person)
  • Family tree (rooted at this person)

Union topics similarly have a standard include (StdUnion) and a form. Union topics are named for the couple they represent, male then female, separated by a capital 'X'. Children of the union are listed in a simple one-column table in the union topic.

The plugin installs a new web, called FamilyTreePlugin. This web contains some standard topics, an example family tree (a small fragment of my own family tree), a left bar topic, and two "creator topics", NewPerson and NewUnion, that help you in creating person and union records respectively. You should not edit directly in this web, as it will be overwritten if you ever upgrade the plugin. Instead you should create your own new web based on the FamilyTreePlugin web (see ManagingWebs) and then remove all topics in the new web with 'Currie' in the name.

The schema of the database was inspired by the standard LDS "GED" format, so translation back and forth from this format should be fairly straightforward. It would be great if someone could write some scripts to do this.....!

Note: searches over my paternal family tree (360 persons, 120 unions) are just about fast enough. If you are planning on capturing a much bigger tree, then you should probably look at commercial tools for handling family trees, of which there are hundreds.

Syntax Rules

  • %MANCESTORS("person"}% - generate a representation of the male line leading to the given person
  • %FANCESTORS{"person"}% - generate a representation of the female line leading to the given person
  • %DESCENDANTS{"person"}% - generate a complete family tree rooted at the given person
  • %GRDESCENDANTS{"person"}% - generate a complete family tree rooted at the given person using GraphViz. Only works if DirectedGraphPlugin is installed.

Plugin Settings

  • Set SHORTDESCRIPTION = A simple genealogy database

Plugin Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

Plugin Author: Foswiki:Main.CrawfordCurrie http://c-dot.co.uk, Foswiki:Main.GeorgeClark
Version: 9514 (2010-10-05)
Release: 4 Oct 2010
Change History:
4 Oct 2010: Foswikitask:Item9774 Correct Version/Release strings
8 Jan 2009: Foswikitask:Item8034 Rebrand FamilyTreePlugin to Foswiki .-- Foswiki:Main.GeorgeClark
License: GPL (GNU General Public License)
Foswiki::Plugins::DirectedGraphPlugin>=0Optional, used to generate graphical family trees.
Plugin Home: http://foswiki.org/Extensions/FamilyTreePlugin
Feedback: http://foswiki.org/Development/FamilyTreePlugin
Support: http://foswiki.org/Support/FamilyTreePlugin

Related Topics: DeveloperDocumentationCategory, AdminDocumentationCategory, DefaultPreferences, SitePreferences, Plugins
Topic revision: r5 - 05 Oct 2010, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy