mp
error report
Error report
HTML output
HTML output
FAQ style output
FAQ style output
XML output
XML output (as .txt)
SGML output
SGML output (as .txt)
DIF output
DIF output (as .txt)
   
Name/Version Reviewed: mp (Metadata Parser) Version 2.7.3
Reviewer / Date: Hugh Phillips / August 2002
Version and Date of last known release: November 4, 2004 (version 2.8.18)
Other relevant information and tips:
To improve the ease of use of mp's error report, process it through err2html.
Use the language switch (-l) on XML metadata to generate metadata with element names in languages other than English (Spanish, Indonesian).
To update your 1994 CSGM metadata to 1998 CSDGM metadata with mp >> Modernizing Your Metadata, AKA: Dinner and a Metadata
Send email to Peter Schweitzer requesting to be put on the mp-users mailing list so you will be advised when significant updates to the tool are available.
Function:
A utility to validate metadata against the CSDGM (1998) and convert it to standardized text, HTML, SGML, XML, or DIF form.
Background Information
Metadata
Get binaries and source code here
Platform: UNIX, MS-DOS
Principal Contact: Peter N. Schweitzer, USGS, pschweitzer@usgs.gov
Status: Functional, general release
Metadata Storage Structure: not applicable
Brief Description:
mp is a utility which checks hierarchically indented text metadata (or SGML metadata, if it is 'perfect') against the CSDGM. The error report flags deviations from the production rules for the CSDGM and element values not allowed in the domain of each element. In addition to producing a hierarchically indented (2 space indent) text output, it also produces a standard presentation HTML output with a `table of contents,' an HTML presentation of the metadata in the form of questions and answers (FAQ style), an SGML output, an XML output, and a DIF (Directory Interchange Format) output. If the metadata does satisfy the CSDGM, but does not use hierarchical indentation to indicate parent/child relationships in the metadata (e.g. numbers are used instead), mp will choke on it. However, that same metadata may be effectively preprocessed with cns, after which it may pass mp successfully.

The operational characteristics (input/output) of mp are controlled through a configuration file. How to customize the configuration file is described in the tool's metadata and also (in somewhat more detail) through a web page devoted to the configuration file. Some notable items which can be controlled through the configuation file include: updating a metadata file produced under the June 8, 1994 CSDGM to the newer (1998) version of the CSDGM and production of Dublin Core elements in META tags in the HEAD of output HTML documents. A new option (-fixdoc) beginning with version 2.2.6 is specifically designed to ease conversion of metadata created with document.aml into a form suitable for further editing with tools such as xtme.

Cost: none
Notable Plus:
Configurable output formats, accepts and passes local extensions to the metadata standard if they are defined in a user supplied extension file. The author is very receptive to suggestions to improve and enhance this tool.
Notable Minus: -
Sample of Interface: command driven

Edited email concerning tool (reverse chronological order)

19971031 Peter Schwitzer mp now supports Dublin core <META> elements and preformatted text in metadata

Back to Metadata Tools

Last updated on February 23, 2003
Links checked December 18, 2004
Hugh Phillips, hphillips@attglobal.net