Adding your own Tags!
With each file type comes countless different tags. If you are looking for some specific tag, this page is dedicated to showing you how to add tags into the filter so you can get what you want.
This section will include a step-by-step guide in retreiving tags manually, picking out the tags you want, and where to find them in the HTML report that Metaforge produces.
Exiftool and Retreiving Metadata Manually
- Choose the file type you want to work with and download a good number of files of that type for metadata gathering purposes.
- Google searches can be helpful here. Random files can be found using "inurl: .(extension type here)"
- After gathering your sample files, place them in one local place and run the command:
- This command prints them in JSON format (very important to use the -j param) and prints the output to a text file
- Open up a notepad as you will now be collecting the tags you want to collect from your chosen file type. It is recommended that you name the file after your file type that you are collecting the tags from.
- Sort through the newly created file "alltags.txt" for the file type that you selected, as this will contain all the raw metadata for each file.
- Record each tag you would like to have added to the CustomTags section of the HTML report generated by Metaforge in your open notepad for easy transfer.
- Examples of tags are "Composite:ImageSize", "System:FileModifyDate", "IFDO:Copyright".
exiftool -j -G * > alltags.txt
Adding Tags to the Custom Tags
- Open up "markup.py" with your editor of choice and proceed to line 34 in the code.
- Do not remove the PLACEHOLDER or DELETE_ME
- Following the same "", format, continue adding tags after the DELETE_ME with a coma and opening the new tag with quotations.
- The last tag added should not include a coma but should include a closing parenthesis.