Prelinger

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 Prelinger Videos metadata.

This plugin defines one or more:

  • mimetypes so that Prelinger json data can be stored as enclosures in InterNetNews (INN) articles.

  • newsgroups so Prelinger metadata can be published to and subscribed from those INN newsgroups.

The plugin is composed of at least three code files.

  • plugin.py: Defines mimetypes, newsgroups, and a make_metadata_card() function that translates Prelinger data into an OME EducationalResource.

  • prelinger_models.py: Generated by Pydantic tools to make it fast and reliable to import Prelinger metadata.

  • bulk_import.py: Utilities to convert data directly from the Internet Archive Prelinger collection into OME EducationalResources.

  • fetch_prelinger_videos.py: Downloads Prelinger video records from the Internet Archive.

[!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:

  1. application/vnd.prelinger.video+json

NEWSGROUPS:

{‘ome.prelinger’: ‘Metadata from Prelinger Videos at the Internet Archive https://archive.org/details/prelinger’}

server/plugins/prelinger
├── __init__.py
├── bulk_import.py
├── fetch_prelinger_videos.py
├── plugin.py
├── prelinger_article.eml
├── prelinger_finland_videos.json
├── prelinger_item.json
├── prelinger_models.py
├── prelinger_ome_item.json
└── README.md

1 directory, 10 files