Page 1 of 1

Mask/mod WebHelp generated URLs

Posted: Fri Jul 21, 2017 11:01 am
by parisk
Hi there,

In my understanding, Oxygen uses the names of the dita files to generate the html filenames for the WebHelp output.
Example:
DITA file: c_example_concept.dita
HTML file: c_example_concept.html

Is there a way to change this?
Can I somehow force Oxygen to name the generated html files as I want to?

Thank you in advance! :)

Re: Mask/mod WebHelp generated URLs

Posted: Fri Jul 21, 2017 12:51 pm
by bogdan
Hi,

You could use the copy-to parameter set on each topicref in your ditamap.
More precisely, a reference such as:

Code: Select all

<topicref href="topics/c_example_concept.dita"/>
should become

Code: Select all

<topicref href="topics/c_example_concept.dita" copy-to="topics/a_completely_new_name.dita"/>
In the generated WebHelp the output file should be a_completely_new_name.html

Regards,
Bogdan

Bogdan Goreci
oXygen XML Editor, Author and Developer
http://www.oxygenxml.com

Re: Mask/mod WebHelp generated URLs

Posted: Fri Jul 21, 2017 2:21 pm
by parisk
Thank you Bogdan!
I'll give this a try and report back. :)