Help me understand linking to an external HTML file

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.

Help me understand linking to an external HTML file

Postby stealth94rt on Thu Mar 16, 2017 1:54 pm

I'm working on a Flare project that outputs to a CHM file. I want to embed a link in the TOC that goes out to our website and retrieves an HTML file (just a single file). In other words, I want the link to be out to that file on the website, so I can update that content independently of updates we do to the CHM file.

To test this, I put an entry in the TOC that links out to that file, and I also created a topic with a link in the topic out to that file. After building and testing, it appears that Flare is retrieving the file during the build process and embedding it into the CHM output.

Is the problem that I'm specifying the HTML file name in the website path, and so Flare is automatically grabbing the file and embedding it? If so, how do I prevent that from happening?

Please advise on this. Thanks.
stealth94rt
Propeller Head
 
Posts: 34
Joined: Thu Feb 02, 2006 2:10 pm

Re: Help me understand linking to an external HTML file

Postby Richard Ferrell on Wed Mar 29, 2017 7:24 am

Is the file you are linking to in the flare project or an external website?
Richard Ferrell

Certified Madcap Trainer
Image
Richard Ferrell
Propellus Maximus
 
Posts: 836
Joined: Mon May 01, 2006 10:11 am
Location: Inside California

Re: Help me understand linking to an external HTML file

Postby stealth94rt on Wed Mar 29, 2017 8:12 am

It is a single file that is currently outside of any Flare project, as we wanted to be able to update it independently of the CHM builds.

Originally, I wanted to have a local HTML file that I could link to from several different CHMs. However, I don't think that's possible unless the file is embedded into the CHM output during the build.

However, after some experimentation I found that I can link to a file on our website. So, I created a PHP file that will refresh each time it's accessed. Unfortunately, if there is no internet connection, the user won't be able to access that topic in the help.

Of course, I'm open to any other options.
stealth94rt
Propeller Head
 
Posts: 34
Joined: Thu Feb 02, 2006 2:10 pm

Re: Help me understand linking to an external HTML file

Postby GeorgeBell on Thu Apr 06, 2017 10:12 am

I simply go to Flare's Insert Menu, select Hyperlink, and follow through from there. The following is an example of the resultant source code:

<h5>Miscellaneous Symbols</h5>
<p><a href="http://unicode.org/charts/PDF/U2600.pdf">Link to Unicode website about this script.</a>
</p>
GeorgeBell
Sr. Propeller Head
 
Posts: 106
Joined: Thu Nov 22, 2012 3:27 am

Re: Help me understand linking to an external HTML file

Postby Psider on Thu Apr 06, 2017 6:28 pm

Have a look at this site and see if one of the options linked will meet your needs:
http://kb.helpwaregroup.com/ms-html-help/hh-tips-tricks

I recommend browsing around the site for a lot of helpful info on chms. :)
Psider
Sr. Propeller Head
 
Posts: 431
Joined: Wed Jul 06, 2011 1:32 am

Re: Help me understand linking to an external HTML file

Postby stealth94rt on Mon Apr 10, 2017 8:41 am

OK, I will look at the info on that site. Thanks.
stealth94rt
Propeller Head
 
Posts: 34
Joined: Thu Feb 02, 2006 2:10 pm

Re: Help me understand linking to an external HTML file

Postby Psider on Mon Apr 10, 2017 6:53 pm

Good luck. Hope you find something that works.
Psider
Sr. Propeller Head
 
Posts: 431
Joined: Wed Jul 06, 2011 1:32 am


Return to Microsoft CHM Help

Who is online

Users browsing this forum: No registered users and 2 guests