Sample library.info file: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Here is an example <tt>[[library.info]]</tt> configuration file for a collection called <tt>Dictionary</tt>:
Here is an example <code>library.info</code> configuration file for a collection called <code>Dictionary</code>:


[Library]
[Library]

Revision as of 17:25, 18 December 2007

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

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).