* Export Gedcom File - Keywords

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
avatar
rfield
Diamond
Posts: 63
Joined: 25 Jun 2015 18:41
Family Historian: V7
Location: Winnipeg, Canada
Contact:

Export Gedcom File - Keywords

Post by rfield » 06 Dec 2022 18:06

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

User avatar
tatewise
Megastar
Posts: 27074
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Export Gedcom File - Keywords

Post by tatewise » 06 Dec 2022 20:25

Thank you Ron.
I'll tidy up those redundant commas in the next plugin version.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply