Customize webhelp image paths
Oxygen general issues.
-
- Posts: 5
- Joined: Fri Feb 06, 2015 2:20 am
Customize webhelp image paths
Hello,
We are evaluating Oxygen 15.2 to generate webhelp output. There are some images that will exist outside of the webhelp folder, and I have been looking for a way to modify the relative paths. We do not want to use an html link. Is there a parameter or file I can modify to accomplish this?
Thanks
We are evaluating Oxygen 15.2 to generate webhelp output. There are some images that will exist outside of the webhelp folder, and I have been looking for a way to modify the relative paths. We do not want to use an html link. Is there a parameter or file I can modify to accomplish this?
Thanks
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customize webhelp image paths
Post by sorin_ristache »
You should keep the relative paths. I suppose they have a relative path like <image href="../../outside-dir/image.gif"/>. Please set the fix.external.refs.com.oxygenxml to value true in order to have the images included in the WebHelp pages.
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
-
- Posts: 5
- Joined: Fri Feb 06, 2015 2:20 am
Re: Customize webhelp image paths
Thanks for your reply. I understand your recommendation. Along those lines, I'm looking at linking to some individual topics in webhelp through a web app. For example, the paths are built relative to the webhelp folder, but if Document Root is set to htdocs then links to images, etc., break. They need the reference to the "webhelp" folder in the path. Is there somewhere to set the base URL for the relative links in the transform? I've tried duplicating the webhelp transform and poking at some of the files but am not successful.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customize webhelp image paths
Post by sorin_ristache »
There is no parameter for changing the base URL of relative links. The base URL of a relative link is always the URL of the file containing the link.
I recommend processing and modifying the relative links in the WebHelp pages after they are generated by the Oxygen WebHelp transformation, for example using an ANT script.
I recommend processing and modifying the relative links in the WebHelp pages after they are generated by the Oxygen WebHelp transformation, for example using an ANT script.
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor 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