Difference between revisions of "Archives/ARCHIVEID/cfg/namedsets/"

From EPrints Documentation
Jump to: navigation, search
(Reverted edit of Av7Q2y, changed back to last version by WikiSysOp (spam delete))
 
(3 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 12:50, 17 September 2007

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects

These are files which contain lists of values for named set fields. namedset fields work just like set fields, except that their options are stored in one of these files, rather than directly in the field configuration. Spaces in these files are not recommended.

  • eprints3/archives/ARCHIVEID/cfg/namedsets
    • document - document types. Ideally these are mime types.
    • eprint - eprint types. eg. article, book etc.
    • languages - the languages used in the "language" field of documents. (this field is hidden, by default).
    • licenses - options for the license in the document fields (eg. creative commons)
    • security - options for the security level of a document
    • user - types of user, eg "user" or "editor" or "admin".

The screen name for these is taken from a phrase of the form:

setid_typename_value

so the version of the "public" option of the security namedset which users see would be defined by the following phrase:

<epp:phrase id="security_typename_public">Anyone</epp:phrase>