omeka-s-modules / extractmetadata Goto Github PK
View Code? Open in Web Editor NEWExtract embedded metadata from files
License: GNU General Public License v3.0
Extract embedded metadata from files
License: GNU General Public License v3.0
Re: omeka/omeka-s-enduser#129 (comment)
https://omeka.org/s/docs/user-manual/modules/extractmetadata/#mappers
Mappers map extracted metadata to resource values. Note that a mapper must be enabled on the module configuration page. This module comes with one mapper, but more can be added depending on your need.
How does a user add more mappers? Can we put an example here?
Hi,
I can see that all meta data for an image is being extracted okay but when I try to use the JSON Pointer crosswalk, according the README.md, in order to map it to a property nothing happens and the property value is not updated. Is there anyway I can enable some debug showing what's happening or how do you suggest I should proceed?
Map looks like this:
Media ExifTool /EXIF/DateTimeOriginal Dublin Core:Date Created
Sample of the Extracted Metadata looks like:
"EXIF": {
"DateTimeOriginal": "2019:11:06 12:50:16",
"DateTimeDigitized": "2019:11:06 12:50:16"
}
After installing this module the Omeka Admin site is no longer accessible and it only shows this error message:
Warning: require_once(/var/www/utv3.kulturhotell.se/web/modules/ExtractMetadata/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/utv3.kulturhotell.se/web/modules/ExtractMetadata/Module.php on line 29
Fatal error: require_once(): Failed opening required '/var/www/utv3.kulturhotell.se/web/modules/ExtractMetadata/vendor/autoload.php' (include_path='.:') in /var/www/utv3.kulturhotell.se/web/modules/ExtractMetadata/Module.php on line 29
Looking at the module code it looks like to vendor folder and it's files are missing.
Is this something you could look into?
Adjusting the path to "vendor/autload.php" on line 29 resolved the issue.
This module needs documentation. Much of it has already been written in the README.
This module extracts embedded metadata from files and sets them to the media. When creating an item, add multiple media using the Upload or URL option. After adding the item, if the file formats are supported, you will likely see extracted metadata assigned to the respective media. (Check the README for supported file formats.) Note that not all files have embedded metadata, so a lack of metadata is not necessarily a sign of a bug.
Once you've added several media and their metadata, test the "Extract metadata" tab on the item and media edit pages. You should see an option to refresh or clear the metadata. Test that clearing metadata does indeed delete the metadata from the media. Test that refreshing the metadata does indeed add the metadata back in. Also, test the "Extract metadata" option on the item and media batch edit forms. Note that clearing and refreshing metadata on an item should clear or refresh all the item's child media.
An equally important part of this is testing as many file formats as possible. The current list of supported file formats and metadata is not exhaustive, so I would like to know which formats you would like to see supported that are not currently. Also, if you feel that a file should have metadata but doesn't, bring it to my attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.