Could the module somehow used as an API to handle metadata? I am working on a bulk image import that uses iptc/exif. So i need to extract metadata and use them then to put them in fields and so on.
Could the module somehow used as an API to handle metadata? I am working on a bulk image import that uses iptc/exif. So i need to extract metadata and use them then to put them in fields and so on.
Comments
Comment #1
jphautin commentedI am also thinking on the same thing as a drush command but does not start to implement it as it is not a priority.
Principle of import is :
- read paths (required parameter of command line) to make a list a images
- for each file
+ create a node, the title is the name of the image file.
+ update the node with the uploaded file, metadata will be automatically updated following node type
+ update the node title with a chosen metadata type (optional parameter of command line)
If you are not working on drush integration, please give me what type of API you need to see what can i do.
regards,
Comment #2
marcoka commentedi mean at the moment i dostuff like this:
an api would centralize iptc/exif meta data stuff. i am taking single fields here.
Comment #3
jphautin commentedat first glance, you coould use the Exif class.
Comment #4
jphautin commented