Including HTML Code Inline
The standard output templates compiled into GED2HTML provide for
inlining arbitrary HTML code at two standard positions in the page
for each individual.
The first place occurs just after the name of the individual,
and it is intended (though not required) that it be used to
insert an image of the individual. When the program is run,
as it processes each individual, it looks in the directory from
which it was started for a file ``xxxxx.img'', where ``xxxxx'' is
the cross-reference ID of the individual being processed.
If found, the ``xxxxx.img'' file is inserted verbatim into the
output stream. For this to be useful, you should put HTML code
in that file; for example, an anchor that links to an image file.
The second place where HTML code is inserted verbatim is at the
end of the information for each individual. At this point, the
program looks for a file ``xxxxx.inc''. It is intended (though
again not required), that this file would include any additional
notes or information about this person not present in the original
GEDCOM file. For example, I have used this in my hypertext family
history document to link to things like wills and divorce records.
If you write your own output templates, you can arrange for inlining
anything you want, using the same mechanism as is used by the default
templates. For more information on output templates, see
here.
GED2HTML home page
Copyright © 1995 Eugene W. Stark. All rights reserved.
stark@cs.sunysb.edu