Comments (6)
Thank you for pointing this out! I haven't been working with the Simple OAI-PMH Data Provider for a while now, since there is a successor which supersedes this one in most cases.
But nevertheless I tried to fix all deprecation warnings in #15. Would you like to test this before I merge the changes and release a new version?
from simple-oai-pmh.
Time to merge! :-)
I merged the changes and made a new release: v1.8
from simple-oai-pmh.
Thx!
Thank you for pointing this out! I haven't been working with the Simple OAI-PMH Data Provider for a while now, since there is a successor which supersedes this one in most cases.
I already noted the other version of this provider, but wasn't sure if it is activly developed (since there is no readme).
If this is meant to be an successor I think it would be great if it would support both repository options (plain files and database).
But nevertheless I tried to fix all deprecation warnings in #15. Would you like to test this before I merge the changes and release a new version?
Yes. I guess I can test it tomorrow and give you feedback.
from simple-oai-pmh.
Hm, there is a problem with ListRecords&metadataPrefix
.
There are no results when using
https://<myOAIserver>/?verb=ListRecords&metadataPrefix=oai_dc
in the default installation.
<error code="noRecordsMatch">The combination of the values of the from, until, set and metadataPrefix arguments results in an empty list.</error>
The given example.xml is set in the files array in line 39 of index.php. It seems to be a problem with how $until
is set in line 91. In the case of example.com, $until
is not null and of same value as $from
. Therefore the expression in line 95 is always FALSE
.
from simple-oai-pmh.
Thanks for checking! I think I found the problem and updated the pull request. That should (hopefully) fix it.
from simple-oai-pmh.
Tested it this morning, works like a charm! And all "deprecated" warnings are gone.
Time to merge! :-)
from simple-oai-pmh.
Related Issues (7)
- Suggestion to improve security HOT 2
- FAIL Error code badArgument not found in response but should be given to the request: verb=ListRecords&metadataPrefix=oai_dc&from=2002-02-05&until=2002-02-06T05:35:00Z The request has different granularities for the from and until parameters.
- POST requests not handled correctly
- Filw autoload filw HOT 1
- Possible bug in Server.php
- PHP 8.1 compatibility / strptime() Deprecated Warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-oai-pmh.