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 <code>library.info</code> configuration file for a collection called <code>Dictionary</code>:
Here is an example <code>library.info</code> configuration file for a collection called <code>Dictionary</code>. To create a configuration file for your own collection, copy and edit the file below, or use the web-based [http://crank.laptop.org/~lauren/library-info.py library.info file generator].


[Library]
[Library]

Revision as of 17:29, 18 December 2007

Here is an example library.info configuration file for a collection called Dictionary. To create a configuration file for your own collection, copy and edit the file below, or use the web-based library.info file generator.

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