//**This page is in the 'old' namespace, and was imported from our previous wiki. We recommend checking for more up-to-date information using the search box.**// ====== More about Metadata ====== =====How to manually specify filenames in metadata.xml===== If you're writing your own metadata.xml files that will specify what metadata is attached to which folders and files, you will need to specify the element as a regular expression and any filepaths must be in URI format (which uses forward slashes). Because such filepaths represent regular expressions, backslashes can be used to escape special characters, e.g. "\." means the literal full-stop character. An example of a valid metadata.xml file is: pinky/golala/filename1\.txt Lala pinky/nono/filename2\.txt Nono pinky/toto/filename3\.txt Toto =====Can I get any information about the metadata coverage in my collection?===== Metadata coverage statistics can be gathered during collection building by adding the line store_metadata_coverage true to the collection's etc/collect.cfg file. Rebuild the collection (don't need to reimport), then the collection's GDBM database will contain the following information in the 'collection' entry. Examples are from the demo collection. * Which metadata sets have been used in the collection dls ex * Which elements are present in each metadata set. URL Plugin Encoding Language SourceFile Source FileSize Title Subject Language Keyword Organization Title * The frequency of each metadata element. 17 11 11 6 11 11 11 11 11 11 11 11 11 Note, to view all the entries in the GDBM database, run db2txt path-to-collection/index/text/collname.gdb > database.txt