The FrameMaker connector generates a topic's originId in two parts as follows:
- The SHA256 hash function produces a 256-bit (32-byte) hash value for the topic's filepath.
- The first
idattribute found in the topic's content (including thehheading tag that defines the topic). If the content lacks anidattribute, the slugified topic title serves as the identifier.
The connector concatenates the two parts with a hyphen (-).
Example
The Basic HTML/file_1.htm file has the following structure:
<h2 id="anchor_id_1">Title 1</h2>
<p>Content</p>
<h2>Title 2</h2>
<p id="anchor_id_2">Content</p>
<h2>Title 3</h2>
<p>Content</p>
The connector generates the following values for the originId of each topic extracted from the file:
-
Topic 1
7e3fdba501a43523f6a6b9cd2b9437b1b68ee202a7e25998624c231e2cbb1bba-anchor_id_1 -
Topic 2
7e3fdba501a43523f6a6b9cd2b9437b1b68ee202a7e25998624c231e2cbb1bba-anchor_id_2 -
Topic 3
7e3fdba501a43523f6a6b9cd2b9437b1b68ee202a7e25998624c231e2cbb1bba-title-3