It shouldn't be difficult, depending on how the GEDCOM file is
structured and what kind of programming you have available. You'd
need to write up a program, something like this:
- - Open GEDCOM file
- - Read a line
- - IF (left character of line = '0') // have a new individual
- - output (print | save to file | something) previous individual
- - // look for name tag
- - name = (find 'NAME' at positions 3-6; remove positions 1-6)
- - // look for note tags
- - note(n) = (find 'NOTE' at positions 3-6; remove positions 1-6)
- - // if you find a note tag, look for CONT tags
- - note(n) = (find 'CONT' at positions 3-6; remove positions 1-6; append)
- - continue
I'm looking at a GEDCOM output by The Master Genealogist 4.0d. NOTE
tags occur on the 1 level, which look like actual anecdotes, and
higher levels, which look like comments on other tags. So if you
want to get the higher level tags, you'd also want to extract which
tag it comes from. (For some reason which I can't fathom at the
moment, I use a 'Memo Note' in addition to a NOTE tag. It comes out
as 1 EVEN / 2 TYPE Memo Note. I'd want to extract those as
comparable to NOTEs.)
Macro programming languages for various word processors could
probably be induced to do this. I'd probably write something in
PHP, just because that's what I'm most familiar with at the moment.
--
Joe Makowiec
http://makowiec.org/
Email:
http://makowiec.org/contact/?Joe
Joe Makowiec <mako...@invalid.invalid>