Omeka Subject Heading Extractor is a node.js application for retrieving all the subject headings from an Omeka website.
This application uses the Omeka API to get all the subject headings from every item, which is then searched through and then all duplicates are discarded.
Go to the GitHub Page and click the green Code button, then navigate to the Download ZIP button. This will download the application in a compressed folder. Simply right-click this folder and select Extract All.
If you have Git you may use Git Bash to clone the repository.
Simply run:
git clone https://github.com/yakowa/Omeka-Title-Desc-ExtractorNote: Please see the Dependecies before reading the following!
Simply run the RUN.bat script (right-click, then Open), this will open your terminal executing the script on Node.JS.
Alternatively, you can simply run
node OSHE.jsYou will be prompted to input your Omeka site's items API URL. Example: https://example.com/api/items/
Then the program will prompt you for a search query. Example: Toast
The program will then return non duplicated values related* to your query.
*If an item had the query you are searching for, it would count other subjects found on that particular item to be 'related' and therefore shown to the user.
- You must have Node.JS installed on your computer for this application to run.
Once Node.JS is installed please run the INSTALL.bat script (right-click, then Open), this will open your terminal and install the dependencies. Once done you may close your terminal.
Alternatively, you can simply run
npm install