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

DspaceCollection methods for single items #6

Open
PoorBillyPilgrim opened this issue Oct 3, 2021 · 0 comments
Open

DspaceCollection methods for single items #6

PoorBillyPilgrim opened this issue Oct 3, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@PoorBillyPilgrim
Copy link
Owner

Define workflow, methods, and data model for single item from given collection. This will be information added to README eventually.

// item param is folder name for item in collection
collection.getItem(item) // returns contents of item folder
collection.getItemMetadata(item) // returns dublin_core.xml contents as a JS object
collection.getItemJson(item) // returns dublin_core.xml contents as a JSON string
collection.getItemImage(item) // returns file name of image for item
collection.getDcvalues({item: item, descriptions: descriptions}) // returns metadata as jsonld for Manifest
@PoorBillyPilgrim PoorBillyPilgrim added the documentation Improvements or additions to documentation label Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant