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
PolyGeo
  • 11,170
  • 6
  • 29
  • 57
  • 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 09:18

1 Answers1

4

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:

Sam
  • 1,243
  • 1
  • 9
  • 27