SobekCM METS Files: File SectionOverviewThe fourth section within the METS document is the file section. This lists all of this files which are related to this digital resource. This section also allows different file types to be associated with one another. In a digitized book, for example, you may wish to associate the digital master with its derivatives, including jpeg and text files. This section is wrapped in a fileSec tag. SobekCM RulesEach file reference must refer to a file within the same resource folder by system name. The METS standard supports referencing an external resource by href, but this is not currently supported by SobekCM. DetailsEach file type is listed in a separate fileGrp tag. However, the GroupID links the different related file types together. Within each file section, the system name will always appear. Additionally, each file tag can include attributes for the checksum and checksum type. These attributes are used to ensure the files were safely transferred to the final destination. A single file tag with checksums:
<METS:file CHECKSUM="f21..43" CHECKSUMTYPE="MD5" GROUPID="P32656" ID="F104135" MIMETYPE="image/tiff 6.0">
Complete example, without checksums:
<METS:fileSec>
<METS:fileGrp USE="reference"> <METS:file GROUPID="G1" ID="JPEG1" MIMETYPE="image/jpeg" SIZE="182673"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00001.jpg" /> </METS:file> <METS:file GROUPID="G2" ID="JPEG2" MIMETYPE="image/jpeg" SIZE="123476"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00002.jpg" /> </METS:file> <METS:file GROUPID="G3" ID="JPEG3" MIMETYPE="image/jpeg" SIZE="80603"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00003.jpg" /> </METS:file> <METS:file GROUPID="G4" ID="JPEG4" MIMETYPE="image/jpeg" SIZE="75605"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00004.jpg" /> </METS:file> <METS:file GROUPID="G5" ID="JPEG5" MIMETYPE="image/jpeg" SIZE="28729"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00005.jpg" /> </METS:file> </METS:fileGrp> <METS:fileGrp USE="reference"> <METS:file GROUPID="G1" ID="JP21" MIMETYPE="image/jp2" SIZE="239257"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00001.jp2" /> </METS:file> <METS:file GROUPID="G2" ID="JP22" MIMETYPE="image/jp2" SIZE="213662"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00002.jp2" /> </METS:file> <METS:file GROUPID="G3" ID="JP23" MIMETYPE="image/jp2" SIZE="220468"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00003.jp2" /> </METS:file> <METS:file GROUPID="G4" ID="JP24" MIMETYPE="image/jp2" SIZE="206009"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00004.jp2" /> </METS:file> <METS:file GROUPID="G5" ID="JP25" MIMETYPE="image/jp2" SIZE="31839"> <METS:FLocat LOCTYPE="OTHER" OTHERLOCTYPE="SYSTEM" xlink:href="00005.jp2" /> </METS:file> </METS:fileGrp> </METS:fileSec> |