funstaff / ref-lib-ris-bundle
Funstaff RefLibRisBundle
Installs: 802
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- funstaff/ref-lib-ris: ^2.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- symfony/config: ^3.0
This package is auto-updated.
Last update: 2024-10-29 02:52:47 UTC
README
- Author: Bertrand Zuchuat bertrand.zuchuat@gmail.com
- License: MIT
This bundle provide an interface for Funstaff RefLibRis
Configuration
Minimal configuration
ref_lib_ris: fallback: 'default' mappings: default: TY: ['type'] AU: ['creator', 'author'] SN: ['isbn', 'issn'] BOOK: TY: ['type'] AU: ['creator', 'author'] ...
Full configuration
ref_lib_ris: classes: ris_mappings: 'Funstaff\RefLibRis\RisMappings' record_processing: 'Funstaff\RefLibRis\RecordProcessing' ris_definition: 'Funstaff\RefLibRis\RisDefinition' ris_writer: 'Funstaff\RefLibRis\RisWriter' fallback: 'default' mappings: default: TY: ['type'] AU: ['creator', 'author'] SN: ['isbn', 'issn'] BOOK: TY: ['type'] AU: ['creator', 'author'] ...
Use
$recordDb = [ 'type' => ['BOOK'], 'author' => ['Book Author'], 'title' => ['Book Title'], ]; record = $this->get('ref_lib_ris.record_processing') ->process($recordDb); $ris = $this->get('ref_lib_ris.ris_writer') ->addRecord($record) ->process();
Found a bug
If you found a bug, please let me know. The best way is to file a report at http://github.com/funstaff/RefLibRisBundle/issues.