Webhelp classic how to create friendly urls

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jojobar
Posts: 27
Joined: Wed Nov 02, 2016 9:01 pm

Webhelp classic how to create friendly urls

Post by jojobar »

I am trying to configure docbook webhelp classic. It creates url like http://.../.../#ch05s03s01s01.html. I would like it to be more user friendly using topic names of chapters and sections, for example:something like http://.../.../#my-topic-1.my.section02 etc.

I have seen this in many help files created using docbook. I am wondering if anyone knows of a setting in OxygenXml that can achieve this.
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Webhelp classic how to create friendly urls

Post by radu_pisoi »

Hi,

You can control the names generated by the Docbook chunking mechanism by using the dbhtml processing instruction embedded in the element:

Code: Select all

<chapter><?dbhtml filename="intro.html" ?>
<title>Introduction</title>
...
Another solution is to specify the id attribute for all elements that start a chunk, case when this attribute value will be used to establish a chunk filename. This behavior is controlled by the use.id.as.filename parameter that should be set to a non-zero value.

Please see more details in Chunking into multiple HTML files topic from the Docbook documentation:
http://www.sagehill.net/docbookxsl/Chunking.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply