I am new to exiftool.
Just wondering if I can use exiftool to add my own set of metadata to existing PDF files.
Here is sample of my metadata...
<?xml version="1.0"?>
<metadata>
<journalmeta>
<journaltitle>The Journal of Selected Topics in Applied Earth Observations and Remote Sensing</journaltitle>
<journalacronym>JSTARS</journalacronym>
<journalid>0057800</journalid>
<issn issntype="online">2151-1535</issn>
<issn issntype="print">1939-1404</issn>
<coden>IJSTHZ</coden>
<publisher></publisher>
</journalmeta>
<issuemeta>
<volumenumber/>
<issuenumber/>
</issuemeta>
<articlemeta>
<articledoi>10.1109/JSTARS.2014.2321027</articledoi>
<articlenumber>2321027</articlenumber>
<startpage>1</startpage>
<endpage>10</endpage>
<sequencenumber/>
</articlemeta>
<article>
<articletitle>SMOS Retrieval Results Over Forests: Comparisons With Independent Measurements</articletitle>
<bylinegrp>
<author primaryauthor="y" corresponding="n" coauthor="y" refid="a1">
<namegrp>
<fnamegrp>
<fname>Rachid</fname>
<idxname_fname>Rachid</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Rahmoune</surname>
<idxname_surname>Rahmoune</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<author primaryauthor="n" corresponding="y" coauthor="n" refid="a1">
<namegrp>
<fnamegrp>
<fname>Paolo</fname>
<idxname_fname>Paolo</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Ferrazzoli</surname>
<idxname_surname>Ferrazzoli</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<author primaryauthor="n" corresponding="n" coauthor="y" refid="a2">
<namegrp>
<fnamegrp>
<fname>Yogesh Kumar</fname>
<idxname_fname>Yogesh Kumar</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Singh</surname>
<idxname_surname>Singh</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<author primaryauthor="n" corresponding="n" coauthor="y" refid="a3">
<namegrp>
<fnamegrp>
<fname>Yann H.</fname>
<idxname_fname>Yann H.</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Kerr</surname>
<idxname_surname>Kerr</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<author primaryauthor="n" corresponding="n" coauthor="y" refid="a3">
<namegrp>
<fnamegrp>
<fname>Philippe</fname>
<idxname_fname>Philippe</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Richaume</surname>
<idxname_surname>Richaume</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<author primaryauthor="n" corresponding="n" coauthor="y" refid="a3">
<namegrp>
<fnamegrp>
<fname>Ahmad</fname>
<idxname_fname>Ahmad</idxname_fname>
</fnamegrp>
<surnamegrp>
<surname>Al Bitar</surname>
<idxname_surname>Al Bitar</idxname_surname>
</surnamegrp>
</namegrp>
</author>
<affnotegrp>
<affnote id="a1">
<para>Department of Civil Engineering and Computer Science (DICII), Tor Vergata University of Rome, Rome 00133, Italy.</para>
</affnote>
<affnote id="a2">
<para>Department of Civil Engineering and Computer Science (DICII), Tor Vergata University of Rome, Rome 00133, Italy, Centre for Development of Advanced Computing, Pune 411007, Maharashtra, India.</para>
</affnote>
<affnote id="a3">
<para>Centre d&rsquo;Etudes Spatiales de la BIOsphère (CESBIO), 31401, Toulouse cedex 9, France.</para>
</affnote>
<affnote id="a4">
<para>Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org.</para>
</affnote>
<affnote id="sup">
<para>
<supported>
<agency-name role="European Space Agency"/>
</supported>
</para>
</affnote>
<proddate proddatetype="receiveddate" date="11/04/2013">November 04, 2013</proddate>
<proddate proddatetype="reviseddate1" date="02/28/2014">February 28, 2014</proddate>
<proddate proddatetype="accepteddate" date="04/17/2014">April 17, 2014</proddate>
</affnotegrp>
</bylinegrp>
<abstract>
<para>This paper shows results obtained by using SMOS Level 2 retrieval algorithm, run at prototype stage, over forests. For each SMOS pixel, the algorithm estimates the soil moisture (SM) and the vegetation optical depth (${\taub}$). Average ${\taub}$ values retrieved in 4 days of July 2011 over forest pixels are shown and compared against forest height estimated by GLAS Lidar on board ICEsat satellite. Results of the comparison show a significantly increasing trend of ${\taub}$ with respect to forest height. For each 1-m interval of forest height estimated by Lidar, the standard deviation of optical depth is slightly higher than 0.1. The analysis is made again considering forest ${\taub}$ retrieved in 4 days of February, May, and November 2011, and it is observed that seasonal effects over optical depth are low. As an insight, it is shown that the increasing trend is still observed after subdividing world forests into Coniferous, Deciduous Broadleaf, and Evergreen Broadleaf. Comparisons with independent information about biomass are also shown at regional level for the U.S. The increasing trend is still observed, but with a reduced range of values. For SM, 14 nodes of the SCAN/SNOTEL network in the U.S. are considered. Over 2 years of data, retrieved values of SM are compared against ground measurements. Obtained values of correlation coefficient, rms error, and bias are reported.</para>
</abstract>
<keywordgrp>
<keywordset source="author">
<keyword>Forestry</keyword>
<keyword>microwave radiometry</keyword>
<keyword>vegetation</keyword>
<keyword>soil</keyword>
</keywordset>
</keywordgrp>
<contenttype TJ="orig-research" MAG="none"/>
<openaccess article="no"/>
<copyright owner="IEEE">
<copyrightyear>2014</copyrightyear>
</copyright>
<articlefilename>jstars-ferrazzoli-2321027-x.pdf</articlefilename>
<multimedia included="no"/>
<postingtype type="postedit"/>
</article>
</metadata>
ExifTool won't generate XML exactly like this. The proper way to do this would be to use a custom XMP namespace for this. XMP is very similar, and ExifTool will write it and other apps will be able to read it. See the sample config file (https://exiftool.org/config.html) for an example of how to define a custom XMP namespace.
- Phil