Exclude file from search result in webhelp
Post here questions and problems related to editing and publishing DITA content.
Exclude file from search result in webhelp
Hi,
Oxygen 19
I use a ditafile that is outside the folder of the ditamap. I link all the uicontrols to this file via conref.
But I don't want that this file is listed in the results of the search in the responsive webhelp.
Can I exclude this file from the webhelp, without missing the uicontrols?
Or is there another workaround?
The file appears like: oxy_ex-2/!uicontrol_nl.html
Regards,
Stefaan
Oxygen 19
I use a ditafile that is outside the folder of the ditamap. I link all the uicontrols to this file via conref.
But I don't want that this file is listed in the results of the search in the responsive webhelp.
Can I exclude this file from the webhelp, without missing the uicontrols?
Or is there another workaround?
The file appears like: oxy_ex-2/!uicontrol_nl.html
Regards,
Stefaan
Re: Exclude file from search result in webhelp
Hi Stefaan,
The DITA Map to WebHelp transformation scenario allows you to set a parameter (namely webhelp.search.custom.excludes.file) to an exclusion list of files. Please follow this procedure to set it:
Bogdan
Oxygen XML Editor
The DITA Map to WebHelp transformation scenario allows you to set a parameter (namely webhelp.search.custom.excludes.file) to an exclusion list of files. Please follow this procedure to set it:
- Create a simple text file that will contain your excluded file patterns. Each pattern must be on a new line. The patterns are considered to be relative to the output directory and they accept wildcards such as '*' (matches zero or more characters) or '?' (matches one character). For more information about the patterns, see https://ant.apache.org/manual/dirtasks.html#patterns
Example: Suppose that in your project, you want to exclude all files located in the resources directory and all files located in the topics directory that have a .bak file extension. You could create a simple text file (for example, named exclude.properties), and add the following lines:Code: Select all
resources/*
topics/*.bak - Edit the WebHelp transformation scenario and open the Parameters tab.
- Set the webhelp.search.custom.excludes.file parameter to specify the path to the file that contains the excluded file patterns (for example, exclude.properties in step 1).
- Run the transformation scenario.
Bogdan
Oxygen XML Editor
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service