• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Changing DITA-OT build arguments in RH8 DITA map import

New Here ,
Mar 08, 2011 Mar 08, 2011

Copy link to clipboard

Copied

Hello,

I am looking to modify some of the build arguments RoboHelp 8 uses when importing a DITA map.

The import dialog allows a few to be specified: running-header (hdr), running-footer (ftr), html-head (hdf), ditaval (filter), and so on.

But I am looking for a way to specify the html file extension string. It does not look like there is a way to change it from the RoboHelp UI, so I assume it is hard-coded (or unspecified) in whatever build script RoboHelp is using to kick off the transformation.

Any chance anyone here is aware of where that script lives in a standard RoboHelp install?

Thanks.

Views

570

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 08, 2011 Mar 08, 2011

Copy link to clipboard

Copied

Hi cdybdahl,

             Can you please elaborate your requirement, as far as I know the option to specify the html file extension string is used to set the file extension of the HTML generated after transformatoion through Dita OTK, but why do you require it and how would you use it as RoboHelp just has extension .htm to all its HTML files created through any method be it import or create new topic.

       If you need all the .htm topics to renamed to .html then I can provide you with a small JavaScript which will do that in a flick, but it should be done only if it is must!

Ashish

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 08, 2011 Mar 08, 2011

Copy link to clipboard

Copied

Hi,

Added to that if you want to modify any of the DITA OT build arguments apart from what is provided through RH UI, you may use the scripts used in the DITA OT itself.

RoboHelp uses the scripts placed at the location of DITA OT that is pointed to by user in the DITA OT import dialog.

Hope this helps...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 10, 2011 Mar 10, 2011

Copy link to clipboard

Copied

LATEST

I am getting files with a .html extension as a result of the import DITA map feature (I was expecting .htm, as you mentioned). Thankfully, this is a smallish pilot project, so I could change the name of each file manually in the project.

The .htm file extension is a requirement because of the way our help topics are currently mapped. I need to reproduce filenames from DITA source, and these file names are uniformly .htm.

I did try changing the extension in the various xsl scripts for the toolkit's HTML transform, but none of this changed my results. But this is usually passed as a parameter in the build script. I don't see how RoboHelp could be using the build scripts from DITA-OT without modification. One of the parameters you need to pass is the source file name. If you are talking about the XSL scripts, that's a different matter. You can change those all you want, but this particular parameter will always be taken from the ANT build script, and changing that behaviour would require a fairly substantial rewrite to the toolkit XSL code. There must be some facility happening behind the scenes in RH to construct this script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp