Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marriage Banns #15

Open
nigelhorne opened this issue Jan 29, 2016 · 4 comments
Open

Marriage Banns #15

nigelhorne opened this issue Jan 29, 2016 · 4 comments

Comments

@nigelhorne
Copy link

Is it possible to get the marriage banns information from an individual? Try as I might I can't work out how to do it and I can't find any examples.

@pjcj
Copy link
Owner

pjcj commented Sep 17, 2016

The tag for Marriage Bann is MARB. Underneath that is a standard EVENT_DETAIL structure with DATE, PLAC, AGE and all the other standard tags. So you should be able to access that with $i->marriage_bann;

If this is not working for you, perhaps you could post some code and associated GEDCOM?

Thanks!

@nigelhorne
Copy link
Author

Thanks, I'll give it a go.

@nigelhorne
Copy link
Author

Not forgotten, will check.

@nigelhorne
Copy link
Author

nigelhorne commented Sep 15, 2024

I just tried. This "die" is never called:

print ">>>>>>>>>>", $person->as_string(), "\n";
if($person->marriage_bann()) {
	die;
}

The Gedcom contains this:

1 MARB
2 _PRIM Y
2 DATE 1912
2 PLAC Strood, St Nicholas, Kent, England
2 SOUR @S258@
3 PAGE Archive reference: P150B/1/59; Page: 127; Record set: Kent Marriages And Banns; Subcategory: Parish Marriages; Category: Birth, Marriage & Death (Parish Registers); Collections from: England, United Kingdom;
3 REF http://search.findmypast.co.uk/record?id=PRS/MEDWAY/MAR/0068540/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants