BraDypUS CMS
BraDyCMS supports by default the Open Archives Initiative Protocol for Metadata Harvesting, OAI-PMH
The BraDypUS implementation of this interface uses the oaiprovider-php freely available on GitHub.
This interface can be reached postponing /oai to the main url of the website. If your website is available the the URL http://my-host.ext the URL of the OAI-PMH interface will be http://my-host.ext/oai.
All the configuration can be handled using a single JSON file named config.json, placed in the sites/default/modules/metadata folder of the web directory where BraDyCMS is installed.
repositoryName: (string) The name of the repository you are setting upbaseURL: (string) The full URL where the interface is availableprotocolVersion: (string) The OAI-PMH version. BraDyCMS supports the version 2.0adminEmail: (string) System adiministrator email addresssets: (array) Array with information about available sets. A repository can contain one or more setssets.spec: (string) Set’s IDsets.name: (string) Set’s nametable: (object) Object that maps table fields to the repository objecttable.name: (string) Full name of the table containing the record datatable.id: (string) The name of the table field containing the unique ID of the record to use in the DOI stringtable.lastchanged: (string) The name of the table field containing the datetime of the last changes applied to the record
-table.deleted: (string) The name of the table field containing the article’s availability status as a boolean valuetable.category: (string) The name of the table field containing the article’s category. The values of this field MUST match the list of the sets.spec described abovetable.title: (string) The name of the table field containing the article’s title (DC.title)table.translated_title: (string) The name of the table field containing the article’s second or translated title. This parameter is optionaltable.creator: (string) The name of the table field containing the article’s creator (DC.creator)table.description: (string) The name of the table field containing the article’s description or abstract (DC.description)table.volume: (string) The name of the table field containing the article’s volume number (DC.Source.Volume)table.issue: (string) The name of the table field containing the article’s issue number (DC.Source.Issue)publisher: (string) Publisher’s namedoi_prefix: (string) Publisher’s DOI prefixjournal_suffix: (string) Journal’s doi prefixissn: (string) Journals ISSN number##Example of configuration file
File: ./sites/default/modules/oai/config.json
{
"repositoryName" : "E-Review. Rivista degli Istituti Storici dell'Emilia-Romagna in Rete",
"baseURL" : "http://e-review.it/OAI",
"protocolVersion" : "2.0",
"adminEmail" : "oai@e-review.it",
"sets" : [
{
"spec" : "dossier_2013",
"name" : "Sezione principale, anno 2013"
},
{
"spec" : "formazione",
"name" : "Sezione dedicata alla formazione"
},
{
"spec" : "patrimonio",
"name" : "Sezione dedicata al patrimonio"
},
{
"spec" : "usopubblico",
"name" : "Sezione dedicata all'usopubblico"
}
],
"table" :
{
"name" : "erevarticles",
"id" : "doi",
"lastchanged" : "updated",
"deleted" : "status",
"category" : "section",
"title" : "title",
"translated_title": "english_title",
"creator" : "author",
"description" : "summary"
},
"publisher": "BraDypUS",
"doi_prefix": "10.12977",
"journal_suffix": "erev",
"issn": "ISSN:2282-4979"
}