Difference between revisions of "Archives/ARCHIVEID/cfg/cfg.d/"

From EPrints Documentation
Jump to: navigation, search
(Added some descriptions for config files.)
m
Line 11: Line 11:
 
** '''[[branding.pl]]''' - Branding for the repository archive
 
** '''[[branding.pl]]''' - Branding for the repository archive
 
** '''[[database.pl]]''' - Configuration for connecting to the database.
 
** '''[[database.pl]]''' - Configuration for connecting to the database.
** '''[[document_fields]]''' - Non-core field definitions for the document data object.
+
** '''[[document_fields.pl]]''' - Non-core field definitions for the document data object.
 
** '''[[document_fields_automatic.pl]]''' - Configuation for automatically setting document fields based on the values of other fields.
 
** '''[[document_fields_automatic.pl]]''' - Configuation for automatically setting document fields based on the values of other fields.
 
** '''[[document_fields_default.pl]]''' - Default initial values for document fields.
 
** '''[[document_fields_default.pl]]''' - Default initial values for document fields.
Line 28: Line 28:
 
** '''[[indexing.pl]]''' - Configuration for indexing of metadata and document content.
 
** '''[[indexing.pl]]''' - Configuration for indexing of metadata and document content.
 
** '''[[languages.pl]]''' - Configuration for languages used by the repository archive.
 
** '''[[languages.pl]]''' - Configuration for languages used by the repository archive.
** '''[[log.pl]]''' -
+
** '''[[log.pl]]''' - Configuration for logging error/warnung messages for the repository archive.
 
** '''[[misc.pl]]''' -
 
** '''[[misc.pl]]''' -
 
** '''[[oai.pl]]''' -
 
** '''[[oai.pl]]''' -

Revision as of 17:57, 23 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects

This is the main repository configuration directory. Each of these files is a valid perl script and are loaded in alphabetic order. The configuration is stored in a hash reference named $c. For example a simple file might look like this:

# the foo option modifies the number of badgers in the boojum
$c->{foo} = 23;