Copy link to clipboard
Copied
I am using RH 2019 version. In the output generated, the file has .htm extension. For some reason, we need the extension of the file to be .HTML. Is it possible while generating the output? If yes, how?
Copy link to clipboard
Copied
By file, I mean the topic has extension of .htm
Copy link to clipboard
Copied
Rename the topics to have the HTML extension. It seems to work in a simple test.
Copy link to clipboard
Copied
Are you suggesting to rename it manually? If so, we have more than 300 topics. Is there a way to do batch changes, including the links (used as a reference to another topic) inside the topics?
Copy link to clipboard
Copied
You could try a bulk rename utility to rename the extensions and then a full-featured text editor (such as Notepad++) to find and replace the link extensions within the files. Such text editors have a "find in files" function that you could use to accomplish this.
Since you need to do this on your output (and not your source project) there is no real risk to try this. If it breaks it, just create the output again. I think it should work for you though.
Good luck.
Edit: to be clear, I'm suggesting doing this on the OUTPUT, not the source files of the RH project. If you do this to the RH project, I have no doubt it will probably break it.
Copy link to clipboard
Copied
If you change the filename in RoboHelp, the links get updated automatically, again in a simple test.
I am not aware of any RoboHelp option to rename the file extension and if you use an external method it will not fix the links.
Enjoy your day. 🙂
Copy link to clipboard
Copied
Doing it that way means doing it every time you generate. If you backup before doing it the way I suggested, it's a one time job.