ArticleType

Configuration

Article types can be defined in defaults.xml for URIs referenced in individual articles. The ArticleType definitions are used by the BrowseIssue? page to group and order the articles contained in the issue. The order displayed on in the BrowseIssue? table of contents is the same order as defined in the configuration.

In each ArticleType definition, the following may be defined:

element name application
typeUri The DOI of the ArticleType (see below)
typeHeading The heading used in the TOC for this article type group
imageSetConfigName The name of a imageSet configuration used for ImageIngestion
default defines this ArticleType as the default group for any ingested articles that do not match a defined ArticleType here.

typeUri

The DOI for typeUri is created and associated with the article at ingestion time. The DOI is derived by concatenating the value of the "article-type" attribute found in the top level <article> element in the article XML to the well-known prefix "http://rdf.plos.org/RDF/articleType/".

Implementation Details

Each article type configuration is parsed by a static initializer in the ArticleType class. An instance of ArticleType is created for each definition. The idea is to have an enumerated set of configurable article types to be used by the publishing application.