Bug- GEDCOM export should convert all templates to expanded form

+3 votes
62 views
When exporting a GEDCOM, all templates for wiki markup (including profile links [[Crawford-7109|Jon Crawford]], url links [www.wikitree.com wikitree], external templates {{FindAGrave|foo|sameas=no}}, DAR, Ancestry, etc.) should be expanded to be the formatted output so that data is not lost.
in WikiTree Tech by Jonathan Crawford G2G6 Mach 6 (63.9k points)

1 Answer

+2 votes
 
Best answer
Hi Jonathan. Your URL example should actually be [https://www.wikitree.com/ wikitree], shouldn't it? I don't see any need to expand that one, because the full URL is already present.

For the WikiTree ID links and the templates, expanding them in place is going to produce quite ugly text. It might be better to add a list at the end of the biography as a key, indicating the translation of the templates to the full URLs. There are other advantages in leaving the templates present as well. They are easy to read, and could be useful in the future if the site in question changes its URL  format.

Personally, I would prefer to retain the option to keep everything as it is at the moment, because I would use local software to turn templates and so forth into whatever form I wanted. I know this won't suit many people, so the proposal has merit. If there is a change, it will be good if the GEDCOM download page can provide a choice between the old and the new arrangement.
by Jim Richardson G2G6 Pilot (132k points)
selected by Jonathan Crawford
I forgot to add in free space links too. Good point about the url already being there.

I like the idea of a list, and then you would still see both. Not sure if thats easier or harder.

Thank you for the star, Jonathan. I don't see why a list would be harder. The code could just collect the templates as it went along, then at the end insert a series of bullet points like this:

* {{FindAGrave|9999999|sameas=no}} : https://www.findagrave.com/memorial/9999999

Just because the display code already does it in place for the html, is what I was thinking.
This is a good idea and something we should do the next time GEDCOM exports are worked on.

Related questions

+8 votes
2 answers
+3 votes
0 answers
+2 votes
2 answers
86 views asked Aug 11, 2020 in WikiTree Tech by Leon Bezuidenhout G2G6 Mach 1 (10.8k points)
+2 votes
2 answers
84 views asked Mar 3, 2020 in WikiTree Tech by Corinne Morris G2G6 Mach 1 (17.0k points)
+7 votes
4 answers
198 views asked Mar 12, 2020 in WikiTree Tech by Kenneth Nellis G2G6 (7.5k points)
+5 votes
3 answers
158 views asked Jul 7, 2020 in Policy and Style by Darren Kellett G2G6 Pilot (151k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...