What is MIME type "application/vnd.oasis.opendocument.presentation-flat-xml"?

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

This MIME type application/vnd.oasis.opendocument.presentation-flat-xml defines a file format for slide presentations stored in a flat XML structure. It belongs to the OpenDocument family and aligns with the OASIS standards.
Files in this format hold all data in one XML file rather than a compressed package.

The format is best known for its use with presentation software. It often appears as a FODP file, making it ideal for users who want to edit or share presentation content easily.
This approach allows direct edits in text editors and supports version control.

This format offers a flexible, open solution for presentation needs. For more technical details, check the specifications at 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.presentation-flat-xml    
  

HTML

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


    <a href="file.dat" type="application/vnd.oasis.opendocument.presentation-flat-xml">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.presentation-flat-xml');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What file extension is associated with application/vnd.oasis.opendocument.presentation-flat-xml?

This MIME type is specifically associated with the .fodp file extension. Unlike standard OpenDocument Presentation files (.odp), which are compressed ZIP archives, the fodp format stores the entire presentation in a single, uncompressed XML file.

How does this MIME type differ from application/vnd.oasis.opendocument.presentation?

The standard application/vnd.oasis.opendocument.presentation type represents a compressed package (ZIP) containing multiple XML files and assets. The flat-xml variant (application/vnd.oasis.opendocument.presentation-flat-xml) keeps all data, including base64-encoded images, within one continuous XML text file, making it human-readable and easier to manipulate programmatically.

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

To ensure Apache serves these files with the correct headers, add the following line to your .htaccess file or main configuration: AddType application/vnd.oasis.opendocument.presentation-flat-xml .fodp. This prevents browsers from misinterpreting the file as generic text or XML.

What is the Nginx configuration for this MIME type?

For Nginx servers, you should add the mapping to your mime.types file or inside a types block in your server configuration. Use the following syntax: application/vnd.oasis.opendocument.presentation-flat-xml fodp;.

Can web browsers natively display application/vnd.oasis.opendocument.presentation-flat-xml?

No, most modern web browsers (Chrome, Firefox, Edge) will not render the presentation slides visually. Because the content is XML, the browser may display the raw code structure or prompt the user to download the file. To view the slides, the user needs a compatible suite like LibreOffice Impress.

Why would a developer choose the Flat XML format over standard ODP?

The Flat XML format is excellent for version control systems like Git. Since the file is plain text rather than a binary binary/compressed blob, developers can easily diff changes between versions to see exactly which slide elements or text were modified.

Is it safe to open files with this MIME type?

While generally safe, this format is XML-based, meaning it could theoretically be exploited via XML External Entity (XXE) attacks if opened in vulnerable software. Always ensure you open .fodp files from trusted sources using updated software like LibreOffice or OpenOffice.

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.