What is MIME type "application/vnd.oasis.opendocument.text-master"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

application/vnd.oasis.opendocument.text-master is a MIME type that marks a master text document within the OpenDocument suite.
It defines a file that acts as the central blueprint for larger, multi‐section projects. This master file stores global styles, structure, and links to other segments or subdocuments. Unlike regular text files, it helps maintain consistency over an entire collection of documents.
It is part of a suite that includes many related file types such as ODT (standard text), ODS (spreadsheets), and others like OTF, ODM, OTM, ODG, ODP, and many more.
This MIME type is built on open standards and is used by applications like LibreOffice and Apache OpenOffice. For more details on the OpenDocument format and its applications, visit OASIS.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/vnd.oasis.opendocument.text-master    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/vnd.oasis.opendocument.text-master">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/vnd.oasis.opendocument.text-master');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the application/vnd.oasis.opendocument.text-master MIME type?

This MIME type represents an OpenDocument Master Document, typically associated with the .odm file extension. Unlike standard text documents, a master document acts as a container or blueprint that links multiple individual sub-documents (like chapters in a book) into a single, cohesive project while maintaining consistent global styles.

Which file extension is primarily used for this MIME type?

The specific extension for application/vnd.oasis.opendocument.text-master is .odm. While the OpenDocument suite includes many extensions like .odt and .ods, the .odm extension specifically denotes a master text file used to organize other text documents.

How do I configure Apache to serve .odm files correctly?

To ensure your Apache server sends the correct header, add the following line to your .htaccess file or main configuration: AddType application/vnd.oasis.opendocument.text-master .odm. This ensures browsers and applications recognize the file as a master document rather than a generic binary stream.

How is this MIME type different from application/vnd.oasis.opendocument.text?

The type application/vnd.oasis.opendocument.text corresponds to standard .odt files containing actual text content. In contrast, text-master (for .odm) is designed to compile and manage those .odt files structurally. You use the text type for writing chapters and the text-master type for assembling the final book.

Can web browsers display application/vnd.oasis.opendocument.text-master files?

No, standard web browsers like Chrome, Firefox, or Edge cannot natively render OpenDocument Master files. When a user clicks a link to an .odm file, the browser will typically prompt to download the file so it can be opened in a compatible desktop application like LibreOffice Writer.

What software is required to open this MIME type?

Files served with this MIME type are best opened with LibreOffice Writer or Apache OpenOffice Writer. These applications support the Master Document feature natively, allowing users to manage the linked sub-documents and global formatting styles defined in the file.

I am seeing a 'generic binary' warning when downloading an .odm file. How do I fix this?

This usually means the web server is missing the specific MIME mapping and defaulting to application/octet-stream. Verify your server configuration (e.g., mime.types in Nginx or .htaccess in Apache) includes the entry: application/vnd.oasis.opendocument.text-master odm.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.