DITA procedure - Fluid Topics - Latest

How to Not Index Parts of Content

Category
How To
Audience
public
Version
Latest

Follow this procedure to exclude specific parts of DITA content from being indexed:

  1. Download the data-ft-no-index_plugin.zip DITA-OT plugin from the Attachments.
  2. Follow the Add a DITA-OT plugin technical note to create a custom DITA-OT containing the data-ft-no-index_plugin.zip plugin.
  3. Select the Configure DITA-OT button in the Sources tab of the Knowledge Hub menu.
  4. Upload the custom DITA-OT archive.
  5. Open the DITA-OT Advanced settings, and enter html5 in the Transtype field.
  6. Select Save.
  7. Go to the Publishing menu, and upload DITA content with the data-ft-no-index="true" attribute.

    For example:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
    <topic xml:lang="en" id="test-ft-no-index">
        <title>Test</title>
        <body>
            <p data-ft-no-index="true">Fluid Topics will not index this content, but it will be visible to readers.</p>
            <p>Fluid Topics will index this content, and it will be visible to readers.</p>
        </body>
    </topic>
    

Content tagged with data-ft-no-index="true" does not appear in search results, or in Chatbot answers.

The data-ft-no-index="true" attribute applies to the tagged element and all its children. If a parent element is tagged, child-level tags are ignored.

Do not use data-ft-no-index to hide content from users. Content tagged with data-ft-no-index appears in published documents. Fluid Topics does not indexes it.

Instead, use: