Operations

Operation

Status

Input

Output

Description

explainStyles

implemented

none

List of styles and supported output formats in accordance with the explain_styles.xsd

This operation retrieves a list of supported citation styles and for each of them supported output format such as RTFRich Text Format, PDFPortable Document Format, HTMLHypertext Markup Language, ODTOpenDocument, SNIPPET.

getOutput

implemented

String citationStyle

String outputFormat

String itemList

byte []

The service takes as an input citationStyle identifier, an output format identifier and a list of content items and returns a byte array with metadata formatted in accordance with selected citation style and output format.

Note: in future it is planned to return a URLUniform Resource Locator from where the temporary file can be downloaded.

isCitationStyle

implemented

String citationStyle

boolean

The method returns true if citationStyle is in the list of available citation styles, false otherwise

getStyles

implemented

none

String[]

The method returns the list of available citation styles

getOutputFormats

implemented

String citationStyle

String[]

The method returns the list of available output formats for citationStyle

getMimeType

implemented

String citationStyleString outputFormat

String

The method returns the mime-type for citationStyle and outputFormat

Output formats

snippet

is an XMLExtensible Markup Language format of the data, defined by the eSciDocEnhanced Scientific Documentation Item.xsd schema. It is enriched with the HTMLHypertext Markup Language formatted output of the selected citation style e.g. APAAmerican Psychological Association as

html_plain

is a list of exported citations in plain HTMLHypertext Markup Language format with basic formatting. Any formatted element of the citation is surrounded with classed tag, thereby it can be referenced by css selector later in local CMSContent Management System system: