Mask/mod WebHelp generated URLs

parisk
Posts: 6

Mask/mod WebHelp generated URLs

Fri Jul 21, 2017 11:01 am

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! :)
bogdan
Posts: 13

Re: Mask/mod WebHelp generated URLs

Fri Jul 21, 2017 12:51 pm

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
parisk
Posts: 6

Re: Mask/mod WebHelp generated URLs

Fri Jul 21, 2017 2:21 pm

Thank you Bogdan!
I'll give this a try and report back. :)

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 2 guests