Get data from xml file in zip

Started by StarGeek, October 19, 2018, 06:22:15 PM

Previous topic - Next topic

StarGeek

I thought something like this had been touched upon at one point but I can't seem to find the thread.

Is it possible to create a user defined tag that would read a specific XML file in a zip file?  Am I wrong in believing this is what is done with files such as Docx?

I was thinking it might be possible with a external call to 7zip or with Archive::Zip but wanted to check if there was other ways. 
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

There is no way to create a user-defined tag to do this, although this is an interesting idea... I could maybe think about adding this feature if you thought it could be useful.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).