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

Allow modules to alter metadata XML in OAI-PMH responses

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 7.x-1.11
    • Component/s: OAI Provider
    • Labels:
      None

      Description

      We've had a couple of use cases related to altering the outgoing XML in OAI-PMH requests ([this issue|https://jira.duraspace.org/browse/ISLANDORA-2007] and [this group discussion|https://groups.google.com/d/msg/islandora/sP3D7fA9Pb8/4EcH1x4VAwAJ]).

      [~jordandukart] [pointed out|https://github.com/mjordan/islandora_oai_download_link/issues/5#issuecomment-317670824] that the Islandora OAI module doesn't provide a way to alter the outgoing XML. While the module allows admins to apply XSLT transforms to the outgoing XML, the transformations are always applied. Given that some consumers of OAI-PMH records will have specific requirements (the download link use case mentioned above), and some Islandora sites may have reason to remove elements from the outgoing XML (the group discussion mentioned above), we should define a drupal_alter() hook so third-party modules can have complete control over the outgoing XML.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              markj Mark Jordan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: