Add URL to map/TOC

Post here questions and problems related to editing and publishing DITA content.
AnalogKid82
Posts: 12
Joined: Fri Nov 15, 2019 9:13 pm

Add URL to map/TOC

Post by AnalogKid82 »

Is it possible to add a link to a URL, such as an external site (www.mysite.com) as a map entry so that it appears as a clickable link in the output TOC? We publish to Fluid Topics. Antidot told us to use the following, but the output TOC only shows the navtitle text and the text is unlink:

<topicref href="https://docs.veracode.com/r/About_Veracode_API_Scanning" locktitle="yes">
<topicmeta>
<navtitle>Getting Started with API Scanning</navtitle>
</topicmeta>
</topicref>
Radu
Posts: 9421
Joined: Fri Jul 09, 2004 5:18 pm

Re: Add URL to map/TOC

Post by Radu »

Hi,

Usually a web link to an external web site should add two more attributes on the topicref element:

Code: Select all

<topicref href="https://docs.veracode.com/r/About_Veracode_API_Scanning" locktitle="yes" scope="external" format="html">
You can try to publish to plain HTML5 to see if that works. If publishing to FluidTopics will still not work maybe you can contact them about this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
AnalogKid82
Posts: 12
Joined: Fri Nov 15, 2019 9:13 pm

Re: Add URL to map/TOC

Post by AnalogKid82 »

Thanks Radu!
Post Reply