Skip to main content
CassandraMTUCTT
Participant
May 28, 2015
Question

Script to convert absolute links to relative

  • May 28, 2015
  • 1 reply
  • 455 views

I'm working on a manual in RoboHelp 11, and we're working on going from a WebHelp Pro output to Responsive HTML5. While we make this transition, we're making some updates throughout the documentation, and the issue of creating relative links has been one we've struggled with for a while. Currently, all of our documents are created in Word and then linked to the project. Wherever there are related help topics, we've linked them in the Word doc. The problem with that approach is that when we make this move to a different project (or if in future a document is moved) all of the links will need to be updated, because they point to the absolute location rather than the relative location of the topic. We've tried creating relative links in the Word documents, and it doesn't seem to work. We can't create the relative links in RoboHelp because we would lose those changes every time we update our linked documents. I'm hoping to find someone who has written a script to be run before the single source layout is generated that will find all absolute links and convert them to relative links, or even if someone could point me to some tools that may help me write one. Any help is much appreciated!

Thanks!

Cassandra

This topic has been closed for replies.

1 reply

Captiv8r
Legend
May 28, 2015

Hi there

Personally, unless there is a huge burning need to keep things in Word, I'd consider breaking the dependence on Word. I think you are already seeing that it's really more of a sort of "band aid" approach that has some pretty significant pitfalls. But that's just me.

As a side note, hopefully you are aware that moving to responsive won't offer the benefits of the WebHelp Pro output and you will likely have to abandon using the RoboHelp Server product. Thereby losing the reporting and tracking and whatnot.

Cheers... Rick

CassandraMTUCTT
Participant
May 28, 2015

Hi Rick,

Thanks for your reply! We have a relatively small department and only two RH licenses, so using Word just allows more people to access the documentation and work on it, including engineers and technical writing interns. It's worked well, but I agree it has maybe limited our ability to see the full functionality of RoboHelp. However, we don't really have any other options so I turn to more experienced users to see if they've encountered similar issues!

Jeff_Coatsworth
Community Expert
Community Expert
May 28, 2015

You are hosting this on a web server running RH Server, right? If not, running the “Pro” version doesn’t get you anything (and can actually limit your choices in some cases).