0

Move Note URL to Rich Text Web Link

Convert any local Note with an unformatted URL and optional codes into the Rich Text active Web Link <web=”URL”> format.

On completion, the plugin will optionally list all the converted URL in a Result Set.

The plugin handles the http://, https://, and ftp:// URL protocol formats with safe, reserved, unreserved, and most unsafe characters.

This is useful for GEDCOM exported from FTM 2019 where Source Citations have Web address URL held in _LINK tags that are imported by FH into local Note fields. The plugin will convert them to Rich Text active Web Link format.

Another use is for handling custom attribute facts with auto-created local Note text containing URL as explained below.

The Tools > Fact Types... command must be used to define a custom attribute in which the Fact Definition dialogue, Advanced... button, Auto-Create Note: field, specifies a URL with a format such as:
See https://www.familysearch.org/tree/person/details/{value}/ "{individual's} {value} FamilySearch" page.
When the custom attribute is added to an Individual, that text is automatically inserted into the local Note field and the user enters the attribute value, which is the unique part of the website URL.

The plugin converts that URL and the {value} and {individual's} codes to the Rich Text active Web Link format such as:
See <web="https://www.familysearch.org/tree/person/details/LH3-6Y/","John Smith's LH3-6Y FamilySearch"> page.

That is displayed in the Note text as: See John Smith's LH3-6Y FamilySearch page.

The requirements are:

  • The local Note needs valid URL that start with https:// or http:// or ftp://.
  • Each URL may optionally be followed by one space and some display text enclosed in "string quotes".
  • The Note may include the code {value} to be replaced by the fact attribute value.
  • The Note may include the codes {individual} and {individual's} to be replaced by the record Name.
  • There may be more than one of any of the above.

If there is a {value} code, but no fact attribute value, then the Note is not converted.

Download Move Note URL to Rich Text Web Link V1.2

  • Family Historian Version(s): V7
  • Plugin Type: Standard
  • Written by Mike Tate
  • View Source Code
  • Downloaded 80 times
  • No additional help available

Version History

  • V1.2: Handle URL with embedded {value} or {individual’s} or {individual} codes and “display text”; Handle rich text Notes; Offer optional Result Set;
  • V1.1: Avoid subsequent run upsetting converted Rich Text URL;
  • V1.0: First published;

Leave a Reply

Your email address will not be published. Required fields are marked *