EPrints Technical Mailing List Archive
Message: #06371
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 22 Mar 2017 16:47:40 +0000
Ok - the right plugin should be responding to the request. You could also try your 'break the plugin' test, and re-run these tests - to check that you get an error when you break the plugin. If you don't, I wonder if there is another DC_Ext somewhere (<eprints_root>/lib/plugins/EPrints/Plugin/Export/?) that *is* working. Try adding some 'print STDERR' statements in the plugin - these should appear in the apache error log (when requested as a webpage),
or in the terminal (if using a script). Possibly change cfg.d/z_oai.pl, comment-out the 'undef' line, and add a new metadata prefix for OAI_DC_Ext. # don't use Export::OAI_DC for oai_dc metadataPrefix... # $c->{plugins}->{"Export::OAI_DC"}->{params}->{metadataPrefix} = undef; # ...use Export::OAI_DC_Ext instead $c->{plugins}->{"Export::OAI_DC_Ext"}->{params}->{metadataPrefix} = "oai_dc_ext"; When you then request
http://www.fedoaempty.unina.it/cgi/oai2?verb=ListMetadataFormats it should like the new one as well as oai_dc. If this works, try requesting the record, using 'metadataPrefix=oai_dc_ext' - see if that works! Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alfredo Cosco I checked eprints@myhost:~/bin/local$ ./check_plugin sandbox2 Export::OAI_DC Checking Export::OAI_DC Plugin Export::OAI_DC seems to be OK... Plugin Export::OAI_DC is module: EPrints::Plugin::Export::OAI_DC. Use of uninitialized value in print at ./check_plugin line 50. Metadata prefix: . eprints@myhost:~/bin/local$ ./check_plugin sandbox2 Export::OAI_DC_Ext Checking Export::OAI_DC_Ext Plugin Export::OAI_DC_Ext seems to be OK... Plugin Export::OAI_DC_Ext is module: EPrints::Plugin::Export::OAI_DC_Ext. Metadata prefix: oai_dc Seems that OAI_DC_Ext responds to the request. Tnx, Alfredo 2017-03-22 15:51 GMT+01:00 John Salter <J.Salter@leeds.ac.uk>:
|
- Prev by Date: Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- Next by Date: Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- Previous by thread: Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- Next by thread: Re: [EP-tech] [Eprints 3.3.4] Plugin doesn't work on OAI-PMH push: OpenAire upgrade attempt to 3.0 compliance
- Index(es):