Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2001

Add JSON-LD MIME type to islandora_mime_mapping

    Details

      Description

      There are use cases where JSON-LD is stored as datastreams in 7.x-1.x (for example, the Islandora Web Annotation module). When attempting to download JSON-LD datastreams through the manage datastreams interface, they are given the .bin extension instead of the proper .jsonld extension. By adding "jsonld" => "application/ld+json", to the array returned by `islandora_mime_mapping` function in /includes/mimetype.utils.inc, the proper extension is applied to the downloaded datastream.

        Attachments

          Activity

            People

            • Assignee:
              markj Mark Jordan
              Reporter:
              marcusbarnes Marcus Barnes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: