The ft:openMode
metadata determines whether a link opens in Fluid Topics (fluidtopics
) or in an external page (external
).
For example, end-users can be redirected to an external URL when selecting a document found in the Search results.
DITA use case
The following DITA <bookmap>
and topic.dita
file lead to the Fluid Topics YouTube Channel.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap xml:lang="en-US">
<booktitle>
<mainbooktitle>Testing ft:openMode</mainbooktitle>
</booktitle>
<bookmeta>
<othermeta name="ft:openMode" content="external"/>
<othermeta name="ft:originUrl" content="https://www.youtube.com/@fluidtopics/videos"/>
</bookmeta>
<chapter>
<topicref href="topic.dita"/>
</chapter>
</bookmap>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="youtube_channel">
<title>Fluid Topics YouTube channel</title>
<body>
<p>Click here to access the Fluid Topics YouTube channel!</p>
</body>
</topic>
Result:
The ft:openMode
metadata does not work at the topic-level.