Stefano Bargioni schreef op do 26-03-2015 om 09:15 [+0100]:
I wrote a Node.js module for handling MARC data while trying to learn MARC and Node.js. I borrowed a lot of ideas from marc4j, ruby-marc and pymarc.The module is open-source and hosted on github. If you are interested please check it out at https://github.com/jiaola/marc4js. It’s still at its early stage but I’d like to share it with the community and hopefully someone will find it useful. Feel free to submit a bug report, feature request or join the effort to make it better.
In the case of ES, pretty much all of the coding is still Perl, so we can use MARC::Record and friends to deal with MARC. Catmandu has a very simple way of storing MARC in JSON that I'm using to put records in ES, which is very easy to convert: http://git.catalyst.net.nz/gw?p=koha.git;a=blob;f=Koha/SearchEngine/Elastics... -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF