Giter VIP home page Giter VIP logo

Comments (6)

sebastian-meyer avatar sebastian-meyer commented on May 30, 2024 1

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.

sebastian-meyer avatar sebastian-meyer commented on May 30, 2024 1

Time to merge! :-)

I merged the changes and made a new release: v1.8

from simple-oai-pmh.

ghohmann avatar ghohmann commented on May 30, 2024

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.

ghohmann avatar ghohmann commented on May 30, 2024

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.

sebastian-meyer avatar sebastian-meyer commented on May 30, 2024

Thanks for checking! I think I found the problem and updated the pull request. That should (hopefully) fix it.

from simple-oai-pmh.

ghohmann avatar ghohmann commented on May 30, 2024

Tested it this morning, works like a charm! And all "deprecated" warnings are gone.
Time to merge! :-)

from simple-oai-pmh.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.