File asset types
There are other specific file type assets with very similar functionality in addition to the generic File asset types. These file type settings are useful instead of the generic asset. They control which type of file can be uploaded against the asset.
They are also useful for when you want to implement search pages or asset listings that specifically target certain file types. Some of these asset types also have additional functionality that supports their specific file type.
The documentation on this page will only refer to the additional functionality not described in File asset types.
Audio file
An audio file asset is used to upload web-compatible audio files and supports the following file extensions:
-
.mp3 -
.mka -
.m4a -
.aac -
.ogg -
.webm -
.wav -
.flac
ID3 tag information
The Details screen of the audio file asset includes a section for adding additional information against the file. The top of this section has two fields for extracting and writing ID3 metadata:
- Extract ID3 metadata
-
Enable this to extract any metadata from the audio file to apply to the asset.
- Write ID3 metadata to file
-
Enable this field to write any metadata from the audio asset to apply to the audio file.
CSS file
A CSS file asset is used to upload and edit CSS files and supports the following file extensions:
-
.css -
.scss
JS file
A JS file asset is used to upload and edit javascript files and supports the following file extensions:
-
.js
Microsoft Excel document
A Microsoft Excel document asset is used to upload microsoft excel documents and supports the following file extensions:
-
.xls -
.xlt -
.xlsx -
.xlsm -
.xltx -
.xltm
Microsoft Powerpoint document
A Microsoft PowerPoint document asset is used to upload microsoft PowerPoint documents and supports the following file extensions:
-
.ppt -
.pot -
.pps -
.pptx -
.potx -
.ppsx -
.pptm -
.potm -
.ppsm
Microsoft Word document
A Microsoft Word document asset is used to upload Microsoft Word documents and supports the following file extensions:
-
.doc -
.dot -
.docx -
.docm -
.dotx -
.dotm
PDF file
A PDF file asset is used to upload PDF documents and supports the following file extensions:
-
.pdf
RTF file
An RTF file asset is used to upload RTF files and supports the following file extensions:
-
.rtf
Text file
A text file asset is used to upload text files and supports the following file extensions:
-
.txt
Video file
A video file asset is used to upload video based files and supports the following file extensions:
-
.mov -
.avi -
.wmv -
.asf -
.flv -
.mp4 -
.m4v -
.mpg -
.mpeg -
.ogv -
.ogg -
.webm
XML file
An XML file asset is used to upload XML (extensible markup language) files and supports the following file extensions:
-
.xml
Transformations screen
This screen lets you specify an XSL file to use for the XML file’s extensible style sheet language styling when previewing the asset.
| This option requires PHP to have XSL support supplied in your system. |
The transformations section lets you select the XSL file to use for XSL transformation.
The following fields are available:
- XSL transformation
-
Select an XSL file to use and click Save. This XSL file is used to stylize the content of the XML file. This style will be reflected when previewing the asset on the frontend.
- Replace global keywords
-
If set to
Yes, global keywords in the XSL file will be replaced when applying to the XML data.
Text-based file asset types
The text-based file asset types include:
-
CSS file
-
JS file
-
Text file
-
XML file
-
XSL file
GetID3 metadata extraction
Some file types allow for automatic metadata extraction of the physical file when uploaded against the asset. Use this function with the getID3 external tool, which must be enabled for automatic metadata extraction to work.
Read External tools configuration for more information on enabling the getID3 tool.
Metadata is automatically extracted and applied to the additional fields if the tool is enabled when a file asset with metadata extraction support is created.