Skip to main content

 Glossary

A-Z glossary of PageSeeder concepts

Media type

PageSeeder uses the media type of a document as a trigger to invoke document processors that have specific capabilities to process data formats such as XML or PDF.

Every PageSeeder document or configuration file has a media type. To help you identify the media type quickly, documents titles or file names are almost always preceded by a media icon in the user interface.

A media type has two main parts separated by a '/'. The first part defines the general category such as audio content, executable program, image, text message, video stream, etc. The second part provides a specific subtype defined by the file format.

There is an official register of media types maintained by IANA.

PageSeeder also defines a vendor-specific media type for PSML:

application/vnd.pageseeder.psml+xml

For further information, see the articles on MIME properties.

Project managers can configure media fragments in the document template using the <media-fragment> element.

File extension mapping

PageSeeder doesn’t inspect the content of every file. In most situations, it relies on the file extension to determine what the media type is. For that reason, it is important that files uploaded into PageSeeder use file extensions consistently.

Prefer using lower case extension ".png" to the upper case version. Although, it might work in some circumstances, avoid using a mixed case ".Jpeg".

Administrators can access PageSeeder media type mapping to file extensions in the server properties page. There is no need to change this mapping – it is provided for your information only.

Contact support, if you require an IANA registered media type to be mapped to a file extension.

Created on , last edited on