* note codes
-
ddreilly15
- Newbie
- Posts: 3
- Joined: 02 Jan 2023 00:59
- Family Historian: V7
note codes
I need to know how to get the notes to import so they are not full of codes?
I am in the process of transferring my FTB ver 8 tree to FH ver 7. I have exported a GEDCOM from FTB and then with FH, I Import it via the Project Window - New Project and with the browse button I locate the GEDCOM file created with FTB. Prior to the import's completion I am presented with a rather cryptic dialogue about note wrapping and having no idea which option to choose. There appears to be three options. I imported the GEDCOM three different times each time selecting a different option and each time I get basically the same result.
I am in the process of transferring my FTB ver 8 tree to FH ver 7. I have exported a GEDCOM from FTB and then with FH, I Import it via the Project Window - New Project and with the browse button I locate the GEDCOM file created with FTB. Prior to the import's completion I am presented with a rather cryptic dialogue about note wrapping and having no idea which option to choose. There appears to be three options. I imported the GEDCOM three different times each time selecting a different option and each time I get basically the same result.
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: note codes
Welcome to the FHUG.
There is FHUG Knowledge Base advice for Importing to Family Historian with a section for MyHeritage.
You may find useful advice there, however, there is nothing specifically about Note formats and codes.
GEDCOM wraps long Notes to limit each line length, but different products implement the wrap in different ways.
i.e. They do not always adhere to the GEDCOM specification.
Choose the option to let FH determine the best method and the words in Notes should look OK.
However, none of that has anything to do with codes in Notes. GEDCOM defines Notes as holding plain text.
So any codes used by products, are their own invention, and probably not recognised by other products.
That is what is happening here. MyHeritage Family Tree Builder uses HTML codes in Notes but FH does not.
FH uses Rich Text formatting codes, some of which are similar to HTML but many are not.
So codes such as <b> </b> and <i> </i> might work in Rich Text Notes.
It may be possible to convert the codes from HTML to Rich Text and in many cases that can be done by a bulk find & replace.
Please provide some examples of the codes so that we can advise how to convert them.
There is FHUG Knowledge Base advice for Importing to Family Historian with a section for MyHeritage.
You may find useful advice there, however, there is nothing specifically about Note formats and codes.
GEDCOM wraps long Notes to limit each line length, but different products implement the wrap in different ways.
i.e. They do not always adhere to the GEDCOM specification.
Choose the option to let FH determine the best method and the words in Notes should look OK.
However, none of that has anything to do with codes in Notes. GEDCOM defines Notes as holding plain text.
So any codes used by products, are their own invention, and probably not recognised by other products.
That is what is happening here. MyHeritage Family Tree Builder uses HTML codes in Notes but FH does not.
FH uses Rich Text formatting codes, some of which are similar to HTML but many are not.
So codes such as <b> </b> and <i> </i> might work in Rich Text Notes.
It may be possible to convert the codes from HTML to Rich Text and in many cases that can be done by a bulk find & replace.
Please provide some examples of the codes so that we can advise how to convert them.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
ddreilly15
- Newbie
- Posts: 3
- Joined: 02 Jan 2023 00:59
- Family Historian: V7
Re: note codes
thanks for your advice. I have tried every option available when importing my GEDCOM and get the same results. All note were imputed using cut and paste fro an MS word file.
I have looked into the Knowledge Base link as well as posted the same Question to the FH Technical. As you indicated there was nothing on my perticular problem in the Knowledge base that I can tell and I am not holding my breath on tech support. Here is a sample of how my note come in. they are full codes
<p style="text-align: left;" dir="ltr"> </p>
<p class="MsoNormal" style="margin: 0in 0in 8pt; line-height: 107%; text-indent: 0.25in;"><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 11pt; font-family: 'Calibri',sans-serif; line-height: 107%; mso-fareast-font-family: Calibri;">Denis Reilly</span></strong><span style="font-size: 11pt; font-family: 'Calibri',sans-serif; line-height: 107%; mso-fareast-font-family: Calibri;"> married 3/30/1985 Maureen Colgan (4/11/1958),<span style="mso-spacerun: yes;"> </span>they had 4 children </span></p>
It seem to me that the fix would be easier to go back to FTB and cut and paste each note. I have about 471 people in my tree but only about 50 or so have notes. Mostly my tree is made up of Facts and Media which seems to be imported correctly for the most part.
thanks again for your advice but the amount code embedded is considerable; so the find and replace option seem to be a moumental task. I think i'll go with the cut and past technique
I have looked into the Knowledge Base link as well as posted the same Question to the FH Technical. As you indicated there was nothing on my perticular problem in the Knowledge base that I can tell and I am not holding my breath on tech support. Here is a sample of how my note come in. they are full codes
<p style="text-align: left;" dir="ltr"> </p>
<p class="MsoNormal" style="margin: 0in 0in 8pt; line-height: 107%; text-indent: 0.25in;"><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 11pt; font-family: 'Calibri',sans-serif; line-height: 107%; mso-fareast-font-family: Calibri;">Denis Reilly</span></strong><span style="font-size: 11pt; font-family: 'Calibri',sans-serif; line-height: 107%; mso-fareast-font-family: Calibri;"> married 3/30/1985 Maureen Colgan (4/11/1958),<span style="mso-spacerun: yes;"> </span>they had 4 children </span></p>
It seem to me that the fix would be easier to go back to FTB and cut and paste each note. I have about 471 people in my tree but only about 50 or so have notes. Mostly my tree is made up of Facts and Media which seems to be imported correctly for the most part.
thanks again for your advice but the amount code embedded is considerable; so the find and replace option seem to be a moumental task. I think i'll go with the cut and past technique
- Mark1834
- Megastar
- Posts: 2145
- Joined: 27 Oct 2017 19:33
- Family Historian: V7
- Location: South Cheshire, UK
Re: note codes
Coincidentally, I think there is overlap between this issue and recent discussion on removing unwanted font formatting.
While there may be options for fairly blunt tools that remove format codes, doing it selectively such that only unwanted elements are removed and others retained is much more of a challenge. Copy/paste of individual notes is tedious, but probably safer than trying to change codes after importing, particularly as you are still learning the main features of FH.
While there may be options for fairly blunt tools that remove format codes, doing it selectively such that only unwanted elements are removed and others retained is much more of a challenge. Copy/paste of individual notes is tedious, but probably safer than trying to change codes after importing, particularly as you are still learning the main features of FH.
Mark Draper
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: note codes
As an experiment, I used the Search and Replace plugin to remove all HTML codes enclosed in < brackets > from the sample Note you posted and that produced:
Denis Reilly married 3/30/1985 Maureen Colgan (4/11/1958), they had 4 children
Another pass using the plugin would easily remove the codes.
If you are interested, I can explain how to use the plugin to remove those unwanted codes from all the Notes in one go.
It is really quite easy
If that is unsuccessful, then you can still use the manual copy & paste on each of the 50 Notes.
Denis Reilly married 3/30/1985 Maureen Colgan (4/11/1958), they had 4 children
Another pass using the plugin would easily remove the codes.
If you are interested, I can explain how to use the plugin to remove those unwanted codes from all the Notes in one go.
It is really quite easy
If that is unsuccessful, then you can still use the manual copy & paste on each of the 50 Notes.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Mark1834
- Megastar
- Posts: 2145
- Joined: 27 Oct 2017 19:33
- Family Historian: V7
- Location: South Cheshire, UK
Re: note codes
Out of interest, how does a user unfamiliar with HTML syntax deal with retaining text deliberately between angle brackets, or identifying and processing other escaped characters such as <, >, &, “ and ‘?
It’s the OP’s call of course, but by the time they’ve learned how to install the plugin, navigated the interface, and carefully reviewed each substitution for accuracy and completeness, they might challenge the “easy” description
.
It’s making such solutions robust in all circumstances that presents the challenge, both to CP and plugin authors. It would be possible to build a more sophisticated “Remove All HTML” plugin, but no, I’m not volunteering to write it!
It’s the OP’s call of course, but by the time they’ve learned how to install the plugin, navigated the interface, and carefully reviewed each substitution for accuracy and completeness, they might challenge the “easy” description
It’s making such solutions robust in all circumstances that presents the challenge, both to CP and plugin authors. It would be possible to build a more sophisticated “Remove All HTML” plugin, but no, I’m not volunteering to write it!
Mark Draper
-
ddreilly15
- Newbie
- Posts: 3
- Joined: 02 Jan 2023 00:59
- Family Historian: V7
Re: note codes
Being basically an end user of FH software as well as Ms word I am unfamiliar with HTML text and Rich text.
I am appreciative of your expertise and no that the plug-in that you're speaking of will work. But my unfamiliarity with the software causes me to hesitate to use it. I need to become more familiar with FH software before I proceed
Thanks
Ps. Tech support did answer my question but with much less detail than you and gave me no other option but to return to the original program to see if they can convert the HTML text
I am appreciative of your expertise and no that the plug-in that you're speaking of will work. But my unfamiliarity with the software causes me to hesitate to use it. I need to become more familiar with FH software before I proceed
Thanks
Ps. Tech support did answer my question but with much less detail than you and gave me no other option but to return to the original program to see if they can convert the HTML text