Input Types and File Types
When talking about the file formats that we support, we distinguish between "file types" and "input types":
- Input type
The input type is the file format, independent from the different extensions this file format might have.
For example, XML files come in many different types such as DITA or DocBook that have different file extensions. However, the format of an XML file is always the same: it’s written in extensible markup language.
- File type
You can create documents in many different editors which each support different file types. The file type is the file extension. Some file types, like XML, can have different file extensions but all share the same input format. Other file types, such as Microsoft Word or Adobe FrameMaker, usually have a fixed set of file extensions and come in proprietary input formats.
You can add more file types, but they need to be based on one of the input types that we support.
Managing File Types
The Acrolinx server comes with predefined file type definitions to cover the most common file extensions. As a server administrator you can also add additional file types in the following file:
200.XML = \.(xml|xhtm|xhtml)$
210.XML = \.(svg|resx)$
220.XML = \.(xlf|xliff)$
230.XML = \.(dita|ditamap|ditaval)$
300.HTML = \.(htm|html)$
400.MARKDOWN = \.(md|markdown|mdown|mkdn|mkd)$
600.TEXT = \.txt$
Use the input format:
For example: 200.XML = \.(xml|xhtm|xhtml)$
- The priority number defines the order in which server maps the format to the file type. The server starts with the lowest number. We left some gaps in our predefined file type definitions to give you the chance to create a logical order.
- The input format is the pure file format.
- Use regular expressions to add the file extensions that should be mapped.
For example: =\.(xlf|xliff)$
Note: Two formats shouldn't have the same priority. However, if this occurs the alphabetical first will be preferred but both will be used.
If you have super administrator privileges, you can edit the file directly in the dashboard. Navigate to Maintenance > Configuration Properties to edit the file.