Early Learning Resource Network¶
Open Metadata Exchange (OME) plugin¶
An OME plugin defines how to import and publish metadata from an Open Education Resources system.
plugin.py provides the class that enables OME to understand Early Learning Resource Network metadata.
This plugin defines one or more:
mimetypesso that Early Learning json data can be stored as enclosures in InterNetNews (INN) articles.newsgroupsso Early Learning metadata can be published to and subscribed from those INN newsgroups.
The plugin is composed of at least three code files.
plugin.py: Definesmimetypes,newsgroups, and amake_metadata_card()function that translates Early Learning data into an OME EducationalResource.early_learning_models.py: Generated by Pydantic tools to make it fast and reliable to import Early Learning metadata.bulk_import.py: Utilities to convert data directly from the Early Learning API into OME EducationalResources.
[!NOTE]
Please do NOT edit this line and below because when the docs are rebuilt, these lines will be overwritten by scripts/sync_plugin_docs.py.
MIMETYPES:
application/vnd.earlylearning.early-learning+json
NEWSGROUPS:
{‘ome.early_learning’: ‘Metadata from Early Learning Resource Network https://www.earlylearningresourcenetwork.org’}
server/plugins/early_learning
├── __init__.py
├── bulk_import.py
├── early_learning_article.eml
├── early_learning_item.json
├── early_learning_models.py
├── early_learning_ome_item.json
├── early_learning_resources.json
├── plugin.py
└── README.md
1 directory, 9 files