Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebService Importer/Exporter #114

Open
phochste opened this issue Nov 14, 2014 · 4 comments
Open

WebService Importer/Exporter #114

phochste opened this issue Nov 14, 2014 · 4 comments
Labels

Comments

@phochste
Copy link
Member

Create an importer to push JSON to an URI

@phochste phochste added the idea label Nov 14, 2014
@vpeil
Copy link
Member

vpeil commented Mar 12, 2015

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:

  • create XML file in datacite format
  • HTTP POST this file together with your username/password

@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
Copy link
Member Author

@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
Copy link
Member

vpeil commented Mar 13, 2015

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
#114 (comment).

Vitali Peil
Fachreferent
PUB <pub.uni-bielefeld.de>
Raum E1-144, Tel. 0521 106 6125
Universitätsbibliothek Bielefeld

@phochste
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants