- Media types are used by the OAMI to determine how to process the media files.
- Wikimedia Commons only accepts audio or video files encoded in open formats
- Two attributes: mimetype and mime-subtype. But, sometimes both parts are put into the former, and sometimes they are split. (In an example from JATS they are combined as mimetype="application/pdf")
Tagging and delivery problems
edit
- Mismatches between declared type and actual. (See graphic) Often there were differences among all three: publisher XML, PMC XML, and actual Media type.
- Mismatches between filename extension and media type (see discussion). For example, movie files that end in ".doc".
- Media types missing altogether.
Recent efforts at PMC
edit
- Until recently, PMC was writing @mimetype and @mime-subtype attributes to newly received XML files based on actual filename extensions. Realizing that filename extensions are not reliable, they have stopped.
- PMC recently implemented a new feature in its renderer, using libmagic, to accurately determine media type at render time, and use it to set the HTTP "Content-type" header.
- But they will not retroactively fix the values in any source XML.
Standardization efforts
edit
- NISO/NFAIS Supplemental Journal Article Materials Working Group
|