Skip to main content
KFarrelly
Known Participant
April 27, 2017
Question

RH 2015 Responsive HTML5, TOCx files in whxdata folder

  • April 27, 2017
  • 1 reply
  • 552 views

I have a couple questions about the tocx javascript files that are part of the whxdata folder in Responsive HTML5 output. Are those the files that represent each entry in a table of contents (pages and books)? Is there a way to tell which entry belongs to which page or book? The files are appended with numbers such as toc1, toc79, and toc100. I want to look at the script for some table of contents entries that are hyperlinks to video but don't know where to begin in determining which output file syncs up to a particular toc entry.

This topic has been closed for replies.

1 reply

Captiv8r
Legend
April 27, 2017

Hi there

Indeed I do believe that these files make up the TOC.

Good luck in finding any way to sort which is what.

Why do you need to determine which of the files points to video? This seems something that is much better suited to using the RoboHelp UI to accomplish. I'm guessing there is some reason you can't accomplish it using the RoboHelp UI?

Cheers... Rick

KFarrelly
KFarrellyAuthor
Known Participant
April 27, 2017

Rick,

I am investigating some things related to the setup or customization of some of our links. Someone in our company is asking for modifications to links that I cannot accomplish via the RH interface. This is related to my other recent post Re: RH 2015 - Building Dynamic URLs in Responsive HTML5 topics that capture customer info when clicked? . I intend to pass along the suggestions from that post, but if possible also would show them samples of the javascript files for the table of contents entries that link to videos. I know which pages/books link up to videos (it's a small subset of overall table of contents). It's trying to figure out which javascript files go with those pages/books that puzzles me.

Karen

Captiv8r
Legend
April 27, 2017

Ahhh, yes I did see that other post where you want some sort of a "dynamic" type link.

Wasn't that the thread where you want all sorts of code added to the hyperlink so that you can track stuff like when it was clicked and what product was being used and all sorts of other stuff and code added in?

One thing that seems like it should work would be for your links to be grabbed from the software. Then you should be able to add TOC pages that point to external links. And I would think it would be as simple as pasting the links into the TOC.

And if that failed for whatever reason, I'm thinking another approach would involve "redirect" type topics. In those topics you configure a behind the scenes meta refresh tag to point wherever you want to land.

I note that neither of these solutions is remotely "dynamic" and building things "on the fly". Nor am I saying it's an impossible achievement. It's just problematic from the aspect of trying to accomplish it within the RoboHelp framework.

Cheers... Rick