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

RH inserts filenames as title elements (instead of the actual chapter titles)

Explorer ,
Apr 15, 2014 Apr 15, 2014

Copy link to clipboard

Copied

Hi all,

I am not sure whether this is a bug or can be fixed. When I import from FM using chapter title paragraph styles for breaking the content into topics, then RH inserts the resulting file names into the topic as <title> elements and not the title names themselves.

This is no problem as long as you can use the default naming convention (i.e. heading and filename identical). For some output formats hovever it is necessary to use a different naming convention to avoid non-english characters in file names. In such a case I use <n> as naming, resulting in files that have ascending numbers as file names.

Now I receive e.g. a topic with the h1 heading "This is my topic", the filename "123.htm" and the HTML title "123". That is very bad because in the search results e.g. in Javahelp the HTML titles are displayed, resulting in unusable search results.

Do you have any suggestions how to avoid this dilemma?

Robert

Views

386

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
Community Expert ,
Apr 15, 2014 Apr 15, 2014

Copy link to clipboard

Copied

I thought you could control that by using something in a marker – there was some little-known feature that allowed you to control what RH called the filename or or topic title (I forget which) based on a special marker & marker text in FM. You’ll need to dig around for it in either the forum or the TCS blog or the help.

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 ,
Apr 15, 2014 Apr 15, 2014

Copy link to clipboard

Copied

Yes markers work ("PageBreak" or similar - would have to look it up) however these are several thousand topics so manually adding them to the sources would not be an option.

But you made me think - maybe I can come up with a Frame 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
Explorer ,
Apr 17, 2014 Apr 17, 2014

Copy link to clipboard

Copied

LATEST

FYI, the solution I am using nw is to run a find&replace tool over my imported sources (I use PowerGrep). With regular expression I copy the h1 content into the title elements.

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