in
Innovasys Logo

Lost links on import, should be html but they link to htm

Last post 08-28-2008 2:55 PM by J.D. Mullin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-27-2008 2:59 PM

    Lost links on import, should be html but they link to htm

     I'm evaluating HelpStudio and converted a WinHelp project to Help 1.x using HTML Help Workshop. If I compile and view that help file all of my links are working and it looks good.

     I then create a HelpStudio project and import the Help 1.x project. At this point most of my links are messed up. The link URL uses .htm so the page fails to load. For example this shows up as the url when a link is clicked:

    ms-help://advantage/advantage/sec76b8z.htm

    If I manually change it to the following, it works:

    ms-help://advantage/advantage/sec76b8z.html

     

    What can I change to fix these links?

    Thanks In Advance,

    J.D.

     

  • 08-28-2008 4:11 AM In reply to

    Re: Lost links on import, should be html but they link to htm

    Hello,

    I apologize for any inconvenience this problem has caused you. You could perform a project Find and Replace within the HTML and replace htm with html. The Project Find and Replace tool is found under the Tools menu and you can specify to only search the HTML.

    We do have a reccommended procedure for converting old Winhelp projects but it would seem you have followed this. I will reiterate just in case:

    Importing your content from Winhelp project would be a 2 stage process:

    1. Open up Microsoft HTML Help Workshop (download it from this link if you don't have it installed - <http://www.innovasys.com/support/htmlhelpcompiler.asp> );
    2. In HTML Help Workshop, use File\New to create a new HTML Help project and on the first wizard page tick the box to import from your existing winhelp project;
    3. Once the HTML Help project has been created, use File\Import\HTML Help 1.x project in HelpStudio to import the HTML Help project.

    The initial quality of the end result will depend on how much WinHelp specific stuff your help uses.

    If this information doesn't help please submit this issue to support@innovasys.com.

    Mike Shaw
    Innovasys
    http://www.innovasys.com
  • 08-28-2008 2:44 PM In reply to

    Re: Lost links on import, should be html but they link to htm

    Hi Mike,

    Thanks for the quick reply.

    I had to include the topic content to get it to find the link references, which would find too many false positives. But I was able to search for htm"  and replace it with  html"  and that fixed up all of the links. 

    I was about to say that a regular expression would be a nice feature, but I opened up my eval of the full product (vs Lite) and noticed you already have that, which is cool as that will help me with some other general formatting changes.

    J.D.
  • 08-28-2008 2:55 PM In reply to

    Re: Lost links on import, should be html but they link to htm

     For anyone else that runs into this in the future, it is also wise to search for .htm# and replace it with .html#

Page 1 of 1 (4 items)