-
Notifications
You must be signed in to change notification settings - Fork 2
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
Documentation: Extract Metadata #2
Comments
Working on a draft of the documentation here. However, as I started to take screenshots I noticed I'm getting a new error under "Refresh and map metadata" that I wasn't getting during testing: TypeError Details: TypeError: Argument 2 passed to ExtractMetadata\Module::mapMetadata() must be of the type array, null given, called in /var/www/html/katknow/OmekaSTesting/modules/ExtractMetadata/Module.php on line 491 and defined in /var/www/html/katknow/OmekaSTesting/modules/ExtractMetadata/Module.php:435 This is different than the error I had that disappeared during testing, which was under "Map metadata," which is still working. |
I made a change that should fix the issue. Pull and try it out. It's an odd one, though. If it doesn't break, the problem was that the media's file doesn't exist - which it should. |
That seemed to do it--thanks! |
In the documentation you reference the "Extract Metadata" vocabulary. That vocabulary no longer exists. Please remove all references to it in the docs. You should also delete the vocabulary under "Vocabularies". |
Could you point me more specifically to where in the document you are referring re. vocabularies? Also, are the extractors/mappers sections okay to be included as they are in the README? I didn't really edit them because I don't know much about them. Thank you! |
Under the "Adding media" section that begins with "Once you've added media to an item, you can add the extracted metadata to the item's metadata under the Values tab..." None of that applies. Metadata extraction is automatic and doesn't require the user's interaction - no adding a property, no selecting a value type, none of that. All you need to say here is metadata extraction is automatic. No additional action is needed.
Yes, that's fine. |
Thanks for the clarification! Will take that out. |
Under "Adding media":
You cannot view the extracted metadata from the item edit page. You can only view it on the media show and edit pages.
There is no "newly added field." There are links to media on the item show sidebar where users can see the metadata. |
Sorry about that, I thought I understood after I had asked on the testing and went in the opposite direction. I’ve removed those lines and instead pointed to the media show and edit pages. |
This module needs documentation. Much of it has already been written in the README.
The text was updated successfully, but these errors were encountered: