Non-core contributed modules

Book module is missng important data when exporting to IMS Content Package

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.9, 1.9.1
  • Fix Version/s: None
  • Component/s: Module: Book
  • Labels:
    None
  • Environment:
    n/a
  • Affected Branches:
    MOODLE_19_STABLE

Description

This may not be a bug, but I am not familiar enough with the IMS specifications to know.

The Book module has a feature whereby the book can be downloaded as an IMS content package. A .zip file with an imsmanifest.xml and some data – you know the deal.

Now, the part that is my concern is that the IMS CP version of the book – basically a series of HTML pages – does not have any embedded images! The image files are not in the .zip and the references to the images (i.e. <img> tags) are stripped from the HTML pages.

Is this a bug in the Book module?
OR
Does the IMS CP spec require (or not) that images be included in content packages? Optional?

I hope you, the excellent Moodle Community, understand what I am getting at.

Thank you!

Activity

Hide
Jeffrey Silverman added a comment -

Hi again! I've skimmed some of the IMS specifications and conclude that this really is more like a bug than a feature. In particular, this line from the IMS Content Package Best Practice and Implementation guide (http://www.imsglobal.org/content/packaging/cpv1p1p4/imscp_bestv1p1p4.html):

"A Package must be able to stand alone; that is, it must contain all the information needed to use the contents for learning when it has been unpacked."

Arguably, an HTML document that is missing key images is not a complete, standalone learning object.

I'll take a look to see if I can make any suggestions or provide any patches, but, unfortunately, it may be a little while before I have anything concrete.

Thanks and have a nice day. Or night.

Show
Jeffrey Silverman added a comment - Hi again! I've skimmed some of the IMS specifications and conclude that this really is more like a bug than a feature. In particular, this line from the IMS Content Package Best Practice and Implementation guide (http://www.imsglobal.org/content/packaging/cpv1p1p4/imscp_bestv1p1p4.html): "A Package must be able to stand alone; that is, it must contain all the information needed to use the contents for learning when it has been unpacked." Arguably, an HTML document that is missing key images is not a complete, standalone learning object. I'll take a look to see if I can make any suggestions or provide any patches, but, unfortunately, it may be a little while before I have anything concrete. Thanks and have a nice day. Or night.
Hide
Jeffrey Silverman added a comment -

And one last thing: Why was I not able to select "1.9.2" as a moodle version in JIRA? That is a valid Moodle release, is it not?

Thanks! Later...

Show
Jeffrey Silverman added a comment - And one last thing: Why was I not able to select "1.9.2" as a moodle version in JIRA? That is a valid Moodle release, is it not? Thanks! Later...
Hide
Petr Škoda (skodak) added a comment -

Hello,
the imscp export includes the files from the same course fine for me. Usually the problem is that the files are linked from the site course or another course or moddata directory.

Can not reproduce, sorry.

Show
Petr Škoda (skodak) added a comment - Hello, the imscp export includes the files from the same course fine for me. Usually the problem is that the files are linked from the site course or another course or moddata directory. Can not reproduce, sorry.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: