gedcom cgi protocol and web services
play

Gedcom CGI Protocol and Web Services John Finlay PhpGedView - PowerPoint PPT Presentation

Gedcom CGI Protocol and Web Services John Finlay PhpGedView Project Manager The Problem We need a way to inter-connect different genealogy systems GEDCOM provides a standard for encoding genealogy data, but we still lack a common


  1. Gedcom CGI Protocol and Web Services John Finlay PhpGedView Project Manager

  2. The Problem  We need a way to inter-connect different genealogy systems  GEDCOM provides a standard for encoding genealogy data, but we still lack a common communication protocol.  Other industries have tapped into this potential by offering a variety of B2B and P2P services.

  3. GEDCOM Communication Protocol  Client-server system architecture. Client  The client and server communicate over HTTP  Data is encoded in the GEDCOM 5.5 HTTP & GEDCOM standard • Lightweight specification • Ubiquitous among genealogy programs. Server

  4. GEDCOM Communication Protocol  Every client request must specify an “action” value. • The “action” determines what other variables also need to be sent by the client.  The server will respond with data and/or a success code. Action Success 0 @I1@ INDI 1 NAME Joe /Tech/ Server 1 SEX M Client 1 BIRT 2 DATE 4 OCT 1976

  5. GEDCOM Communication Protocol  Initiating a Connection • The client sends “connect” action.  Anonymous read-only session or an authenticated session by providing a username and password. • Client must include this session identifier with every future request. • The server responds with client’s unique session identifier. • Authenticated clients may receive greater access to private data or be allowed editing privileges. action=connect Success SESSID abcdefg12345 Server Client

  6. GEDCOM Communication Protocol  Query the server with the “search” or “soundex” actions Client  Request Gedcom record through the “get” action. 1 NAME /Finlay/ x  Authenticated clients can send an “update” 1 Q 0 r N u e @ 0 @I1@ INDI f e update search A = I1 I2 I3 I400 r I action to update a gedcom record. y 1 get success I success success M 1 = @ E f i n I 1 BIRT J N l o a D h y n I / F i n l a y / Server

  7. PhpGedView / GDBI Demonstration

  8. Using the protocol to Link Gedcoms  Link people in different Gedcoms such that individual A in Gedcom X links to individual B in Gedcom Y.  Useful when trees are joined through marriages  Gedcom X and Gedcom Y could reside on different computers.

  9. Using the protocol to Link Gedcoms Individual A Individual B 0 @I1@ INDI 0 @I1@ INDI 1 NAME Individual /A/ 1 NAME Individual /B/ 1 SEX M 1 SEX F 1 FAMS @F1@ 1 FAMS @gedcom://remote1.com/gedcomX/F1@ 1 FAMC @F1@ Family F1 0 @F1@ FAM Family F1 1 HUSB @I1@ 0 @F1@ FAM 1 WIFE @gedcom://remote2.com/gedcomY/I1@ 1 HUSB @I2@ 1 MARR 1 WIFE @I3@ 2 DATE 24 MAR 2005 1 MARR 2 PLAC Provo, Utah, Utah 2 DATE 24 MAR 1975 2 PLAC Provo, Utah, Utah 1 CHIL @I1@ Gedcom X on remote1.com Gedcom Y on remote2.com Father I2 Mother I3

  10. Using the protocol to Link Gedcoms  With this protocol and the simple extension of the GEDCOM specification, you can see how it would be possible to truly create that elusive world tree.  It allows people to maintain control and ownership over their own data, but still allow it to be shared and linked into other family trees.

  11. Questions?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend