2017 © Pedro Peláez
 

symfony-bundle ref-lib-ris-bundle

Funstaff RefLibRisBundle

image

funstaff/ref-lib-ris-bundle

Funstaff RefLibRisBundle

  • Friday, January 6, 2017
  • by Garfield-fr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 680 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

RefLibRisBundle

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version License SensioLabsInsight, (*1)

This bundle provide an interface for Funstaff RefLibRis, (*2)

Configuration

Minimal configuration, (*3)

ref_lib_ris:
    fallback: 'default'
    mappings:
        default:
            TY: ['type']
            AU: ['creator', 'author']
            SN: ['isbn', 'issn']
        BOOK:
            TY: ['type']
            AU: ['creator', 'author']
            ...

Full configuration, (*4)

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., (*5)

The Versions

06/01 2017

dev-master

9999999-dev

Funstaff RefLibRisBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

05/01 2017

1.0

1.0.0.0

Funstaff RefLibRisBundle

  Sources   Download

MIT

The Requires

 

The Development Requires