Page 1 of 1

images not in webhelp output, extra folder created

Posted: Fri Jan 26, 2018 10:07 pm
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

Re: images not in webhelp output, extra folder created

Posted: Wed Jan 31, 2018 3:15 pm
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

Re: images not in webhelp output, extra folder created

Posted: Wed Jan 31, 2018 6:05 pm
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.

Re: images not in webhelp output, extra folder created

Posted: Fri Feb 02, 2018 12:21 pm
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