From: Duncan L. <dli...@gm...> - 2008-01-04 12:12:06
|
I have also sent this to the dev list - I think this discussion should really move over there. On Wed, 2008-01-02 at 12:28 -0800, James G. Sack (jim) wrote: > I would argue that special-format NOTES is a possible solution to these > two anti-patterns. I agree, but I'm not so sure about 'special-format' which would probably end up being XML-like. Why not just use GRAMPS XML 'bits' in the GEDCOM notes field. Gedcom 5.5 is a bit beyond me just now, but I can see there are both NOTE fields and XREF fields to refer to external files. So Gedcom is quite capable of accepting non gedcom data without going awol or being non-standard. So what about adding a note field somewhere near the NAME (if that's allowed) like this: (bear with me, it might not be valid GEDCOM or GRAMPS, but it could easily be) @I0000@ INDI 1 REFN 0 1 NAME Living /Family Name/ 2 GIVN Living 2 SURN Family Name 2 NOTE <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE database PUBLIC "-//GRAMPS//DTD GRAMPS XML 1.1.4//EN" "http://gramps-project.org/xml/1.1.4/grampsxml.dtd"> <database xmlns="http://gramps-project.org/xml/1.1.4/"> <people> <person id="I0000"> <name type="Birth Name"> <call>Call Name</call> </name> </person> </people> </database> Here is just some normal note text. 1 SEX M 1 SOUR @S0000@ 1 CHAN 2 DATE 4 JAN 2008 3 TIME 12:45:44 0 @S0000@ SOUR 1 TITL only source 1 CHAN 2 DATE 4 JAN 2008 3 TIME 12:44:37 0 TRLR This means: * We are not inventing a new format - but integrating ours into a note field * We are making it easy for GRAMPS to interpret the data on the way back in - if someone decides to implement this. * We are making the GRAMPS info human readable while still showing it is actually part of a documented XML format, it's even linked to. Just a thought, Duncan |