cannot exclude header files from html5 outputs

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

cannot exclude header files from html5 outputs

Post by pdenchfield »

*Edited: meant header files, not alias files*
We have multiple header files and we'd like to exclude some from an HTML5 output. We applied a conditional text tag to the header files to be excluded, and then marked up the output to exclude that tag. However, the tagged header files are included in the output. Ideas?

Reference:
http://webhelp.madcapsoftware.com/flare ... ontent.htm
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: cannot exclude header files from html5 outputs

Post by kwag_myers »

Try moving the links inside the body tags and set the type attribute of the paragrah or div to hidden:

Code: Select all

        <p type="hidden" MadCap:conditions="Default.PrintOnly">
            <link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
        </p>
In this example I have the paragraph conditionally tagged for Print Only.
Last edited by kwag_myers on Wed Aug 06, 2014 11:47 am, edited 1 time in total.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: cannot exclude header files from html5 outputs

Post by pdenchfield »

Hi kwag_myers,

The header files don't have body tags. They are dot-h files, that is, files with the extension .h.

Thanks anyway!
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: cannot exclude header files from html5 outputs

Post by kwag_myers »

But you're trying to exclude them from the HTML, correct?
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: cannot exclude header files from html5 outputs

Post by pdenchfield »

Yes, I'm trying to exclude some header files from the HTML5 output. I applied the conditional tag to the file. The file itself simply lists several #DEFINE lines of code. No body tags to speak of. Thanks!
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: cannot exclude header files from html5 outputs

Post by kwag_myers »

Open a topic in the Text Editor. You should have a #include <something.h> for each header file in between the <head> </head> tags.

If so, move one of them to just below the <body> tag:

Code: Select all

</head>
<body>
<div type="hidden" MadCap:conditions="Default.PrintOnly">
#include <something.h>
</div>
I don't use dot-h files, so I can't test it.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: cannot exclude header files from html5 outputs

Post by pdenchfield »

Thanks, kwag_myers. The .h files are not explicitly included in the topics. Note: The .h files are in Project Organizer under the Advanced folder. Eager for more suggestions. Best, Pamela
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: cannot exclude header files from html5 outputs

Post by LTinker68 »

pdenchfield wrote:Yes, I'm trying to exclude some header files from the HTML5 output. I applied the conditional tag to the file. The file itself simply lists several #DEFINE lines of code. No body tags to speak of. Thanks!
Is this a condition tag that you've been using for the same output? That is, have you confirmed that the condition tag you're using is set to be excluded from that HTML5 target?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

Re: cannot exclude header files from html5 outputs

Post by pdenchfield »

Thanks, Lisa. Yes, I've confirmed that the condition tag is marked for exclusion in the target file used to generate the HTML5 output.
Post Reply