]> git.koha-community.org Git - koha.git/commit
Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 12 Jun 2014 16:18:41 +0000 (12:18 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 4 May 2015 18:33:51 +0000 (15:33 -0300)
commitca167b32b49979b7883f7874461ba66a1ca74f3e
tree5ab471559b403f0cdda2e8faf62d0cb730765003
parent2d7e475bbf7971fd38d427d388ed67178b9a0ab3
Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record staging tool

Many libraries would like to be able to import various types of files as
MARC records ( citations, csv files, etc ). We can add a new function to
the plugins system to allow that kind of behavior at a very custom
level.

Test Plan:
1) Ensure you have plugins enabled and configured correctly
2) Installed the attached version 2.00 of the Kitchen Sink plugin
3) Download the attached text file
4) Browse to "Stage MARC records for import"
5) Select the downloaded text file for staging
6) After uploading, you should see a new area "Transform file to MARC:",
   select "Example Kitchen-Sink Plugin" from the pulldown menu
7) Click 'Stage for import"
8) Click 'Manage staged records"
9) You should now see two new MARC records!

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described - interesting new feature.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/ImportBatch.pm
Koha/Plugins.pm
Koha/Plugins/Handler.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
misc/stage_file.pl
t/Koha/Plugin/Test.pm
t/db_dependent/Plugins.t
tools/stage-marc-import.pl