Adding a Pretty URL in FTML - Fluid Topics - 3.5 - Technical Notes

Empower Metadata with Fluid Topics

Product
Fluid Topics
Fluid Topics Version
3.5
Category
Technical Notes
Language
English
Target Audience
public

The ft:prettyUrl metadata element is available for ftmaps and FTML topics.

When creating pretty URLs manually, colons, question marks, brackets, at signs, and percent signs are forbidden. Exclamation points, dollar signs, ampersands, apostrophes, parentheses, plus signs, commas, semicolons, and equals signs are allowed. All other non-ASCII characters are displayed as percent-encoded.

The following lines show how to assign a value for the ft:prettyUrl metadata key to an ftmap and to an FTML topic node:

<?xml version="1.0" encoding="UTF-8"?>
<ft:map ft:editorialType="book" ft:lang="en-US" ft:originID="42" ft:title="Installation Guide" xmlns:ft="http://ref.fluidtopics.com/v3/ft#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ft:metas>
<ft:meta key="ft:prettyUrl" type="string">Product/Oleandor/Installation_Guide</ft:meta>
</ft:metas>
<ft:toc>
<ft:node ft:originID="711rbe" ft:title="Prerequisites" href="prerequisites.html" type="topic">
<ft:metas>
<ft:meta key="ft:prettyUrl">Product/Oleandor/Installation_Prerequisites</ft:meta>
<ft:meta key="audience">beginner</ft:meta>
</ft:metas>
</ft:node>
...
</ft:toc>
</ft:map>