Sample library.info file
Jump to navigation
Jump to search
Here is an example library.info
configuration file for a collection called Dictionary
.
[Library] name = Dictionary global_name = org.logos.dictionary long_name = children's dictionary library_version = 1 host_version = 1 l10n = false locale = en category = books subcategory = reference icon = library-dictionary.jpg activity = Browse activity_start = index.html
To create a configuration file for your own collection, follow the instructions below or use the web-based library.info file generator.
General Notes
.info files follow a key/value pair format, similar to the fd.o desktop entry spec
- Entries
- Entries in the file are {key,value} pairs in the format: Key = Value
- Space before and after the equals sign is ignored; the = sign is the actual delimiter.
- Multiple Values
- Some keys can have multiple values. In such a case, the value of the key is specified as a plural: for example, locales. The multiple values should each be separated by a semicolon. Those keys which have several values should have a semicolon as the trailing character. Semicolons in these values need to be escaped using \;.
Keys and Values
The core categories are : activities, books, health, images, media, science, search
See library.info for a description of keys and values. Other optional keys include:
activity = Browse activity_start = index.html
Browse is the only supported activity at the moment; you could change your start page, however, for instance if you were converting a collection of OCW courses to be content bundles (they name their homepage differently).