Highlighted

Batch Import Folders and HTML Topics into Project

Community Beginner ,
Jun 01, 2015

Copy link to clipboard

Copied

Hello everyone.

What I have:

  • RoboHelp 10.
  • A highly-customized Multi-Screen HTML5 layout/profile.
  • Several thousand HTML topics with basic markup (full of topic content like headings, text, and images) divided across hundreds of windows folders in a hierarchy.

What I want to do:

  • Import all of these topics into my project without manually adding all the folders and importing files folder-by-folder.
  • Do this again in the future, since new folders and topics are added frequently, and we do not work in Robohelp (we create the files in a text editor because we don't like Robohelp's text editor or what it does to the code in the source files).

I've tested importing about a dozen topics in different folders to make sure everything works and I'm quite pleased with the result. As far as I understand, Robohelp is not aware of the folders/files in your project folder, and does not have a feature to batch import. Adding new files manually for every version just isn't an option.


Is there any way to do what I want? I am completely willing to write a small program that will modify the appropriate files for me. I just don't know what to modify to make this happen. I've tried editing the .fpj files in each folder, but that didn't include the topic in the generated output. So then I edited the .hhp file, and the topic was included in the final generated output, but did not have the screen layout applied to it. So I know I'm close, but missing something.


I appreciate any insight. Thanks.

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

Two options.

1] Just create a copy of the project in File Explorer, rename the project and clean up.

2] Recreate the folder structure. For each folder you can select all the files in it in one go, you don't have to import file by file. Not sure if you realised that.

As you have found, you cannot import the folder structure.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Topics

HTML

Views

546

Likes

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

Batch Import Folders and HTML Topics into Project

Community Beginner ,
Jun 01, 2015

Copy link to clipboard

Copied

Hello everyone.

What I have:

  • RoboHelp 10.
  • A highly-customized Multi-Screen HTML5 layout/profile.
  • Several thousand HTML topics with basic markup (full of topic content like headings, text, and images) divided across hundreds of windows folders in a hierarchy.

What I want to do:

  • Import all of these topics into my project without manually adding all the folders and importing files folder-by-folder.
  • Do this again in the future, since new folders and topics are added frequently, and we do not work in Robohelp (we create the files in a text editor because we don't like Robohelp's text editor or what it does to the code in the source files).

I've tested importing about a dozen topics in different folders to make sure everything works and I'm quite pleased with the result. As far as I understand, Robohelp is not aware of the folders/files in your project folder, and does not have a feature to batch import. Adding new files manually for every version just isn't an option.


Is there any way to do what I want? I am completely willing to write a small program that will modify the appropriate files for me. I just don't know what to modify to make this happen. I've tried editing the .fpj files in each folder, but that didn't include the topic in the generated output. So then I edited the .hhp file, and the topic was included in the final generated output, but did not have the screen layout applied to it. So I know I'm close, but missing something.


I appreciate any insight. Thanks.

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

Two options.

1] Just create a copy of the project in File Explorer, rename the project and clean up.

2] Recreate the folder structure. For each folder you can select all the files in it in one go, you don't have to import file by file. Not sure if you realised that.

As you have found, you cannot import the folder structure.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Topics

HTML

Views

547

Likes

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
Adobe Community Professional ,
Jun 03, 2015

Copy link to clipboard

Copied

Two options.

1] Just create a copy of the project in File Explorer, rename the project and clean up.

2] Recreate the folder structure. For each folder you can select all the files in it in one go, you don't have to import file by file. Not sure if you realised that.

As you have found, you cannot import the folder structure.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

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
Reply
Loading...
LEGEND ,
Jun 03, 2015

Copy link to clipboard

Copied

You can also create the project structure and run my missing topics fixer script. That will also include all topics and folders in your project: Missing topics fixer | WvanWeelden.eu

Likes

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
Reply
Loading...
IAlton LATEST
Community Beginner ,
Jun 04, 2015

Copy link to clipboard

Copied

Thank you William.

Likes

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
Reply
Loading...
Community Beginner ,
Jun 04, 2015

Copy link to clipboard

Copied

Great, thank you. I will submit an enhancement request to Adobe.

Likes

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
Reply
Loading...