-
Notifications
You must be signed in to change notification settings - Fork 19
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
Gokb integration #57
base: master
Are you sure you want to change the base?
Gokb integration #57
Conversation
- WARNING: it doesn't work !!!
… pour import Gokb
…kage which get children
@AmandineMroad Thank you for this work. It is an exciting development and you have performed some excellent UI work to incorporate the feature. This feature was discussed at the last Steering Committee call and we do have some questions for discussion before this can be incorporated and tested. The discussion may need to move to the [email protected] list. A few initial questions. The identifier type that you have added does not display in the UI anywhere. If retained it would make sense to show that in the UI. Also values for any field are usually allowed to be customized in the Admin tab of the UI so that each site can set their own field values. We might want to consider doing that for this field as well. I'm also curious to know how/if this feature uses components in common with the import tool. We'd also like to see a chart that shows the data elements that are being pulled in from GOKb along with the new or existing fields in the coral database where that data is placed. Another issue which may result in a request for change is the issue of the multiple versus single record approach in the import tool. A discussion at the last steering committee on this issue has us leaning towards a required multiple record approach and not making single an option. If that change is made in the import tool we want to make sure it won't negatively impact what you've built for GOKb integration. Sorry for the long post. We'll allow some time for others to comment on this new feature and then bring discussion back to the coral-admin list. Thank you, and well done. This is an exciting development. |
"I'm also curious to know how/if this feature uses components in common with the import tool." The import tool code has been refactored in the admin/classes/domain/ImportTool.php class, so both CSV and Gokb import tools use the same codebase. "A discussion at the last steering committee on this issue has us leaning towards a required multiple record approach and not making single an option. " The Gokb import tool has been designed with multiple record approach in mind, so it won't be an issue. |
I won't move this PR to https://github.com/Coral-erm/Coral, things have to be cleaned, validated in Steering Committe,... |
This patch will allow you to search resources on GOKb and import them automatically.
Structural changes:
New Features:
GOKb search tool:
This tool allows to search titles and packages on GOKb from their name, or provider (or IsXn for titles) and consult their details.
For the moment, search requests are proceed on a test database, GOKb staff is working on it; at the end of this year, the DB should become a "prod" one.
Step 1: fill the search fields (at least one)
![step1_newresourceform](https://cloud.githubusercontent.com/assets/10909093/9520379/03aef6d4-4cc7-11e5-86f4-9d7c7c70929e.png)
Step 2: displaying a part of results
![step2_results](https://cloud.githubusercontent.com/assets/10909093/9520383/122452b8-4cc7-11e5-9f3a-3fc011c6c295.png)
Step 3: "All results"
![step3_allresults](https://cloud.githubusercontent.com/assets/10909093/9520388/1cc911cc-4cc7-11e5-8661-196013d5b0b9.png)
Step 4.1 : Click on details button -> Details tab
![step4 1_detailstab](https://cloud.githubusercontent.com/assets/10909093/9520398/29770b54-4cc7-11e5-96ac-a59ad6a7f51c.png)
Step 4.2 : Click on details button -> "TIPPs" tab
![step4 2_tippstab](https://cloud.githubusercontent.com/assets/10909093/9520403/442aac08-4cc7-11e5-8ddd-126596916149.png)
Display titles included in if it is a package, availability if it is a title; Content is paginated.
Step 5: Click on select button => Import of the resource
Resource Import from GOKb:
It is now possible to import resource directly from GOKb.
Import results:
![importresults](https://cloud.githubusercontent.com/assets/10909093/9520411/52d7adf0-4cc7-11e5-862e-0602b18c4b6e.png)
When a package is imported, user can customize its content:
![custom](https://cloud.githubusercontent.com/assets/10909093/9520418/5ddd3dfa-4cc7-11e5-805a-d07c54315a95.png)
Test plan :
Install on your server php oai-pmh:
https://github.com/caseyamcl/phpoaipmh
Install history.js on your browser :
https://github.com/browserstate/history.js
(history.js is supported by default on Firefox, no installation required)
Example of a search + import of a package from a title :