7

I would like write data (export from my program) to gramps data.xml but i don't understand the semantic of gramps export format. For example:

  • people home attribute refers to ?
  • person change attribute refers to?
  • timestamps are milliseconds with begin at?

(DTD is known)

[Update analysis results]

My guess based on gramps example:

  • handle of person is referenced by person@child, person@father, person@mother.
  • handle of familie is referenced by person@parentin
  • change is a timestamp miliseconds since ??? year.
  • people@home is a reference to a person@handle
  • 2
    (Caveat: I'm not a Gramps user, and this is the first time I've looked at it.) Gramps has some pretty thorough documentation, but it doesn't seem to describe the XML format clearly. The XML looks like a dump of the internal database, and that's probably where to start. For example, under Table Objects it notes that times are in the python time.time() format, which counts fractional seconds since the "epoch", which is 1970/01/01 00:00:00 on my Windows PC. – AndyW Dec 13 '16 at 9:18
4
+100

One idea is to view how Gramps writes its own XML file

Another is to join the Gramps developers mailing list and ask.

I don't believe many of the developers are here

Also see:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.