Embed OHMS viewer
The Oral History Metadata Synchronizer (OHMS) is an open-source tool for listening to and interacting with oral histories. OHMS was used for the Louie B. Nunn Center for Oral History projects at the University of Kentucky Libraries.
The OHMS viewer requires a web server running PHP. This means that it cannot be natively integrated into your CONTENTdm (classic version) website because it uses ReactJS. However, if you have OHMS running on another web server, you can embed the OHMS viewer component directly into your CONTENTdm (classic version) website. This process is analogous to the other embedded recipes for CONTENTdm (classic version). For example, embedding external YouTube or Vimeo videos.
This recipe is structured to work with the CONTENTdm (classic version) URL Item type, assuming that you have loaded the direct link to a particular OHMS record as a URL Item in CONTENTdm (classic version). This is an example of the syntax of an OHMS URL:
https://www.myviewerexamplesite.edu/v...me_of_file.xml
In the background, this recipe looks for CONTENTdm (classic version) URL Items that contain the “cachefile=” parameter and will insert the full OHMS viewer into the page when that pattern is found. This means that your OHMS items can be placed into CONTENTdm (classic version) collections that contain other kinds of URL items or any other types of CONTENTdm (classic version) records.
To install the recipe, download the JavaScript file from the Cookbook Recipe Portal and upload it as a custom script in the website configuration tool. As with all JavaScript-based customizations in the Cookbook, you can create custom JavaScript functions that affect specific collections or integrate with other recipes.
