Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Are you missing a feature? Request its implementation here.
-
- Posts: 26
- Joined: Thu Jun 09, 2022 11:04 am
Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Hi, I am wondering whether there is a way to implement documentation version switch (for example, this documentation site has a version switch in the upper-left corner) on the WebHelp output?
Thanks.
Thanks.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Hi felixliu,
Bu default, Oxygen WebHelp generates only a single version of the output.
As there is no out-of-the-box support for managing different output versions, this could most probably done through a customization which you should develop on your own.
We already have a feature request logged in our internal tracking system to add this functionality in a future version, so I've just added your vote for it and we will notify this thread when/if a new implementation becomes available.
Regards,
Costin
Bu default, Oxygen WebHelp generates only a single version of the output.
As there is no out-of-the-box support for managing different output versions, this could most probably done through a customization which you should develop on your own.
We already have a feature request logged in our internal tracking system to add this functionality in a future version, so I've just added your vote for it and we will notify this thread when/if a new implementation becomes available.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 26
- Joined: Thu Jun 09, 2022 11:04 am
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Got it. Thanks.Costin wrote: ↑Tue Feb 21, 2023 12:47 pm Hi felixliu,
Bu default, Oxygen WebHelp generates only a single version of the output.
As there is no out-of-the-box support for managing different output versions, this could most probably done through a customization which you should develop on your own.
We already have a feature request logged in our internal tracking system to add this functionality in a future version, so I've just added your vote for it and we will notify this thread when/if a new implementation becomes available.
Regards,
Costin
-
- Posts: 38
- Joined: Thu Jul 29, 2021 12:02 pm
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Post by InspectorSpacetime »
As a workaround, I've created a dropdpwn menu in the header using the after.top_menu XHTML fragment. The XHTML file includes a map-xpath macro that picks up the current version defined in the map's othermeta element, and displays that as the menu's title. The dropdown items are links to the other versions.
Of course the problem is that the version links are static and always only point to the main page of the different versions. Basically it would be possible to use the same mechanism to define a different version target for each topic, but for a large doc set that's a lot of work, and not an optimal solution.
Of course the problem is that the version links are static and always only point to the main page of the different versions. Basically it would be possible to use the same mechanism to define a different version target for each topic, but for a large doc set that's a lot of work, and not an optimal solution.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Post by chrispitude »
Hi InspectorSpacetime,
That's a pretty cool solution for the global doc set. Nicely done!
For the per-topic version switching idea, how would you handle situations where a topic was added/deleted/moved/reorganized between versions?
That's a pretty cool solution for the global doc set. Nicely done!
For the per-topic version switching idea, how would you handle situations where a topic was added/deleted/moved/reorganized between versions?
-
- Posts: 38
- Joined: Thu Jul 29, 2021 12:02 pm
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Post by InspectorSpacetime »
Hi Chris,chrispitude wrote: ↑Tue Mar 07, 2023 4:24 pm Hi InspectorSpacetime,
That's a pretty cool solution for the global doc set. Nicely done!
For the per-topic version switching idea, how would you handle situations where a topic was added/deleted/moved/reorganized between versions?
To be honest, I don't know.
I guess the linking should work so that if a topic exists in one version but not in another, the user is directed to the main page when trying to switch versions. But how to accomplish that technically is very much beyond my abilities.
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Does Oxygen XML Have the Feature like WebHelp Document Version Switch
Hello,
You can use the Context-Sensitive Help functionality to determine the URLs of the current topic from other versions.
All you need to know is the base URL of the published output corresponding to the target version and the ID of the topic and you can build the URL as follows:
If the topic with the referenced ID does not exist in the target version then the user is redirected to the main page of the WebHelp output.
Regards,
Alin
You can use the Context-Sensitive Help functionality to determine the URLs of the current topic from other versions.
All you need to know is the base URL of the published output corresponding to the target version and the ID of the topic and you can build the URL as follows:
Code: Select all
{version-X-base_URL}/cshelp.html?contextId=topicID
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
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