Sample library.info file: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (+cat)
(+sections)
Line 2: Line 2:


[Library]
[Library]
name = "Dictionary"
name = Dictionary
global_name = org.logos.dictionary
library_version = 1
library_version = 1
host_version = 1
host_version = 1
l10n = false
l10n = false
locale = "en_US"
locale = en
category = "Books and reference"
category = books
subcategory = reference
category_icon = "library-dictionary.jpg"
icon = library-dictionary.jpg
category_class = books
subcategory = "reference"
bundle_class = "dictionary"


==Keys and Values==
==Keys and Values==
See [[library.info]] for a description of keys and values.
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 convreting a collection of OCW
courses to be content bundles (they name their homepage differently).


[[Category:File formats]]
[[Category:File formats]]

Revision as of 17:25, 21 September 2007

Here is an example library.info configuration file for a collection called Dictionary:

[Library]
name = Dictionary
global_name = org.logos.dictionary
library_version = 1
host_version = 1
l10n = false
locale = en
category =  books
subcategory = reference
icon = library-dictionary.jpg

Keys and Values

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 convreting a collection of OCW courses to be content bundles (they name their homepage differently).