Web based family history software

Question Extended Import/Export custom module as successor of DownloadGedcomWithURL

  • Jefferson49
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 weeks 1 day ago - 2 weeks 1 day ago #1 by Jefferson49
While working with Peter_S on some use cases to synchronize GEDCOM data between webtrees and GEDBAS , we identifyed the need for a GEDCOM filter for automatic conversion of GEDCOM data during the webtrees export. Specificly, a filter was needed to reduce the webtrees data to BMD (Birth, Marriage, Death) and also insert links to the original data source in the webtrees installation.

In this context, Peter_S proposed a configurable export transformation, which is simular to some approaches, which he is already using in his own programs. After some feasibility tests, the concept turned out to be very promising.

Based on these first thoughts, I implemented the following approach as extension to the existing DownloadGedcomWithURL module:
  1. Select/Unselect GEDCOM structures based on the webtrees tag combination syntax ( app/Gedcom.php ).
  2. Use regular expression search/replace patterns, like used in webtrees datafixes (Search and replace / Regular expression).
  3. Describe GEDCOM filters as a set of filter rules consisting of tag combinations and search/replace patterns.
  4. Provide the possiblilty to include a PHP function for advanced data conversion needs.
  5. Execute GEDCOM filters before/during export, import etc..
  6. Provide a remote API to trigger exports with GEDCOM filter execution.

The Extended Import/Export custom module is released as version 4.0.0 of the former DownloadGedcomWithURL module. Settings of the former module are migrated to the new module version during first boot.

Further documentation can be found in the Readme on Github .
Last edit: 2 weeks 1 day ago by Jefferson49. Reason: Changed link to Readme

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum