# Learning Object Metadata LOM - LRMI

**URL:** <https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48>\
**Category:** Contributing to Pressbooks\
**Created:** [December 6, 2016, 1:50pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48 "2016-12-06T13:50:43Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 6, 2016, 1:50pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/1 "2016-12-06T13:50:43Z")

</div>

I whant to create more metadata. For the full book, for each page ..

I believe we could use the BOOK INFO as a base of the metadata. And to add a new place for educational metadata (just in case one school or … need it). It will be easy and symple.

The metadata i would like to create is

> **[Learning Resource Meta-data Specification | 1EdTech](https://www.1edtech.org/standards/learning-resource-metadata)**
>
> Version 1.3 - Final Specification - HTML Meta-data Best Practice Guide for IEEE 1484.12.1-2002 Standard for Learning Object Metadata Guidelines for Using the IMS LRM v1.2.1 to IEEE LOM 1.0 Transform Schemas v1.3

> **[Learning object metadata](https://en.wikipedia.org/wiki/Learning_object_metadata)**
>
> Learning Object Metadata is a data model, usually encoded in XML, used to describe a learning object and similar digital resources used to support learning. The purpose of learning object metadata is to support the reusability of learning objects, to aid discoverability, and to facilitate their interoperability, usually in the context of online learning management systems (LMS).
> The IEEE 1484.12.1-2020 – Standard for Learning Object Metadata is the latest revision of an internationally recogn...

I will follow [http://cancore.tru.ca/en/](http://cancore.tru.ca/en/) and i will update later to the last versio of LOM.

The idea is to create a plugin just for metadata. Once is finish, if some user need to persoanlice the metadata, it will be easy because it will out of the pressbooks core installation.

I can make it just for me with the information i need or for Pressbooks and spend a litle more time creating all the fields.

It will be necesary to write the data of the metadata in 3 places

- Metadata for the full installation of PB
- Metadata of the book
- Metadata of the page

Example. Not to write just ISBN or [ISSN](https://pressbooks.community/t/issn-use-cases/47/5). To have a menu with all the codes we could need.

---

<div class="post-metadata">

**Author:** ![brad](https://pressbooks.community/user_avatar/pressbooks.community/brad/32/24_2.png) [@brad](https://pressbooks.community/u/brad)\
**Post date:** [December 7, 2016, 6:40pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/2 "2016-12-07T18:40:06Z")

</div>

I would like to open up a discussion on LRMI vs LOM. My assessment of the educational metadata world is that LRMI is a newer standard that is better supported and recognized. I would support an initiative for LRMI integration, but would need to be convinced of the future value of LOM. Here is some background information on LRMI:

1. [https://creativecommons.org/2013/05/05/lrmi-accepted-into-schema-org/](https://creativecommons.org/2013/05/05/lrmi-accepted-into-schema-org/)
2. [https://schema.org/EducationalAudience](https://schema.org/EducationalAudience)
3. [http://lrmi.dublincore.net/impact/for-educators-learners/](http://lrmi.dublincore.net/impact/for-educators-learners/)

Some basic injection of LRMI is built into PBT Open Textbook theme - [https://github.com/BCcampus/pressbooks-textbook/blob/dev/themes-book/opentextbook/functions.php#L66](https://github.com/BCcampus/pressbooks-textbook/blob/dev/themes-book/opentextbook/functions.php#L66)  
And Google recognizes the LRMI metadata [https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fopentextbc.ca%2Fgeography](https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fopentextbc.ca%2Fgeography)

It would be great to see this expanded/become more robust.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 7, 2016, 7:34pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/3 "2016-12-07T19:34:11Z")

</div>

I believe you are right, time ago since we did create our metadata and now I´m a litle lost.

That is the list of item from [LRMI](http://lrmi.dublincore.net/lrmi-schema/) ?

```
Classes
    AlignmentObject
    EducationalAudience
Properties
    alignmentType
    educationalAlignment
    educationalFramework
    educationalRole
    educationalUse
    interactivityType
    isBasedOnUrl
    learningResourceType
    targetDescription
    targetName
    targetUrl
    timeRequired
    typicalAgeRange
    useRightsUrl

```

Is not too litle? or we can make it better just with [schema.org](http://schema.org)

I do not really care, my problem is i would like to have as much metadata as possible (some of the metadata is automatic some by hand). I would like to have the possibility to create metadata for the site, for the book and for the page.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 7, 2016, 7:42pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/4 "2016-12-07T19:42:36Z")

</div>

> [@brad](#):
>
> It would be great to see this expanded/become more robust.

Any ideas about that?

during the last days, I was readyng how LOM works and i really like how complete is and wich vocabulary we could use and is pretty exhaustive.

How can we do something simmilar with LRMI?

_((If I´ not wrong, now I think I remember we did use LRMI in our theme))_

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 7, 2016, 8:18pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/5 "2016-12-07T20:18:47Z")

</div>

**Maybe we could find the LOM properties and find the Schema version of all of them and create our own version of LOM. Is that a good idea?**

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 9, 2016, 11:46am UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/6 "2016-12-09T11:46:18Z")

</div>

I´ going to start the creation of one plugin about the medatada for PB. It will be a first version and as open and general as possible. after that, we will see how we continue.

Maybe in the future we can integrate in the core the Metadata plugin and allow a easy system of modules for specifical educational situations.

Now, the plugin will have no options for each propertie, just an empty space where we could write the information. Like: typicalAgeRange will have an empty space where we have to write the years of the students. Like now is book info. But in the future, the plugin will create more options for the general properties, like languguage of the resource. Now, the user have to write the name of the language, as in the future it can be a Drop Down because no matter the educational purpose of the book, languages are langauges and all we need to choose the langauge of the book.

In the future we could create modules for diferent educational purposes. Mine will be about adults education, after the activation, instead of an empty space, the user will be able to choose between diferent ranges o ages.

other user, could modify the module and change the values. In one administrator panel the user with some modules installed, will be able to choose the educational purpose of the book activating one module or another. In the end the values of each propoertie will be different upon the activate module.

But I believe we need to create a new page for the metadata. Book info is not a place, because it can bee too complicate for the users. By default the people will write in book info, and if exist that propertie as a book info title, the users will not need to write it twice.

@ned, what do you think?

---

<div class="post-metadata">

**Author:** ![ned](https://pressbooks.community/user_avatar/pressbooks.community/ned/32/533_2.png) [@ned](https://pressbooks.community/u/ned)\
**Post date:** [December 12, 2016, 4:19pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/7 "2016-12-12T16:19:48Z")

</div>

I’m not clear as to why you would want to create another interface for metadata, particularly one that duplicates some (or all) of the functionality of the existing Book Information page rather than simply extending the Book Information page, but I’m probably missing something.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 12, 2016, 4:34pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/8 "2016-12-12T16:34:54Z")

</div>

Is not necesary to have two places, but maybe a normal customer (a writer of a normal book) do not need all the metadata the educational autors of books could use. If we create a new space for educational metadata, Book info will be much simple. Or we can create in the botom of Book info with a warming (Just for educational books, not necesary for a normal book), or something like that.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 12, 2016, 4:36pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/9 "2016-12-12T16:36:46Z")

</div>

> [@ned](#):
>
> one that duplicates some (or all) of the functionality of the existing Book

Each time one functionality is in Book info, if we need too in educational metadata, the computer will use the one in Book info, in order to avoid duplications. In educational metadata we will have just the data the users write in book info.

---

<div class="post-metadata">

**Author:** ![ned](https://pressbooks.community/user_avatar/pressbooks.community/ned/32/533_2.png) [@ned](https://pressbooks.community/u/ned)\
**Post date:** [December 12, 2016, 4:48pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/10 "2016-12-12T16:48:25Z")

</div>

That can be done by writing a plugin that just adds more fields to the Book Information page. See this example, which you can put in your `/wp-content/mu-plugins/` folder: [https://gist.github.com/greatislander/6428f1cb4e1a3fadeae7206872b1c038](https://gist.github.com/greatislander/6428f1cb4e1a3fadeae7206872b1c038)

---

<div class="post-metadata">

**Author:** ![ned](https://pressbooks.community/user_avatar/pressbooks.community/ned/32/533_2.png) [@ned](https://pressbooks.community/u/ned)\
**Post date:** [December 12, 2016, 4:53pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/11 "2016-12-12T16:53:50Z")

</div>

In terms of moving this forward, it would be helpful to:

1. Come to a consensus on whether LOM or LRMI is the better spec for this type of metadata.
2. Identify which LOM/LRMI metadata elements are already present in Book Information.
3. Itemize the LOM/LRMI metadata elements which need to be added.

@brad Is it be possible to change the way you’ve implemented LRMI in Pressbooks Textbook so that [this call](https://github.com/BCcampus/pressbooks-textbook/blob/ddb0c5927beda25d8b28139cf7c4e8c6bec27e40/themes-book/opentextbook/functions.php#L217) is applied to any theme, not just the Open Textbook theme? That way users of the Pressbooks Textbook plugin could get the LRMI output no matter which theme they use.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 12, 2016, 4:58pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/12 "2016-12-12T16:58:12Z")

</div>

> [@ned](#):
>
> Come to a consensus on whether LOM or LRMI is the better spec for this type of metadata.

LRMI have not too much fields. I´m starting to make the relashionshipt between LOM and SCHEMA. I would like to extend the fields of LRMI as much as LOM. I start today, I will show you something the next monday.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 12, 2016, 5:03pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/13 "2016-12-12T17:03:51Z")

</div>

> [@ned](#):
>
> Itemize the LOM/LRMI metadata elements which need to be added.

We don´ need all of them (about LOM but we need to extend LRMI). The problem I see is, that is too much focus in education, what about the writers of normal books. They will just not to use it?

Also I would like to extend the metadata of the Page too, not just in Book info. And I don´ know if a normal writer will have problems with that.

---

<div class="post-metadata">

**Author:** ![ned](https://pressbooks.community/user_avatar/pressbooks.community/ned/32/533_2.png) [@ned](https://pressbooks.community/u/ned)\
**Post date:** [December 12, 2016, 5:12pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/14 "2016-12-12T17:12:19Z")

</div>

> [@colomet](#):
>
> The problem I see is, that is too much focus in education, what about the writers of normal books. They will just not to use it?

As per my post above, you can implement this within a plugin that educational users can install which will add these fields to Pressbooks.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 12, 2016, 5:16pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/15 "2016-12-12T17:16:32Z")

</div>

> [@ned](#):
>
> As per my post above, you can implement this within a plugin that educational users can install which will add these fields to Pressbooks.

ok. Perfect. I think as a plugin will be much easy to extend.

I´m asking just in case.

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [December 13, 2016, 10:57am UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/16 "2016-12-13T10:57:53Z")

</div>

> [@ned](#):
>
> @brad Is it be possible to change the way you’ve implemented LRMI in Pressbooks Textbook so that this call is applied to any theme, not just the Open Textbook theme? That way users of the Pressbooks Textbook plugin could get the LRMI output no matter which theme they use.

If seo by yoast plugin do not need changes in the theme, maybe we can do something simmilar  
like [here](https://github.com/Yoast/wordpress-seo/blob/trunk/frontend/class-frontend.php#L655) and i think [here](https://github.com/Yoast/wordpress-seo/blob/trunk/frontend/class-frontend.php#L668)

---

<div class="post-metadata">

**Author:** ![colomet](https://pressbooks.community/user_avatar/pressbooks.community/colomet/32/22_2.png) [@colomet](https://pressbooks.community/u/colomet)\
**Post date:** [March 23, 2017, 12:09pm UTC](https://pressbooks.community/t/learning-object-metadata-lom-lrmi/48/17 "2017-03-23T12:09:01Z")

</div>

@hughmcguire the metadata now is by default :

 ![](https://pressbooks.community/uploads/default/original/1X/166cd4eef7e19be167579aff31a5ae4713a45d0e.png) 

As we spoke the last day, we are creating a plugin for extend the metadata. We use for education but we will do as neutral as posible, where if somebody do not use pressbooks for education, could use it anyway.

Now, by default, the  
audience = Student  
educationalUse = Open textbook study  
interactivityType = mixed  
learningResourceType = textbook

For me is perfect, but, we do not give fredom to other people to chose other options. I think is better to have such fields as the other data, in order to alow to choose other options. what do you think?
