Plugins.pl: Difference between revisions
⧼vector-appearance-label⧽
m Remove content as added for wrong page. Tag: Replaced |
Added detail about config file |
||
| Line 1: | Line 1: | ||
{{dirs}} | {{dirs}} | ||
{{cfgd}} | {{cfgd}} | ||
'''plugins.pl''' contains configuration for managing [[API:EPrints/Plugin|plugins]] under the '''<code>$c->{plugins}</code>''' hash reference. Most of the configuration is commented out as it provides example on how to: | |||
# Set the generic options (e.g. ''params'' and ''appears'') for a particular plugin. | |||
# Set action options for [[API:EPrints/Plugin/Screen|screen plugins]]. | |||
# Set options for [[API:EPrints/Plugin/Import|import]] and [[API:EPrints/Plugin/Export|export]] plugins. | |||
# Plugin mapping. Useful for overriding plugins with your own archive level version of the plugin. | |||
The only enabled configuation is for setting the ''pid'', ''doi_field'' and ''use_prefix'' params for CrossRef import plugins (i.e. [[API:EPrints/Plugin/Import/DOI|DOI]] and [[API:EPrints/Plugin/Import/DOI_UNIXREF|DOI_UNIXREF]]). | |||
Revision as of 11:05, 30 January 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
plugins.pl contains configuration for managing plugins under the $c->{plugins} hash reference. Most of the configuration is commented out as it provides example on how to:
- Set the generic options (e.g. params and appears) for a particular plugin.
- Set action options for screen plugins.
- Set options for import and export plugins.
- Plugin mapping. Useful for overriding plugins with your own archive level version of the plugin.
The only enabled configuation is for setting the pid, doi_field and use_prefix params for CrossRef import plugins (i.e. DOI and DOI_UNIXREF).