From: J. S. <jul...@gm...> - 2008-11-04 19:06:15
|
Read the reference Benny gave. Essentially, you can use the same algorithms to generate the value. Those of uuidgen are two particular cases of what the RFC allows, but you are not even required to use the RFC as long as the values are globally unique with high probability. What is clear is that it is formatted without hyphens, it is an hex sequence, either 32 or 36 hexdigits long. >From the spec, comparison should be case insensitive and only take into account the first 32 hexdigits. In any case, remember _UID is multivalued, may appear several times in a record. This is a feature. Julio 2008/11/4 Gerald Britton <ger...@gm...> > Is the _UID the same thing as a UUID as produced by uidgen? > > On Tue, Nov 4, 2008 at 1:45 PM, Benny Malengier > <ben...@gm...> wrote: > > > > > > 2008/11/3 Steven Birnam <ste...@gm...> > >> > >> I have created three separate GRAMPS databases, for which I build three > >> separate reports. > >> I have created a folder in which I place custom intro pages for each > page > >> (two of the reports have multiple intro pages, so I had to make sure the > >> menu items and links were correctly written). The reason behind the > separate > >> folder was so that I would not have to upload theses pages each time I > >> updated the reports (prior to this, I used the custom selection in the > >> report generation to refer to the intro page, and later, as I introduced > >> multiple intro pages, I manually uploaded the pages to the site, > >> > >> Now that I have alleviated the issue of overwriting index pages, I want > to > >> address duplicate people across the three databases. Example: I am in my > >> Steven Family database, and my wife is in the Linda family database - > rather > >> than duplicate each of our names and data in both GRAMPS databases, I > want > >> to link our names across the databases, so that when I access Steven, > and > >> look at the marriage record, I can automatically, via a link, access > Linda's > >> page in her family database. > >> > >> I know I can do this by creating links manually in the pages, so that by > >> clicking on the displayed name, I can go directly to the individual's > page > >> in the other database. But the manual programming presents several > >> management issues - so, there must be an easier way. > >> > >> Any suggestions? Has anyone built report sites with external links to a > >> second GRAMPS report? > > > > My idea would be to do some coding based on these issues as solved in > > GEDCOM. GEDCOM uses _UID in some programs to link people. (see eg > > www.familysearchdevnet.org/downloads/gedcom/FS-TT1001.doc or google for > it) > > > > So, I guess I would: > > > > 1/make the person handle visible on the attribute list via a tool 'Create > > Gramps UID'. This tool would add to each person the attribute with key > (UID, > > family tree name) and value: handle > > > > Note that handle is the filename on the website, and the basis of the > > directory structure > > > > 2/Add UID attributes on the persons you want to cross link. This can be > > automated with another tool where the user must give another family tree, > > and GRAMPS compares eg names, giving a list of UID attributes that can be > > added based on equal names > > > > 3/last step is making the web page creator aware of this. It would > suffice > > to enter the root web page for each family tree you crosslink with > (second > > part of the UID key), and based on the person UID attributes the cross > links > > can be created automatically. > > > > Some work, but not very difficult. > > > > Benny > > > >> > >> Steven Birnam > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Gramps-users mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-users > >> > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gramps-devel mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |