The Program Ahn presents gedcom files with ancestor trees and familiy trees within the internet and on your local PC. Furthermore the program is suitable very well to write it with the genealocical data to a CD and to start the program.

Contents:

new functions of the version 4.0:
-Dynamic Allocation of the Window
-New Menustructur
-Support of the Wheelmouse
-Realationship of Two Persons
-Extended Note Tags
-Extended Data Protection
-Improved Helpsystem
-Passwordwindow
-Localization

Summary


The program can show genealogical data, which are stored in gedcom files, at your local PC or in the internet as without modifying the data in the file. If the gedcom file contains tags to documents or images, these pictures can be presented by a single click on a link in a separated window.

Both charts can be shown in two formats, the

Running the program, it is always possible to change between the two charts or the two formats.

The list format can be used to get all the information of a person, which is stored in the records of the gedcom file. The graph format gives a good overview between several generations.

Several possibilities exist to surf within the actual output. Additional to the actual format an index of all persons guarantees a quick finding of a special person. A detailed description of the program is offered at the start and can be got every time.

You can use the program local on your box or you transfer the program together with your gedcom files to your internet server, so that everyone can get access to your genealogical data at the internet. It is very simple to copy the program with your data to a CD which you can send to relatives or researchers of genealogy. They can start the program direct from the CD without any installation.

Gedcom files often contains very personal data which may be abused by some persons. The program Ahn offers a double protection although your entire data are available in the internet. Now you can encode your gedcom files, so that only the program Ahn can interpret them. Your data are protected against a simple download of your gedcom file or reading with a wordprocessor.

Furthermore you can determine, to which data general internet users may have access. The program offers six levels of security. Nevertheless by appropriate password protection entitled users can access all data. No modifications at your gedcom files are necessary.

Conditions for the Program

Because the program Ahn is a java program, you must adjust your browser so that starting of java programs is allowed.

The version Ahn 4 presupposes Java version 1.4 or newer. Using modern browser as Internet Explorer 6, Netscape 6, Mozilla 1 or Opera 7 the Java version can be installed independently of the browser. If you use an older version of Java please replace this version by an actual one.

The version Ahn 4 contains additionally still the previous version Ahn 3 which can be started with every Java version. Therefor also the browser Internet Explorer 4 or 5 and Netscape 4.7x can be used. A special start of Ahn 3 is possible or the tool ahnSwitch will choose the correct version of Ahn.

Example: Descendent Tree of Braess

The start of the example is carried out via this link. If you look at the source of this htm file with your browser, you recognize the easy way to integrate the program Ahn into a web page.

The ancestor tree is a part of the ancestor tree of the family Braess, beginning with the progenitor Peter Braess and his sons Peter and Elias. If you like you can look at the complete ancestor tree. Because this part doesn't contain any living persons the gedcom file Braess_a.ged isn't encoded so that you can look at this file with your browser.

It is recommended to maximize the browserwindow so that it takes the complete display. To scroll around within the complete list the horizontal scrollbar of the browser has to be moved so that the vertical scrollbar of the list gets visible.

In the help window and also in the section program operation you find the description how to surf in the data. I would particularly like to point to the '<->' symbol which opens a menu with which you can activate most functions of the program.

Program Operation

Download and Local Installation

If you like to test the program with your genealogical data, you can download it. You only need your data as gedcom file.

I recommend the following steps to start a local test at your PC box:

Your genealogical data will be presented as descendent tree or ancestor tree. The 'Help-Window' shows you, how to surf within your data.

After the first start of the program or after modifications at the gedcom file you should look at the java console for tags or lines of the gedcom file which couldn't be interpreted because of the format. Most reports are provided with the line number of the gedcom file. Only the first appearence of an unrecognized gedcom tag is reported.

To get the messages you have to activate the Java console. This depends of the browser you are using, e.g. MS Internet Explorer or Netscape Navigator/Communicator and also of the used version.

I wish you success and pleasure surfing your data.

To remove the program from your system you only have to delete the directory of the program. No files are created and used within this or other directories. Also the registry isn't changed.

Local menuprograms ahnStart

The menuprograms ahnStart offer a great possibility for a quick and comfortable start of the program on your local PC box. In the simplest case only the name of the gedcom file is to be added and the the program can be started by pushing the start button.

Two versions of the menu exist:

The menuprograms offer a simple way to vary the parameters of the program without editing html files.

Using the 'html code' button shows the code which is needed for internet presentation. The applet code can be copied with 'cut and paste' direct to the html file.

Installation in the Internet

If you want to provide your genealogical data on a server so that everyone can get access to these data in the internet, you must copy the following files of the data file directory to your server:
-   AhnClass.jar
-   AhnLocal.txt
-   AhnLocalde.lcl
-   AhnLocalen.lcl
-   AhnLocalfr.lcl
-   AhnAhn.gif
-   AhnCode.class
-   ahnSwitch.class
-   your private gedcom file
-   your html file(s)

To allow the internet access you need a special modul 'AhnCode.class' for your URLs. Please send me your URL or a list of URLs, if your server can be reached by several URLs or if you want to use more than one server. I will create this modul for you free of charge. Without this modul the network users become the error message 'no registry for internet use'.

If you want to present more than one gedcom file or many images within your data a structured directory is recommended. Please consider that the gedcom file and the images must be placed in the directory of the Java moduls or in a subdirectory of the moduls.

Old Java Versions

The version Ahn 4 presupposes a Java version 1.4 or newer. The start of the program Ahn 4 may fail with browsers which use older Java versions. In these cases the version Ahn 3 can be started.

The easiest way to check which Java version your local browser supports use the 'Java Version' button of the html version of the ahnStart menu. Several browsers may support different versions of Java.

The start of Ahn 3 differs only in the code parameter of the applet tag within the html file - see Parameter of the Program -. AhnApplet.class has to be changed to Ahn3Applet.class . An example you will find in the file ahn3.htm.

The program ahnSwitch which will be started as Java applet within a html file will help you to start the right version of Ahn. In the two parameters of this program the both html files are defined which shall be started in the two cases. If the gedcom file contains the extended note tags, the version Ahn 3 can't be started so that the ahn3-html-file may report an error message. The start of ahnSwitch without parameters will show the actual java version.

Example:
<APPLET code=ahnSwitch.class width=400 height=500>
<PARAM name=ahn4 value='ahn.htm'>
<PARAM name=ahn3 value='ahn3.htm'>
</APPLET>

The file ahn.htm starts the program Ahn 4 and the file ahn3.htm the program Ahn 3.

Double Data Protection

Sometimes personal data are stored in the gedcom file and not every user of the internet shall have full access to the file. Therefor a double data protection with encoding of the gedcom file and password access is offered.

Every user of the internet can read your gedcom file and download it from your server provider. After the start of the program the actual html file can be shown by your browser. Within the applet call he will find the name of the gedcom file. When he will fill this name into the URL field of the browser, the gedcom file will be shown and the user can save the gedcom file into a private file. To prevent this the file can be encoded.

Additional you decide at the encoding process the scope which data shall be diplayed to every internet user and which password shall be used to get all data.

Encoding Program

The file Ahn.zip contains the program AhnCrypt.exe - only for Windows 95/98/NT/2000 - to encode gedcom files, which are stored as .cgd files. The program Ahn uses a intern decode routine, if you assign a .cgd file as gedcom file within the applet tag of the htm file. Only who knows the key, which was used encoding the file, can decode the gedcom file again.

A call of the program AhnCrypt with the parameter -help gives a description of the program to encode/decode the gedcom file and to define the scope and the password.

The call from a DOS Shell:

AhnCrypt -hilfe|-help
or
AhnCrypt key file [scope password]
-hilfe
-help
The description of the command is displayed for starting the program.
key: Key to encode or decode of the gedcom file
  • Encoding: numeric value between 1 and 2147483647
  • Decoding: negative value of encoding
file: Name of the gedcom file without index which shall be encoded or decoded
  • Encoding: A file with the index .ged must exist, a file with the index .cgd will be created or overwritten.
  • Decoding: A file with the index .cgd must exist, a file with the index .ged will be created or overwritten
scope: The scope defines which information of the gedcom-file will be displayed as standard output. The following scope modes are possible: ALL| LIVING_NODATA| LIVING_NONOTES| ALL_NODATA| ALL_NONOTES| PRIVATE
password: Password to get the complete gedcom information.

Modes of the scope:
ALL: All users can see all data of your gedcom file without password protection. This version is recommended, if the gedcom file contains only ancestors of you.
LIVING_NODATA: The users without password identifier will get all data of your gedcom file excluded from living persons - born after 1900 and there are no dying data -. Their birth and wedding data (place and date), their addresses and images will be suppressed. This version is very well suitable, if relatives of the current generation are contained in the gedcom file.
LIVING_NONOTES: In contrast to LIVING_NODATA only the names of living persons are the output. Complete information to the persons - NOTE tags of the gedcom file - is available like the birth and wedding data only over password access.
ALL_NODATA: The births -, dying, wedding data and addresses of all persons of the gedcom file are available only with the knowledge of the password. Also the links to images are suppressed.
ALL_NONOTES:The standard output without password knowledge contains only the names of the persons. As genealogic researcher you would like that interested persons contact to you, to receive the personal data, for instance by password assignment.
PRIVATE: Your gedcom data are only accessible to network users, e.g. relatives, friends and special ancestor researchers, to who you indicated the password. Your gedcom file contains many very personal information, which should be accessible only by the family, which may be located far away each other.
Examples of encoding:
In all examples the same gedcom file is used and the password is uniform 'AhnCrypt'.

Parameters of the Program

The easiest way to get the parameters of the program is using one of the both ahnStart menus. After inserting the parameters you can push the button to show the parameters. This code you can copy with 'drag and drop' to your html file. Perhaps you have to change the background to your favorite color.

The applet tag of the program Ahn in the htm file has the following syntax:

<APPLET [codebase=directory] archive=AhnClass.jar code=AhnApplet.class height=height width=width MAYSCRIPT>
<PARAM name=gedfile value='gedcom-file'>
[<PARAM name=base value='basenumber'>]
[<PARAM name=lang value='language'>]
[<PARAM name=help value='off'>]
[<PARAM name=index value='off'>]
[<PARAM name=password value='off'>]
[<PARAM name=date value='date format'>]
[<PARAM name=logo value='logo-file'>]
[<PARAM name=background value='color'>]
</APPLET>

Only the parameter gedfile must exist, the other parameters are optional. Of course the htm file can contain any other htm tags.

Supported Systems

The program can run on all systems, which support files with long names and lower and upper cases and for which browser with java exist.

Because Java exspects correct filenames, you must use a suitable zip program. With Windows 95/98/NT/2000/XP winzip can be used. Linux distributions often include unzip.

If no suitable zip program exists, e.g Linux, OS/2, ..., you can download it:
http://www.cdrom.com/pub/tex/ctan/tools/zip/info-zip/Info-ZIP.html

Because of the short filenames the program can't be started with Window 3.1/3.11.

Large Gedcom Files

Modern processors with frequncies more than 1 GHz and the newest browser generations, which uses Java 1.4, allow to surf with the program Ahn in large gedcom files. At my local box I have looked at a gedcom file with 5.8 MB, 25000 persons and 10000 family tags. For internet use such large gedcom files are not recommended, because it will take several minutes to read the gedcom file, even if you use a quick DSL connection.

At the moment the limits of gedcom files is set to 30000 person tags and 12000 family tags. The list must not exceed 120000 lines.

Using large gedcom files with more than 100K byte the start of the program will take some time depending on the processor speed, data connection and the version of Java, which is used by the browser, until the first list will be displayed. Also some time is needed for a change between descendent tree and ancestor tree which is reduced since Java 1.3. The reaction time within a descendent tree or ancestor tree is always excellent even with large files, even if you change between the list and graphic mode,.

Please consider that not all users of the internet have ordered most modern equipment. Processors with 300 MHz, connections with 28.8 KBaud and browsers with Java 1.1 (e.g. Netscape 4.x and Internet Explorer 4.0) are quite common. Bad reaction time in consequence of too large gedcom files will annoy the visitor of your sites.

Large gedcom files should be divided in several files, e.g. the descedants or ancestors of one person in a separate file - look at my site, I have divided my data in 14 files -. Now I offer my whole genealogical data of 850 KB as one file but I have added a warning statement to this call of the program.

Size of the Monitor

The output of the program can be adjusted to the size of the monitor, so that the right scollbar is visible if the browser uses the complete display size. At the time of the first version of the program the normal size was 14" with 640 x 480 pixels. Nowadays the normal size is 17" with 1024 x 768 pixels and even some larger monitors exist with 1680 pixels and more.

The width parameter of the applet statement determine the size of list or graphic area. The number of generations which are shown in the graphic mode are also dertermined by the width parameter. You can increase the number of generations at least by one when the index is suppressed. The number of generations may also change when you enlarge or made smaller the index area.

With an index area at starttime the table shows the number of generations depending of the width parameter.
WidthNumber of Generations
600 - 7403
750 - 8904
900 - 10405
1050 - 11906
1200 - 13407
1350 - 14908
1500 - 16409
1650 - 179010

Version 3:
A small index area, which can't be increased, is created when the lower values of width are used. In this case only a short name is listed. If you use the upper value a larger index area is created so that normally all first names and the whole surname is listed. If the the name is too long for the area the name is shortened. The size of the index area is fix and can't be made smaller or increased.

For internet access a width for 4 to 6 generations is recommended within the htm file, because you don't know the monitor size of the internet user. If you integrate the program within a large internet site with more information you may choose smaller values.

Allocation of Pictures/Documents and Internet Sites

An ancestor tree or a family chronicle gets alive and valuable if you add pictures and copies of documents and links to internet sites to the data. The links to the internet may be global, e.g the homepage of the person, or local. If you create your private internet sites, you can use the whole range of internet coding to present the information of a person. The links to the images and internet sites are listed in the list form of the descendent tree or ancestor tree and the images are loaded at the time, when you click on the link. Every image is presented in a different window with an optional title and sublines. The link of an internet site opens a new browser window with the referred site. If a title is defined, this title is added to the link in the list, so that several images or internet sites of one person can be identified.

The program Ahn uses the object definition of the gedcom standard, which is also used by several programs to create gedcom files.
1 OBJE
2 TYPE #optional
2 TITL #optional
2 FILE
2 NOTE #optional
TYPE: Describes the type of the object. This tag isn't analysed yet, but it is recommended to use the value 'Image' for further evaluation.
TITL: Title of the picture. The title is also used within the list to identify several links.
FILE: Name of the file or URL of the internet site.
The name of the file with gif or jpg format. If you choose a different directory for the file you have to specify the relative pathname. The directory of the picture must be a subdirectory of the directory of the Java moduls.
It is allowed that the filename contains blanks. If the filename contains other special national characters, such as german umlaut, it may happen, that the file with the picture isn't found at internet access.

The URLs of internet sites can be specified as world wide addresses, starting with http:, or as local htm/html files, which have to be adressed relativ to the directory of the Java moduls.

NOTE: A subline to the picture. A long text will be presented in several lines. With internet sites this tag will be ignored.
The following example shows two documents and one link to a homepage for Hans Musterfamilie.

Excerpt Lists

The owner of the gedcom file decides, wether the possibilty shall be offered to the client to create excerpt lists, so that these lists can be processed with the browser, e.g. print or save. If the MAYSCRIPT specification - in upper cases - is added to the applet tag, e.g.
<APPLET archive=AhnClass.jar code=AhnApplet.class width=900 height=600 MAYSCRIPT>
the additional subject 'excerpt list' will be offered at the pulldownmenu for each person. In a second step the client can chosse the number of generations which shall be tranferred to the list. The list will be of the same kind as the actual presentation - descendent tree or ancestor tree - and will be presented in a new window. The new list contains the same information as the original list of the Java program, so that the hidden information of the encryption will not be shown. Images will not be transferred to the excerpt list.

The client has to enable Javascript with the browser.

If you start the program Ahn as Java application -direct by using the command 'java -cp AhnClass.jar AhnApplic ....' or by using the program ahnStart in the Java version - no excerptlists can be offered in the menu.

Localization

After the download the default language is german. Another language can be achieved by calling one of the batch file 'english', 'francais' or 'deutsch'.

Three localization files exist, one for german (AhnLocalde.lcl), one for english (AhnLocalen.lcl and another for french(AhnLocalfr.lcl). Additonally an default localization file (AhnLocal.txt) exist, which is identical with the language file of the default language. The change of the default language will also adapt the local htm menuprogram 'ahnStart'.

An adaption to further languages can be achived by adding new localization files AhnLocalxx.lcl, e.g. for danish, hungarian, spanish, ..... or by replacing the default lcalisation file. These files can be used by the parameter 'lang' in the applet statement.

If you want to create a new localization file by translating an existing one, please mail me, that I can give you some hints. The new language will appear as new menuitem in the localization menu.

Create a CD/Disk

Beside the local presentation the program is suitable very well to burn it together with the gedcom files to a CD. You can give this CD to your relatives without offending against licenses. Your relatives can start the program Ahn with your data and their browser by a double click on an index.htm file. They don't need any installation, copy of files or access to the internet.

If you named the directory of the program Ahn and your gedcom file 'ahn', create the following index.htm file. The call of this file will immediately step to your html file ahn.htm in the directory ahn.

<html>
<head>
<meta http-equiv="refresh" content="0; URL=ahn/ahn.htm">
</head>
</html>

Copy the directory ahn and the file index.htm to the CD. You only need to copy the files which are needed for the internet server. If you add a personal readme file your relatives will have no problems with the program and will enjoy surfing in the genealogical data.

If your gedcom file is not too large and if you addedonly a few images you even can use a 3.5" disk, because the program needs only about 270 KB. So for your gedcom file and images still 11 MB is available.

Supported Gedcom Tags

The gedcom standard allows the definition of note refereces at the level 0. Note tags on every level may refer to these references. These advanced note definitions will be supported by Ahn 4.

Not all gedcom tags are supported. A complete list will be published here soon.
Gedcom tags which are not supported, are reported to the Java console. The Java console has to be activated depending of the browser which is used.

Java Console

After the first start of the program or after changes of the gedcom file it is recommended to look at the Java Console because there may be messages about not supported tags or lines, which couldn't be interpreted. Most messages contain the line number of the gedcom file. No tags which start with underline are supported.
Activating the Java Console depends on the browser, MS Internet Explorer or Netscape Navigator, and the version of the browser.

Start as Java Application

The program Ahn can be started locally as Java application, when a Java runtime system or a Java plugin for a browser is installed. The large advantage over the start with a browser is that the size of the window can be enlarged or made smaller during running the program. The window size is fix when started with a browser.

The easiest way is the start with the batch file 'ahnStart.bat' and using the startmenu.

The program can be started in a DOS-shell:

java -cp AhnClass.jar AhnApplic [-lang=de | en | fr] [-help=off] [-logo=datei | -] [-password=off] [-date=ddmmyyyy | mmddyyyy | ddmmmyyyy1 | ddmmmyyyy2] [-background=#......] [-index=off] gedcom-File [Baseperson]

The parameters are explained in the section Parameters of the Program.

If the program is not started from the directory of the Java moduls, gedcom files and images, it is recommended to use fully qualified pathname, e.g. c:\temp\data\gedcom\ahn.ged.


Please send suggestions and comments to

Helmut Braess


Munich, Germany, August 2006