Config.txt
From CONTENTdm Users Wiki
- The title of this article should be config.txt. The initial letter is capitalized and an underscore is substituted or omitted because of technical restrictions.
Metadata field configuration for a collection. Lives in a collection directory under index/etc
[edit] format
Colon separated records, one metadata field per line of the file.
name:nick:type:size:thesaurus:usefor:search:hide:vocab:dc
the records in each lines are:
-
name- the display name of the field -
nick- the field nick name, the true name of the field that is used internally. -
type- the type of the field. Either TEXT, DATE, or FTS (full text search) -
size- BIG (display field as a text area) or SMALL -
thesaurus- unused thesaurus parameter -
usefor- unused usefor parameter -
search- SEARCH for a searchable field, NOSEARCH or anything else for a non-searchable field -
hide- HIDE for a hidden field, NOHIDE or anything else for a visible field -
vocab- VOCAB for a controlled vocabulary field, NOVOCAB or anything else for a non-controlled vocab field -
dc- the field nick name of the Dublin Core field this field is mapped to
Line endings are UNIX style.
[edit] notes
- parsed by dmGetCollectionFieldInfo in DMSystem.php

