Skip to main content
Known Participant
August 11, 2015
Question

How to generate WebHelp with .html instead of .htm

  • August 11, 2015
  • 1 reply
  • 1967 views

Hi,

Can you please let me know how to generate WebHelp with file extension .html for files like, "whgbody.htm", "cshdat_robohelp.htm" etc.

I am using RoboHelp HTML9.

Regards,

Prashant

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
August 11, 2015

This is a fairly regular question but Search doesn't seem to find it.

I believe many of Rh's internal workings in the output rely on the extension being HTM. Changing their extension would thus break the help.

WebHelp from Rh9 is unlikely to work properly in modern browsers so do test your work.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Known Participant
November 18, 2015

Hi Peter,

Thank you very much for quick reply.

Currently, we have decided to do one of the following. Please let me know which is better option.

Option 1:

1. Doc writer will provide .HTML extension for each topic manually.

2. Developer will write a script which will convert .htm extensions to .html for files like, "whgbody.htm", "cshdat_robohelp.htm" etc.

3. The same script will adjust any internal links as well as will edit all of the JavaScript files so they correctly refer .html instead of .htm.

Option 2:

Write Java classes for each HTM file. Reason is - We use apache click and all *.htm files go through ClickServlet.  .HTM can work with clickServlet. But to do so, developer needs to write Java classes for each HTM file,

Awaiting your response.

Regards,

Prashant.

Peter Grainge
Community Expert
November 20, 2015

I said that changing the extension would break the help so only testing workarounds will tell you whether they work at all and what issues are encountered, especially using an old version of RoboHelp.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.