images not in webhelp output, extra folder created
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 15
- Joined: Fri Jan 26, 2018 8:05 pm
images not in webhelp output, extra folder created
We are converting content from one XML to DITA. Conversions are messy and one side effect is we get some hrefs set incorrectly.
If href="" or href="../" some local path that isn't valid the oXygen webhelp plug-in produces a new folder in the output directory in addition to the oxygen-webhelp directory. This new folder contains all the .html files and any external files that were linked via xrefs. All images get dropped from the publication.
Looking for either some code fix to the plug in - that would be ideal - or some regular expression or search that would help us identify these bad hrefs in the content. Obviously, publishing without images is problematic!
Sorry if this is a duplicate - I looked back and didn't see my post from earlier (perhaps it is in moderation??)
Justin
If href="" or href="../" some local path that isn't valid the oXygen webhelp plug-in produces a new folder in the output directory in addition to the oxygen-webhelp directory. This new folder contains all the .html files and any external files that were linked via xrefs. All images get dropped from the publication.
Looking for either some code fix to the plug in - that would be ideal - or some regular expression or search that would help us identify these bad hrefs in the content. Obviously, publishing without images is problematic!
Sorry if this is a duplicate - I looked back and didn't see my post from earlier (perhaps it is in moderation??)
Justin
-
- Posts: 408
- Joined: Mon Dec 05, 2011 6:08 pm
Re: images not in webhelp output, extra folder created
Hi Justin,
As you've converted your content from another XML to DITA, before publishing it is recommended to perform the 'Validate and Check for completeness' action on your DITA Map. This way you can check if the structure of the DITA content is valid:
https://www.oxygenxml.com/doc/versions/ ... idate.html
Regards,
Ionela
As you've converted your content from another XML to DITA, before publishing it is recommended to perform the 'Validate and Check for completeness' action on your DITA Map. This way you can check if the structure of the DITA content is valid:
https://www.oxygenxml.com/doc/versions/ ... idate.html
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 15
- Joined: Fri Jan 26, 2018 8:05 pm
Re: images not in webhelp output, extra folder created
Thanks, lonela. Yeah, I ran that check. It finds the issues, which is great. But this is a conversion and there are numerous issues. 175 topics are affected. Ideally the publish would work. Looks like it's more an issue with how the 2.x toolkit processes images than it is with the plug-in. I can use the oXygen plug-in with the 1.7.5 toolkit and the images come in the output. Was hoping by describing here someone else would have faced this issue and been able to provide a solution.
-
- Posts: 408
- Joined: Mon Dec 05, 2011 6:08 pm
Re: images not in webhelp output, extra folder created
Hi,
This issue might also be related with resources that are located outside the folder where the DITA Map is located. You can check this topic from our user manual:
https://www.oxygenxml.com/doc/versions/ ... .oxygenxml
I'm hoping that someone else who has faced these issues may provide you better guidance.
Regards,
Ionela
This issue might also be related with resources that are located outside the folder where the DITA Map is located. You can check this topic from our user manual:
https://www.oxygenxml.com/doc/versions/ ... .oxygenxml
I'm hoping that someone else who has faced these issues may provide you better guidance.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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