Page 1 of 1

Export Gedcom File - Keywords

Posted: 06 Dec 2022 18:06
by rfield
Hi Mike,

I was working on my TNG site and noticed that some of the keywords where not what I expected to see.
I'm using Export Gedcom File plugin Ver. 5.1 with FH 7.0.18 and TNG 13.04.

The assignment of the uppercase keywords to _Type is working fine but it appears that the keyword is being removed from the media note and leaving a comma. The option for "Media Keywords %d_KEYS" is set to "Move to Note & _TYPE (TNG)".
The following is an example.
Media objects with a single uppercase Keyword will no longer have a Keywords note which I'm assuming is because it's now empty.

Code: Select all

1 OBJE
2 FILE X:\Exports\tng\object.jpg
2 FORM jpeg
2 TITL James Wickens newspaper article
2 _TYPE DOCUMENTS
2 NOTE Media Date:	15 MAY 1927
3 CONT Keywords:	, newspaper
Or the following depending on the uppercase keyword location.

Code: Select all

3 CONT Media Date:	1851
3 CONT Keywords:	Census, 
2 _TYPE DOCUMENTS
For now, I'm just using regex to clean up the stray commas.

Thanks,
Ron

Re: Export Gedcom File - Keywords

Posted: 06 Dec 2022 20:25
by tatewise
Thank you Ron.
I'll tidy up those redundant commas in the next plugin version.