Custom header file shows up in search results

We have a work around that should address this issue.

Formats override on htmlhelp_hhp.xsl located in C:\Program Files\WebWorks\ePublisher Pro\Formats\Microsoft HTML Help 1.x\Transforms:

We also have a tech note article that explains how to achieve Formats overrides:

http://www.webworks.com/Technical_Assistance/Tech_Notes/Common/EX_ePub_Project_Format_Overrides.shtml

  1. find the <!-- Iterate copy files --> section

  2. Replace
    <xsl:for-each select="$ParamCopyFiles">
     <xsl:value-of select="wwfilesystem:GetRelativeTo(./@path, $ParamOutPath)" />
     <xsl:value-of select="'&#0013;&#0010;'" />
    </xsl:for-each>

with this:

  • <xsl:for-each select="$ParamCopyFiles">
     <xsl:variable name="VarFileExt" select="wwfilesystem:GetExtension(./@path)" />
    
     <xsl:if test="not($VarFileExt = '.h')">
      <xsl:value-of select="wwfilesystem:GetRelativeTo(./@path, $ParamOutPath)" />
      <xsl:value-of select="'&#0013;&#0010;'" />
     </xsl:if>
    </xsl:for-each>

3. Save and regenerate.


CategorySolutionsOutputChm

Permalinks/Solutions/Output/CHM/HeaderFileInSearch (last edited 2009-05-07 22:34:32 by LaurenLever)