metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
72 stars 34 forks source link

Add SRU opener / `open-sru` #510

Open TobiasNx opened 1 year ago

TobiasNx commented 1 year ago

Like OAI PMH opener, metafacture should be able to retrieve all records of a SRU request. A new modul should be configurable with the specific SRU keywords.

The opener should be similarl to gist.github.com/jorol/989ea5dd464fb85bd99b4733710d2890#oai-pmh and https:// github.com/LibreCat/Catmandu-SRU/tree/dev

In Flux something like:

| open-sru(base="https://services.dnb.de/sru/zdb", recordSchema="MARC21-xml", query="tit = soil biology", parser="marcxml")

We have two use-cases:


Possible other Java sources that could help develop an SRU opener for Metafacture: https://github.com/opacapp/opacclient/blob/master/opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/SRU.java https://github.com/rism-international/sru-downloader https://github.com/indexdata/cql-java https://www.loc.gov/standards/sru/resources/products.html

TobiasNx commented 4 days ago

This could maybe help: https://github.com/opacapp/opacclient/blob/master/opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/SRU.java

TobiasNx commented 4 days ago

Also https://www.loc.gov/standards/sru/resources/products.html

The SRU module would be nice to introduce it to MF before the workshop in January since it is part of their corriculum

TobiasNx commented 4 days ago

And this: https://github.com/indexdata/cql-java

TobiasNx commented 4 days ago

Opener should be similarl to https://gist.github.com/jorol/989ea5dd464fb85bd99b4733710d2890#oai-pmh and https:// github.com/LibreCat/Catmandu-SRU/tree/dev

in metafacture:

| open-sru(base="https://services.dnb.de/sru/zdb", recordSchema="MARC21-xml", query="tit = soil biology", parser="marcxml")

TobiasNx commented 4 days ago

This feature is also required for https://jira.hbz-nrw.de/browse/RPB-225

TobiasNx commented 3 days ago

I also found this: https://github.com/rism-international/sru-downloader

TobiasNx commented 3 days ago

I cleaned up to comments to make this issue more compact.