Forcing a search result not present in the text
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 167
- Joined: Tue Mar 06, 2018 1:34 am
Forcing a search result not present in the text
I have a series of dita topics. Each topic contains many tables. I want to assign each table a "unique id" such that searching for that unique ID displays the appropriate table in the search result. However, I do not want the "unique id" to appear anywhere in the text itself.
I thought I could use metadata to do this, but I think metadata only applies on a per-file basis? How can I make a piece of metadata apply to just a section of a topic (and have multiple metadata entries in the same page, each applying to a different table)?
I thought I could use metadata to do this, but I think metadata only applies on a per-file basis? How can I make a piece of metadata apply to just a section of a topic (and have multiple metadata entries in the same page, each applying to a different table)?
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Forcing a search result not present in the text
Hello,
Please note that each search result corresponds to a HTML page in the WebHelp Responsive output. When you enter a search term in the search field the Search Results page lists all the HTML pages that where matched by your search query. A search result cannot point to a subsection of a HTML page or to a table as in your case.
Thus when you search for a particular table, the search results would display the link to the HTML file containing that table. You can use the DITA keyword support to annotate a DITA topic with the unique IDs associated with the tables that it contains. The <indexterm> and <keywords> DITA elements are an effective way to increase the ranking of a page.
Regards,
Alin
Please note that each search result corresponds to a HTML page in the WebHelp Responsive output. When you enter a search term in the search field the Search Results page lists all the HTML pages that where matched by your search query. A search result cannot point to a subsection of a HTML page or to a table as in your case.
Thus when you search for a particular table, the search results would display the link to the HTML file containing that table. You can use the DITA keyword support to annotate a DITA topic with the unique IDs associated with the tables that it contains. The <indexterm> and <keywords> DITA elements are an effective way to increase the ranking of a page.
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
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