REST Search API
Are you missing a feature? Request its implementation here.
-
- Posts: 2
- Joined: Wed Dec 14, 2016 4:43 pm
REST Search API
Post by Eyal Lewinsohn »
I have published a DITA map as a WebHelp Classic system.
I have an online B2B product.
I would like to develop a "help widget" that would display search results from my WebHelp Classic system in the product.
Clicking on a search result will open the WebHelp system in a new browser tab.
I have developer resources so if this is not on any roadmap I would greatly appreciate any information on how this can be best accomplished.
I have an online B2B product.
I would like to develop a "help widget" that would display search results from my WebHelp Classic system in the product.
Clicking on a search result will open the WebHelp system in a new browser tab.
I have developer resources so if this is not on any roadmap I would greatly appreciate any information on how this can be best accomplished.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: REST Search API
Post by radu_pisoi »
Hi,
When WebHelp Responsive output is generated by Oxygen XML Editor, the transformation process produces an XML mapping file called context-help-map.xml and copies it in the output folder of the transformation. This XML file maps an ID to a corresponding HTML page through an appContext element, as in the following example:
Please note that the paths are relative to the location of the context-help-map.xml mapping file.
There are two ways of implementing context-sensitive help in your system:
When WebHelp Responsive output is generated by Oxygen XML Editor, the transformation process produces an XML mapping file called context-help-map.xml and copies it in the output folder of the transformation. This XML file maps an ID to a corresponding HTML page through an appContext element, as in the following example:
Code: Select all
<map productID="oxy-webhelp" productVersion="1.1">
<appContext helpID="myapp-functionid1" path="tasks/app-help1.html"/>
<appContext helpID="myapp-functionid2" path="tasks/app-help1.html"/>
. . .
</map>
There are two ways of implementing context-sensitive help in your system:
- Invoke the index.html WebHelp system file and pass the contextId parameter with a specific value.
The WebHelp system will automatically open the help page associated with the value of the contextId parameter.Code: Select all
index.html?contextId=myDITATopic
- If you want to implement a "help widget" in your application, you can use the context-help-map.xml file to find the URL associated with your view. Then, you can load the address in a widget that supports HTML, like javafx.scene.web.WebView for JavaFX.
http://docs.oracle.com/javafx/2/webview ... ebview.htm
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Wed Dec 14, 2016 4:43 pm
Re: REST Search API
Post by Eyal Lewinsohn »
Thank you very much for the detailed response.
However, I think that this will not satisfy our needs.
When you run a search on WebHelp Classic you get result that contain the word/s you were looking for.
The map file you are referring to does not seem to include this information.
Ideally, I would like to invoke the same search function on WebHelp classic only from an API and not the normal browser interface. Than I would like to display the results in my application.
I hope this clarifies the topic,
thanks again,
Eyal
However, I think that this will not satisfy our needs.
When you run a search on WebHelp Classic you get result that contain the word/s you were looking for.
The map file you are referring to does not seem to include this information.
Ideally, I would like to invoke the same search function on WebHelp classic only from an API and not the normal browser interface. Than I would like to display the results in my application.
I hope this clarifies the topic,
thanks again,
Eyal
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: REST Search API
Post by bogdan_cercelaru »
Hello,
I've registered this, as a feature request in our issue tracking system to be analyzed.
Regards,
Bogdan
Unfortunately the WebHelp system doesn't have API for this.Eyal Lewinsohn wrote:Ideally, I would like to invoke the same search function on WebHelp classic only from an API and not the normal browser interface. Than I would like to display the results in my application.
I've registered this, as a feature request in our issue tracking system to be analyzed.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: REST Search API
Post by cosmin_andrei »
Hello,
Unfortunately, Oxygen XML WebHelp system does not have a component (server) to provide API search.
Unfortunately, Oxygen XML WebHelp system does not have a component (server) to provide API search.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
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