meta http-equivalents not imported properly

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Jens Krieger
Posts: 8
Joined: Sun Jun 25, 2017 8:24 pm

meta http-equivalents not imported properly

Unread post by Jens Krieger »

Still working on the proper import of a former Robohelp 9 project into H&M. Since the project import didnt work nicely we used the chm-import. NPP with regex helped me to replace a number of issues (thanks for the help all the way so far) and make the new project look better.
However there is a major issue still unresolved: for any reason the former project owners had for the context sensitive IDH a lot of redirects to the final topics, such as the below:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="refresh" content="0;URL=../topics/IDH_ACQ_LIVE.htm" />
  <meta name="generator" content="Adobe RoboHelp 9" />
 ....
  <title>Titlename</title>
</head>


<body> [empty] </body>
</html>
The only aim of the redirection topics is to redirect to the real ones with the content - I dont see the sense behind but its like it is and we cannot connect anymore to the previous owners. The context help IDs are with the redirection topics, but the eventual topic files with the real content are missing the respective context IDs.
Now, H&M does not import any of the meta http-equiv stuff and hence the redirections get lost and consequentially the context help IDs point only to the empty redirection files but not to the content topic files.

I hope I was able to make it clear - :? - otherwise let me know

Before I manually apply the dozens of IDHs to the correct topic files: is there a way to import the html files including the meta stuff? Did I miss an import option? (There arent too many...;-))
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: meta http-equivalents not imported properly

Unread post by Tim Green »

Hi Jens,
Before I manually apply the dozens of IDHs to the correct topic files: is there a way to import the html files including the meta stuff?
No, sorry. Only the content of the topics is imported. Help+Manual can't make allowances for any arcane things like http redirects (which are in any case only relevant for HTML) or custom JavaScript. You get the formatted content of the topics and hyperlinks, but that is pretty much it. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Jens Krieger
Posts: 8
Joined: Sun Jun 25, 2017 8:24 pm

Re: meta http-equivalents not imported properly

Unread post by Jens Krieger »

I had the feeling you were going to say that - and its pretty much fine for me. Though there was a faint hope, I've to admit. :-)

I made a short script matching the redirection topic IDs directly to their redirection target, so omitting the whole awkward and confusing redirection stuff...

Thanks again for the swift reply.
Post Reply