Gedcom Publisher ((new)) Here

It sounds like you're looking to related to a GEDCOM publisher — likely in a genealogy application, family tree tool, or heritage platform.

# Families (marriages/parent-child links) for fam in families: lines.append(f"0 @{fam.id}@ FAM") if fam.husband_id: lines.append(f"1 HUSB @{fam.husband_id}@") if fam.wife_id: lines.append(f"1 WIFE @{fam.wife_id}@") for child_id in fam.child_ids: lines.append(f"1 CHIL @{child_id}@") if fam.marriage_date: lines.append("1 MARR") lines.append(f"2 DATE {fam.marriage_date}") gedcom publisher

lines.append("0 TRLR") return "\n".join(lines) If your feature is a “Publish GEDCOM” button + modal : It sounds like you're looking to related to

const GEDCOMPublisher = ({ treeId }) => { const [includePrivate, setIncludePrivate] = useState(false); const [generations, setGenerations] = useState(5); const [isExporting, setIsExporting] = useState(false); const handleExport = async () => { setIsExporting(true); const blob = await api.exportGEDCOM(treeId, { includePrivate, generations }); const url = URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url; a.download = "family_tree.ged"; a.click(); setIsExporting(false); }; family tree tool

Schedule a Consultation