[opencms-dev] Add file type (FLV) to export

marcio.camurati marcio.camurati.opencms at gmail.com
Mon Apr 14 22:48:35 CEST 2008


Hi,

I try to add files type FLV (Flash Video) to export files, but the OpenCMS
didn't export them at the configuration I add this:


- opencms-vfs.xml

I add the FLV at binary type configuration.

[code]
<type class="org.opencms.file.types.CmsResourceTypeBinary" name="binary"
id="2">
    <mappings>
    ...
    <mapping suffix=".flv" />
    ...
    </mappings>
</type>
[/code]

- opencms-importexport.xml

Add the .flv as a default suffix.

[code]
<defaultsuffixes>
    ...
    <suffix key=".flv"/>
    ...
</defaultsuffixes>
[/code]

All FLV files are in download galleries folders at the OpenCMS, but with
this configuration when access the site at online version only images, css
are exported FLV files don't anyone know any other location that I need to
add configuration to this work ?

To access this FLV files I user the cms:link tags or other cases the class
method direct.

Suggestions ?

Best regards,
Marcio Camurati
-- 
View this message in context: http://www.nabble.com/Add-file-type-%28FLV%29-to-export-tp16689777p16689777.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list