Export DITA map -- not all asset files included in export

Oxygen general issues.
psbentley
Posts: 20
Joined: Mon Aug 04, 2014 5:18 pm

Export DITA map -- not all asset files included in export

Post by psbentley »

Hi everyone,

I'm trying to export a DITA map for transformation outside of oXygen, and I'm missing some files. Specifically, I'm using <object> with <param> values to include Flash assets, but those aren't being exported. They are located in the same location as my images (which are tagged as <image> and are being exported).

Is there any way to add the <object> and <param> elements to the list of items that are pulled for export? Here's a sample of my code:

Code: Select all


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
data="../assets/core_content/digital/U5_4_1.swf"
type="application/x-shockwave-flash" height="488" width="530">
<param value="../assets/core_content/digital/U5_4_1.swf" name="movie"/>
<param value="high" name="quality"/>
<param value="false" name="menu"/>
<param name="allowScriptAccess" value="always"/>
<param name="wmode" value="opaque"/>
</object>
Thanks for any help!

Peyton
Radu
Posts: 9438
Joined: Fri Jul 09, 2004 5:18 pm

Re: Export DITA map -- not all asset files included in expor

Post by Radu »

Hi Peyton,

The export DITA Map feature works with regular DITA links (images, topic references, etc).
The value of a <param> element is not regulated and can be anything, even in your example you have a param which has a reference value pointing to a SWF object and a param which has the value high.

Maybe as an improvement for a future version we could look at the @data attribute value set on an <object> element and if we can find it on disk try to copy it as well in the exported content. But I don't think we can do the same for the <param> @value attribute, maybe we could do this for the parameters with name="movie". We'll look into this.

As a workaround for now maybe in the DITA Map you could add references to all these extra SWF resources which are referenced from the DITA content, something like:

Code: Select all

<topicref href="images/test.swf" toc="no" processing-role="resource-only" navtitle="TEST" format="swf"/>
The references will not appear in the table of contents but the export action will use them to copy also the content of those resources.
The problem would be the redundancy of information, having to keep a reference to a SWF file from two places.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9438
Joined: Fri Jul 09, 2004 5:18 pm

Re: Export DITA map -- not all asset files included in expor

Post by Radu »

Hi,

Starting with Oxygen 17, the DITA Map export should also try to export videos referenced with the <object> tag.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply