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

Roman Uhlig roman.uhlig at knve.de
Tue Apr 15 16:01:44 CEST 2008


We did exactly the same and it works fine. What physical link is <cms:link>
generating in your case? Did you try to manually access the file at its
expected export path? What happened?

Roman


marcio.camurati wrote:
> 
> 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-tp16689777p16700790.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list