Skip to content

Commit

Permalink
Ignore "Newspaper Death Notice" records
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jul 12, 2024
1 parent 7dc91ad commit b897689
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -6159,7 +6159,7 @@ sub print_person
}
} elsif($type eq 'Newspaper') {
# FIXME: duplicate code with one event
# This is a non-standard thing that FMP has evented.
# This is a non-standard thing that FMP has evented :-(
# FIXME: handle more than one newspaper
if($phrase->length()) {
push @phrases, $phrase;
Expand Down Expand Up @@ -6191,6 +6191,11 @@ sub print_person

$previous = $event;
$prev_type = 'Newspaper';
} elsif($type eq 'Newspaper Death Notice') {
# More non-standard FMP stuff
# TODO - difficult to handle because the field is broken
my $newspaper = newspaper({ gedcom => $ged, person => $person, event => $event });
complain({ person => $person, warning => 'Ignoring Newspaper Death Notice from ' . $newspaper->date() });
# } elsif(($type !~ /^Census U[KS] \d{4}$/) &&
} elsif($type eq 'Funeral') {
$funeral = $event;
Expand Down

0 comments on commit b897689

Please sign in to comment.