@type - Fluid Topics - 3.4 - Technical Notes

Upload FTML Content to Fluid Topics

Fluid Topics
Fluid Topics Version
Technical Notes
Target Audience

The @type attribute is used within the ft:node element to declare the type of the node.

The @type element is optional. It can have two different values:

  • topic (value by default)

The following lines show an example of the @type attribute set to topic:

<?xml version="1.0" encoding="UTF-8"?>
<ft:map ...>
<ft:node ft:originID="192fe" ft:title="Introduction" href="intro/introduction.html"
<ft:meta key="product">myProduct</ft:meta>
<ft:meta key="audience">beginner</ft:meta>
<ft:node href="front.html"/>
<ft:node ft:title="Copyrights" href="copyrights.html"/>

  • topics

Pre-requisites for an ft:node with the attribute type="topics":

  • It must contain an @href attribute targeting a HTML or Markdown file.
  • It must not have ft:node children.


If we have the following HTML file:

<p><a name="Animals">Animals</a></p>
<h1><a name="_animal_classification">Animal Classification</a></h1>
<p>Animals are multicellular eukaryotic organisms that form the biological kingdom Animalia. In modern times, the biological classification of animals relies on advanced techniques, such as molecular phylogenetics, which are effective at demonstrating the evolutionary relationships between animal taxa.<p>
<p>The word “animal” comes from the Latin animalis, meaning having breath, having soul or living being. The biological definition includes all members of the kingdom Animalia. In colloquial usage, as a consequence of anthropocentrism, the term animal is sometimes used non-scientifically to refer only to non-human animals.</p>
<h1>Beast Poetry</h1>
<p>Beast poetry, in the context of European literature and Medieval studies, refers to a corpus of poems written in Latin from the 8th to the 11th century.</p>
<p>These poems draw upon an ancient literary tradition of anthropomorphic animals dating back into antiquity and exemplified by Aesop. They are the immediate foundation for the flowering of Reynard literature that occurred in the 12th century. Elements from beast poetry have been adapted into subsequent works ranging from the Canterbury Tales to contemporary movies made with computer animation.</p>

It is transformed in a topic group in the following way:

TOPIC Animals
├── title – Animals
├── content - <p><a name="Animals>Animals</a></p>
├── TOPIC Animals_Animal_classification
│ ├── title – Animal Classification
│ ├── content - <p>Animals are multicellular eukaryotic organisms...relationships between animal taxa.</p>
│ └── TOPIC Animals_Animal_classification_Etymology
│ ├── title - Etymology
│ └── content - <p> The word “animal” comes from the Latin animalis...only to non-human animals.</p>
└── TOPIC Animals_Beast_Poetry
├── title – Beast Poetry
└── content – <p> Beast poetry, in the context of...to contemporary movies made with computer animation.</p>