Webhelp classic how to create friendly urls

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
jojobar
Posts: 13

Webhelp classic how to create friendly urls

Sun Nov 06, 2016 6:12 am

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: 319
Location: Craiova

Re: Webhelp classic how to create friendly urls

Mon Nov 07, 2016 4:09 pm

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

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 5 guests