Filtering webhelp with URL variables

Oxygen general issues.
kmank
Posts: 118
Joined: Mon Apr 19, 2010 5:33 pm

Filtering webhelp with URL variables

Post by kmank »

Hello,
I am being asked if filtering the webhelp content is possible using url variables (i.e. <path>?product="XXX"). So that, if a URL is passed with a specific product variable, we can filter visible content dynamically.

I guess what I need for initial direction is:
- how to add script code IMMEDIATELY following the body tag of output pages
- how to add script IMMEDIATELY before the /body tag
(is there a specific file that these can be inserted into?)
- can this concept be realized to include the navigation TOC?

I understand this may be a lofty request, but it doesn't sound unreasonable. Any direction is greatly appreciated!
kmank
Posts: 118
Joined: Mon Apr 19, 2010 5:33 pm

Re: Filtering webhelp with URL variables

Post by kmank »

Sorry... got ahead of myself.
I am using O18 with the DITA-OT that came with it.
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Filtering webhelp with URL variables

Post by radu_pisoi »

Hi,

At this moment, it is not possible to filter the WebHelp content for a certain product. We have plans to implement this functionality in a future WebHelp version.

I'm not sure if the WebHelp output is ready to implement this feature.
- how to add script code IMMEDIATELY following the body tag of output pages
- how to add script IMMEDIATELY before the /body tag
(is there a specific file that these can be inserted into?)
The WebHelp Responsive template contains a series of component placeholders. Each such placeholder has an associated parameter in the transformation scenario Parameters tab. For your case, I think you can use the following parameters webhelp.fragment.before.body and webhelp.fragment.after.body.

See more details about WebHelp predefined placeholders in our documentation:
http://oxygenxml.com/doc/versions/18.1/ ... ation.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
kmank
Posts: 118
Joined: Mon Apr 19, 2010 5:33 pm

Re: Filtering webhelp with URL variables

Post by kmank »

Thank you, Radu.
Post Reply