[librecat-dev] binder with MARC to MARC convertor
Jason Loeffler
j at minorscience.com
Sun Oct 2 23:34:06 CEST 2016
I've worked through CSV to JSON and JSON to JSON converters using binds in
order to operate on an object-value pair using the contents of an external
text file/dictionary.
E.g.
# linked_agents.ref
do list(path => linked_agents)
add_field("foor","bar")
replace_all("ref","[^a-zA-z0-9\s]","");
lookup("ref","list.csv");
end
This works very well. But is there a way to execute a similar task with a
MARC to MARC conversion?
Something like firing a lookup in the marc_each context?
do marc_each()
lookup('some datafield', 'list.csv')
end
Jason Loeffler
Technology Consultant | The American Academy in Rome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20161002/f10555a6/attachment.html>
More information about the librecat-dev
mailing list