The initial release of this module creates 3 tables for 3 PBCore elements and populates them with items from the Public Broadcasting Metadata Dictionary. There are functions to return arrays of active items to use in other modules. These arrays can be used with CCK. The 2.x branch of the Open Media modules (om_show, om_project) already leverage this module when it is installed.
The 3 supported PBCore elements are Language, Rating, and Genre. By adding the appropriate function to a CCK text field, the options will be limited to items with their status set to 1.
By default, the 10 most popular languages are enabled as well as the ratings and genres used by most Open Media locations. If you'd like to have the full list of languages, ratings, or genres, simply add 'all' to the function.
return pbcore_get_languages('select', 'all');
This module will eventually include UI to enable/disable elements, set defaults for the select lists, as well as customize and/or translate the item descriptions.
Related: Module, pbcore, Media, Elements, items, screencast, Shows, Languages, arrays, Options, Modules, genres, ratings, Locations, adding, genre, rating, Function, Limited
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB