images not in webhelp output, extra folder created

Post here questions and problems related to editing and publishing DITA content.
qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

images not in webhelp output, extra folder created

Post by qualler »

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
ionela
Posts: 408
Joined: Mon Dec 05, 2011 6:08 pm

Re: images not in webhelp output, extra folder created

Post by ionela »

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
Ionela Istodor
oXygen XML Editor and Author Support
qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

Re: images not in webhelp output, extra folder created

Post by qualler »

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.
ionela
Posts: 408
Joined: Mon Dec 05, 2011 6:08 pm

Re: images not in webhelp output, extra folder created

Post by ionela »

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
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply