LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
176 stars 31 forks source link

WebService Importer/Exporter #114

Open phochste opened 9 years ago

phochste commented 9 years ago

Create an importer to push JSON to an URI

vpeil commented 9 years ago

I have a similar intention for the DataCite metadata store (https://www.datacite.org/), i.e. DOI registry service for research data.

The necessary steps are:

@phochste Should we have another base class, e.g. Catmandu::Exporter::Webservice? Then we can build new Exporter like Catmandu::Exporter::Webservice::Datacite, etc.

phochste commented 9 years ago

@vpeil Yes, but I am a but uncomfortable with the naming convention. Catmandu::Exporter::Datacite that uses Catmandu::Exporter::Webservice as base class is ok for me. But be aware, I have issues with Catmandu::Exporter::MARC that used Perl subclassing in the past and got to problems having fixes executed twice.

vpeil commented 9 years ago

ok, then what about Catmandu::Webservice as base class?

On 13/03/15 09:30, Patrick Hochstenbach wrote:

@vpeil https://github.com/vpeil Yes, but I am a but uncomfortable with the naming convention. Catmandu::Exporter::Datacite that uses Catmandu::Exporter::Webservice as base class is ok for me. But be aware, I have issues with Catmandu::Exporter::MARC that used Perl subclassing in the past and got to problems having fixes executed twice.

— Reply to this email directly or view it on GitHub https://github.com/LibreCat/Catmandu/issues/114#issuecomment-78866375.

Vitali Peil Fachreferent PUB Raum E1-144, Tel. 0521 106 6125 Universitätsbibliothek Bielefeld

phochste commented 9 years ago

Sure. For now all exporters are Catmandu::Exporter::<***> nothing deeper.