Configure FTML resources for indexation - Fluid Topics - 4.3

Fluid Topics Configuration and Administration Guide

Category
Reference Guides
Audience
public
Version
Latest

Fluid Topics can index FTML resources. Resources are documents to which HTML topics refer.

As for now, resource indexation is only available for FTML content.

Indexing resources allows users to easily find a topic containing a searched resource.

This can be used for instance to index resources added to Jira issues, making them searchable. Thus the issues related to a given resource can easily be found in Fluid Topics.

A resource can be set for indexation by using the data-ft-index attribute in a tag. This attribute must take the "content" value.

Example

In a HTML topic meant to be part of FTML content, add the data-ft-index attribute to the resource links in the topic:

<div>
    <p>
        <img src="./time_capacitor_part.svg" width="120" alt="Time Capacitor part for OleanDor time machines">
        </img>
    </p>
    <p>Ref: 333 139665</p>
    <p>50,265 $</p>
    <ul>
        <li><a href="OD1000_datasheet.pdf">OD1000 Time Machine Datasheet</a></li>
        <li><a href="time_capacitor_assembly_scheme.pdf" data-ft-index="content">Assembly Scheme</a></li>
    </ul>
</div>

Where:

  • OD1000_datasheet.pdf is not to be indexed.

  • time_capacitor_assembly_scheme.pdf is to be indexed.

Images cannot be indexed.